osrf / srcsim

Space Robotics Challenge
Other
9 stars 4 forks source link

CloudSim - No srcsim topics and start task service failing #232

Closed osrf-migration closed 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Steven Gray (Bitbucket: stgray).


I'm on World 2 on CloudSim and cannot get the task to start. I've SSHed into the FC, attached to the docker instance with docker exec -it team_container bash and get this:

root@5903d361a5fe:/home/docker/ws# rosservice call /srcsim/finals/start_task 1 1                          
No handlers could be found for logger "rosout"
success: False

Any suggestions?

I'm not actually seeing anything on the srcsim topics at all -- nothing publishing to /srcsim/finals/ + score, task, or harness.

The world is loaded and I can have Valkyrie walk just fine. Not testing with comms restrictions right now.

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


Stopped both sim and fc docker instances using the web UI. Restarted the sim instance in World 3 this time. Still not getting the topics.

osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


@iche033 , @scpeters Is this the rosout problem that you were seeing?

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


I can get all other topics just fine while SSH'ed into the FC. It's just the /srcsim/... ones that don't seem to be published, though they are advertised. MS lidar, camera, TF, clock, etc are all fine. I'm wondering if the srcsim plugin isn't running... Though I do see this, which leads me to believe it's still loaded at least:

root@2ad545fe0207:/home/docker/ws# rostopic info srcsim/finals/task  
No handlers could be found for logger "rosout"
Type: srcsim/Task

Publishers: 
 * /gazebo (http://192.168.2.1:34987/)

Subscribers: 
 * /gazebo (http://192.168.2.1:34987/)
 * /competition_stats (http://192.168.2.10:39573/)
osrf-migration commented 7 years ago

Original comment by GoRobotGo (Bitbucket: GoRobotGo).


My output is slightly different, but still no data on the srcsim topic:

#!c++

rostopic info /srcsim/finals/task
Type: srcsim/Task

Publishers: 
 * /gazebo (http://192.168.2.1:41554/)

Subscribers: 
 * /gazebo (http://192.168.2.1:41554/)
 * /field_comms_to_ocu (http://192.168.2.10:45644/)

root@7530236ff6a9:/home/docker/ws# rostopic echo /srcsim/finals/task
[WARN] [WallTime: 1496892396.439176] Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.
WARNING: no messages received and simulated time is active.
Is /clock being published?
osrf-migration commented 7 years ago

Original comment by GoRobotGo (Bitbucket: GoRobotGo).


My issue might be caused by version differences between the field and the sim. The sim computer is at 0.5 and the OCU is at 0.6. I believe that message changed.

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


I just restarted the CloudSim with a new constellation; still broken. First thing I did was rosservice call /srcsim/finals/start_task 1 1 -- and that first time it succeeded. Then I walked out of the start box, and was not getting any of the /srcsim/... topics. Oddly enough, I was getting messages on /task1/checkpoint2/satellite after standing in front of the valves, so something there is working.

A subsequent call to /srcsim/finals/start_task 2 1 returned success, but instead of reharnessing, Valkyrie seems to have exploded, ending up face-down on the ground.

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


@iche033 Whaaaaat, is the sim computer is still at 0.5? Then those topics I'm complaining about missing aren't present. Will the sim computer be updated to 0.6 for the dry run?

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


Thank you @GoRobotGo! You're right, it's still 0.5; I didn't consider that possibility when posting this issue.

Question remains: will the CloudSim be updated to 0.6 for tomorrow?

osrf-migration commented 7 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


srcsim 0.7.0 is being built right now. I'm waiting for it to finish and integrate that into cloudsim for the dry run

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).


Thanks! That answers that.

osrf-migration commented 7 years ago

Original comment by Steven Gray (Bitbucket: stgray).