CCOMJHC / camp

Planning software for autonomous surface and underwater vehicles.
BSD 2-Clause "Simplified" License
3 stars 4 forks source link

Introspection for camp node gives error. #3

Closed bsb808 closed 3 years ago

bsb808 commented 3 years ago

I am trying to understand the various interfaces involved in the example...

roslaunch project11_simulation sim_local.launch

When I run the example, I can successfully use the rosnode command to examine most nodes, e.g.,

@a873a0f23cc1:~$ rosnode info /operator/remote_manager 
--------------------------------------------------------------------------------
Node [/operator/remote_manager]
Publications: 
 * /ben/piloting_mode/manual/helm [marine_msgs/Helm]
 * /ben/project11/command [std_msgs/String]
 * /operator/project11/response [std_msgs/String]
 * /rosout [rosgraph_msgs/Log]

Subscriptions: 
 * /ben/project11/response [std_msgs/String]
 * /clock [rosgraph_msgs/Clock]
 * /operator/piloting_mode/manual/helm [unknown type]
 * /operator/project11/command [unknown type]

Services: 
 * /operator/remote_manager/get_loggers
 * /operator/remote_manager/set_logger_level

contacting node http://a873a0f23cc1:34293/ ...
Pid: 192
Connections:
 * topic: /rosout
    * to: /rosout
    * direction: outbound (44403 - 172.17.0.2:35810) [12]
    * transport: TCPROS
 * topic: /ben/piloting_mode/manual/helm
    * to: /ben/helm_manager
    * direction: outbound (44403 - 172.17.0.2:35864) [10]
    * transport: TCPROS

But, when I try to do the same for the camp node, I get an error...

bsb@a873a0f23cc1:~$ rosnode info /operator/camp 
--------------------------------------------------------------------------------
Node [/operator/camp]
Publications: 
 * /rosout [rosgraph_msgs/Log]

Subscriptions: 
 * /clock [rosgraph_msgs/Clock]

Services: 
 * /operator/camp/get_loggers
 * /operator/camp/set_logger_level

contacting node http://a873a0f23cc1:37493/ ...
ERROR: Communication with node[http://a873a0f23cc1:37493/] failed!
bsb808 commented 3 years ago

I restarted everything a few times and the issue went away. When/if I can reliably reproduce the issue, will re-open.

bsb808 commented 3 years ago

I restarted everything a few times and the issue went away. When/if I can reliably reproduce the issue, will re-open.