duckietown / duckietown-shell

Other
3 stars 4 forks source link

Transferring a Submission to Real Duckietown #41

Open 0x366 opened 5 years ago

0x366 commented 5 years ago

Hi I did all the calibrations and now I'm following: https://docs.duckietown.org/DT18/AIDO/out/embodied_transfer_sim_to_real.html.

I'm running: dts duckiebot evaluate duckiebot --image heyt0ny/aido1_lf1_r3-v3-submission:2018_12_01_15_47_46 and get the following:

INFO:dts:duckietown-shell 3.0.31

dts :  Problems with a command?
    :  
    :  Report here: https://github.com/duckietown/duckietown-shell-commands/issues
    :  
    :  Troubleshooting:
    :  
    :  - If some commands update fail, delete ~/.dt-shell/commands
    :  
    :  - To reset the shell to "factory settings", delete ~/.dt-shell
    :  
    :    (Note: you will have to re-configure.)
Duckietown Shell commands version 1.1.1
INFO:dts:slim remote already running on duckiebot, restarting...
WARNING:dts:Container <Container: ba7bc74958> not found to remove! 409 Client Error: Conflict ("removal of container ba7bc74958a34612231496a05730b799be1447b02afa651dabb97d66128109b4 is already in progress")
INFO:dts:Getting calibration files
default.yaml                                                                                                                                                                     100%  265    62.2KB/s   00:00    
duckiebot.yaml                                                                                                                                                                   100%  268    94.2KB/s   00:00    
default.yaml                                                                                                                                                                     100%  668   182.7KB/s   00:00    
duckiebot.yaml                                                                                                                                                                   100%  665   211.7KB/s   00:00    
default.yaml                                                                                                                                                                     100%   68    22.2KB/s   00:00    
duckiebot.yaml                                                                                                                                                                   100%  123    39.4KB/s   00:00    
INFO:dts:/tmp/fake-tony-home/config/calibrations/camera_instrisic/duckiebot.yaml
DEBUG:dts:Checking docker environment for user tony
INFO:dts:Starting bag recording...
INFO:dts:Running heyt0ny/aido1_lf1_r3-v3-submission:2018_12_01_15_47_46 on localhost
INFO:dts:Running duckietown/rpi-ros-kinetic-roscore:master18 with environment: {'DUCKIEBOT_NAME': 'duckiebot', 'DUCKIETOWN_SERVER': '10.42.0.83', 'ROS_MASTER': 'duckiebot', 'DUCKIEBOT_IP': '10.42.0.83', 'QT_X11_NO_MITSHM': 1}
DEBUG:dts:Checking docker environment for user tony
INFO:dts:no local image running already
INFO:dts:Running heyt0ny/aido1_lf1_r3-v3-submission:2018_12_01_15_47_46 on localhost with environment vars: {'username': 'root', 'DUCKIEBOT_IP': '10.42.0.83', 'uid': 0, 'ROS_MASTER': 'duckiebot', 'QT_X11_NO_MITSHM': 1, 'challenge_name': 'aido1_LF1_r3-v3', 'DUCKIEBOT_NAME': 'duckiebot', 'DUCKIETOWN_SERVER': '10.42.0.83', 'VEHICLE_NAME': 'duckiebot', 'challenge_step_name': 'step1-simulation'}
DEBUG:dts:Checking docker environment for user tony
DEBUG:dts:Monitoring container local_submission
INFO:dts:Letting heyt0ny/aido1_lf1_r3-v3-submission:2018_12_01_15_47_46 run for 120 s...
INFO:dts:Cannot get container local_submission: 404 Client Error: Not Found ("No such container: local_submission")
DEBUG:dts:monitoring graceful exit
WARNING:dts:Container <Container: 5c1c89a3b4> not found to stop! 404 Client Error: Not Found ("No such container: 5c1c89a3b4867d4221be44a1fd3e6d30f33ca03c95813908da47e84f6e4ca8c8")
WARNING:dts:Container <Container: a3e5905349> not found to stop! 404 Client Error: Not Found ("No such container: a3e59053491ef75c3b29700b60dbdd1b59f5a1b83594ca850a0c320313e62cb8")

What can I do about that? )

liampaull commented 5 years ago

I think the most likely case here is that your submission is crashing for some reason. To debug you will want to run it outside of the shell - the basic instructions are here, but they are not in particularly nice shape - I will try to clean things up soon.

0x366 commented 5 years ago

Liam, thank you.

I've tried your instruction on multiple submissions and I get infinite output on all of them:

INFO:gym-duckietown-agent:gym-duckietown-agent 2018.10.1
INFO:duckietown-challenges:duckietown-challenges 3.2.15
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
Starting submission
INFO:duckietown-challenges:solution:Parameters: OrderedDict([('env', 'Duckietown-Lf-Lfv-Navv-Silent-v1')])
INFO:duckietown-challenges:solution:Starting.
INFO:duckietown-challenges:solution:Creating model.
INFO:duckietown-challenges:solution:Making environment
INFO:duckietown-slimremote:duckietown-slimremote 2018.11.2
INFO:duckietown-slimremote:Slimremote trying to connect to "duckiebot.local"
INFO:duckietown-slimremote:'ping' reports host is NOT reachable
(u'starting sub socket on', 8902)
listening to topic '0'
cam ready
INFO:duckietown-challenges:solution:Reset environment
INFO:duckietown-slimremote:Simulator not ready - wait 1 second and try again
INFO:duckietown-slimremote:Simulator not ready - wait 1 second and try again
INFO:duckietown-slimremote:Simulator not ready - wait 1 second and try again
liampaull commented 5 years ago

Hi Tony, I was getting an error similar to this today but I wasn't able to quite figure it out. I might not be able to look into it for a few days.