xqms / rosmon

ROS node launcher & monitoring daemon
Other
180 stars 47 forks source link

Build in Ubuntu 22.04/24.04 #173

Open lucasw opened 1 year ago

lucasw commented 1 year ago

I saw https://robotics.stackexchange.com/a/24326/884 and thought to try rosmon out, but first I need it to build in 22.04 (using https://github.com/lucasw/ros_from_src/tree/robot_state_publisher/ubuntu_2204).

I'm not sure about the deprecated qt backgroundcolorrole change, the change was suggested by https://doc-snapshots.qt.io/qt5-5.15/qt.html

I haven't been able to test this yet because of an issue with devel/etc/catkin/profile.d/50-rosmon.bash, source devel/setup.bash gets locked up.

https://github.com/xqms/rosfmt/pull/6 is needed along with this.

lucasw commented 1 year ago

I deleted the 50-rosmon.bash and was able to get rosmon working with rosrun:

rosrun rosmon rosmon rqt_tf_echo demo_rqt_tf_echo.launch

Another test involving nodelets doesn't work:

rosrun rosmon rosmon image_manip convert.launch

terminate called after throwing an instance of 'std::runtime_error'
  what():  Could not find node 'nodelet' in package 'nodelet'
Aborted (core dumped)

https://github.com/lucasw/image_manip/blob/master/image_manip/launch/convert.launch

(can retry with more basic nodelet example)

xqms commented 1 year ago

Regarding the nodelet issue: Can you try rosrun nodelet nodelet? Does that work in your environment?