(env) pi@donkeypi:~/mycar$ python3 manage.py drive --model models/mypilot_edgetpu.tflite --type=coral_tflite_linear
using donkey v3.1.0 ...
loading config file: /home/pi/mycar/config.py
loading personal config over-rides
config loaded
cfg.CAMERA_TYPE PICAM
cfg.CAMERA_TYPE PICAM
PiCamera loaded.. .warming camera
Adding part PiCamera.
Starting Donkey Server...
Adding part LocalWebController.
Adding part ThrottleFilter.
Adding part PilotCondition.
Adding part RecordTracker.
WARNING:tensorflow:From /home/pi/donkeycar/donkeycar/parts/keras.py:18: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
WARNING:tensorflow:From /home/pi/donkeycar/donkeycar/parts/keras.py:18: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
"get_model_by_type" model Type is: coral_tflite_linear
loading model models/mypilot_edgetpu.tflite
INFO: Initialized TensorFlow Lite runtime.
finished loading in 2.86547589302063 sec.
Adding part FileWatcher.
Adding part FileWatcher.
Adding part DelayedTrigger.
Adding part TriggeredCallback.
Adding part CoralLinearPilot.
Adding part DriveMode.
Adding part AiLaunch.
Adding part AiRunCondition.
Init ESC
Adding part PWMSteering.
Adding part PWMThrottle.
Tub does NOT exist. Creating new tub...
New tub created at: /home/pi/mycar/data/tub_35_19-09-23
Adding part TubWriter.
You can now go to <your pi ip address>:8887 to drive your car.
Starting vehicle...
8887
/usr/lib/python3/dist-packages/picamera/encoders.py:544: PiCameraResolutionRounded: frame size rounded up from 160x120 to 160x128
width, height, fwidth, fheight)))
^CShutting down vehicle and its parts...
Stopping PiCamera
Part Profile Summary: (times in ms)
+--------------------+-------+-------+-------+--------+
| part | max | min | avg | median |
+--------------------+-------+-------+-------+--------+
| PiCamera | 0.51 | 0.02 | 0.04 | 0.04 |
| LocalWebController | 1.13 | 0.02 | 0.05 | 0.04 |
| ThrottleFilter | 1.07 | 0.01 | 0.02 | 0.01 |
| PilotCondition | 0.51 | 0.01 | 0.01 | 0.01 |
| RecordTracker | 1.39 | 0.01 | 0.03 | 0.02 |
| FileWatcher | 8.35 | 0.04 | 0.09 | 0.06 |
| FileWatcher | 4.09 | 0.02 | 0.04 | 0.02 |
| DelayedTrigger | 1.23 | 0.01 | 0.01 | 0.01 |
| TriggeredCallback | 0.78 | 0.01 | 0.01 | 0.01 |
| CoralLinearPilot | 43.62 | 11.86 | 15.15 | 12.82 |
| DriveMode | 1.66 | 0.01 | 0.11 | 0.10 |
| AiLaunch | 0.74 | 0.01 | 0.02 | 0.02 |
| AiRunCondition | 0.75 | 0.01 | 0.01 | 0.01 |
| PWMSteering | 11.78 | 1.39 | 1.92 | 1.56 |
| PWMThrottle | 13.22 | 1.34 | 1.78 | 1.42 |
| TubWriter | 99.20 | 1.63 | 2.81 | 1.87 |
+--------------------+-------+-------+-------+--------+
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme