Robotics StackExchange | Archived questions

ROS2 Debug a managed node

Hello, I' m currently working on a managed node and it build fine but when I run it I get an error :

[INFO] [launch]: All log files can be found below /root/.ros/log/2021-02-12-14-55-37-151773-HPZ1-1714 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [ouster_driver-1]: process started with pid [1757] [ouster_driver-1] [INFO] [1613141737.458355378] [ouster_driver]: Configuring Ouster driver node. [ouster_driver-1] [INFO] [1613141737.458769185] [ouster_driver]: Connecting to sensor at 192.168.3.200. [ouster_driver-1] [INFO] [1613141737.458833653] [ouster_driver]: Sending data from sensor to 192.168.3.100. [ouster_driver-1] [ERROR] [1613141737.463328676] []: Caught exception in callback for transition 10 [ouster_driver-1] [ERROR] [1613141737.463408536] []: Original error: std::bad_alloc [ERROR] [launch_ros.actions.lifecycle_node]: Failed to make transition 'TRANSITION_CONFIGURE' for LifecycleNode '/ouster_driver' [ouster_driver-1] [WARN] [1613141737.463495119] []: Error occurred while doing error handling. [ouster_driver-1] [ERROR] [1613141737.463549619] [ouster_driver]: Handing error in Ouster driver node. ^[[B^[[B^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) [INFO] [launch.user]: [LifecycleLaunch] Ouster driver node is exiting. [INFO] [ouster_driver-1]: process has finished cleanly [pid 1757] [ouster_driver-1] [INFO] [1613141943.103568708] [rclcpp]: signal_handler(signal_value=2)

As you can see here it gives me the error but no other information. What are the tools you use to debug a managed node ?

Thanks !

Asked by Mackou on 2021-02-12 10:02:21 UTC

Comments

Answers