DonkeyWin4.3:DonkeyCarソフトウェアの起動

DonkeyCarのコントーラはpython manage.py driveコマンドで起動します。次のセルを実行します。これまでのセルとは違い、実行を手動で停止させるまで完了することはありません。
[WinError 2] 系统找不到指定的文件。: ‘mycar’
C:\Users\chen4\workspace\mycar
using donkey v3.1.2 …C:\Users\chen4\workspace\vdonkey\lib\site-packages\gym\logger.py:30: 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\config.py
myconfig myconfig.py
loading personal config over-rides from myconfig.py
config loaded
cfg.CAMERA_TYPE PICAM
starting DonkeyGym env
connecting to 127.0.0.1 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\vehicle.py”, line 151, in start
self.update_parts()
File “c:\users\chen4\workspace\donkeycar\donkeycar\vehicle.py”, line 197, in update_parts
outputs = p.run_threaded(*inputs)
File “c:\users\chen4\workspace\donkeycar\donkeycar\parts\web_controller\web.py”, 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\websocket.py”, line 342, in write_message
return self.ws_connection.write_message(message, binary=binary)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\websocket.py”, line 1098, in write_message
fut = self._write_frame(True, opcode, message, flags=flags)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\websocket.py”, line 1075, in _write_frame
return self.stream.write(frame)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\iostream.py”, line 559, in write
self._handle_write()
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\iostream.py”, line 991, in _handle_write
self._write_buffer.advance(num_bytes)
File “C:\Users\chen4\workspace\vdonkey\lib\site-packages\tornado\iostream.py”, line 202, in advance
assert 0 < size <= self._size
AssertionError

Leave a Reply

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