DonkeyCarのコントーラはpython driveコマンドで起動します。次のセルを実行します。これまでのセルとは違い、実行を手動で停止させるまで完了することはありません。
[WinError 2] 系统找不到指定的文件。: ‘mycar’
using donkey v3.1.2 …C:\Users\chen4\workspace\vdonkey\lib\site-packages\gym\ UserWarning: WARN: Box bound precision lowered by casting to float32
warnings.warn(colorize(‘%s: %s’%(‘WARN’, msg % args), ‘yellow’))
waiting for sim to start..
INFO:gym_donkeycar.envs.donkey_sim:crossed start line: lap_time 0
INFO:gym_donkeycar.envs.donkey_sim:crossed start line: lap_time 0
INFO:gym_donkeycar.envs.donkey_sim:crossed start line: lap_time 169060
loading config file: C:\Users\chen4\workspace\mycar\
loading personal config over-rides from
config loaded
starting DonkeyGym env
connecting to 9091
loading scene 4 mountain_track
Adding part DonkeyGymEnv.
Starting Donkey Server…… you can now go to Hong-ezbook3p01.local:8887 to drive your car.
Adding part LocalWebController.
Adding part ThrottleFilter.
Adding part PilotCondition.
Adding part RecordTracker.
Adding part ImgPreProcess.
Adding part DriveMode.
Adding part AiLaunch.
Adding part AiRunCondition.
Tub does NOT exist. Creating new tub…
New tub created at: C:\Users\chen4\workspace\mycar\data\tub_6_20-06-20
Adding part TubWriter.
You can now go to http://localhost:8887 to drive your car.
Starting vehicle at 20 Hz
recorded 10 records
recorded 20 records
recorded 30 records
recorded 2600 records
recorded 2610 records
recorded 2620 records
recorded 2630 records
INFO:gym_donkeycar.envs.donkey_sim:crossed start line: lap_time 48120
Traceback (most recent call last):
File “c:\users\chen4\workspace\donkeycar\donkeycar\”, line 151, in start
File “c:\users\chen4\workspace\donkeycar\donkeycar\”, line 197, in update_parts
outputs = p.run_threaded(*inputs)
File “c:\users\chen4\workspace\donkeycar\donkeycar\parts\web_controller\”, line 151, in run_threaded
wsclient.write_message(json.dumps({‘num_records’: self.num_records}))
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 342, in write_message
return self.ws_connection.write_message(message, binary=binary)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 1098, in write_message
fut = self._write_frame(True, opcode, message, flags=flags)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 1075, in _write_frame
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 559, in write
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 991, in _handle_write
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\”, line 202, in advance
assert 0 < size <= self._size

Leave a Reply

Your email address will not be published. Required fields are marked *