Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load SkiROS2 GUI from ROS 2 launch file #89

Open
matthias-mayr opened this issue Feb 16, 2024 · 0 comments
Open

Load SkiROS2 GUI from ROS 2 launch file #89

matthias-mayr opened this issue Feb 16, 2024 · 0 comments
Labels
bug help wanted ROS 2 Issue affects ROS 2

Comments

@matthias-mayr
Copy link
Member

In eb2195f I disabled to load the GUI directly with arguments from the launch file with this block:

gui = Node(package='rqt_gui',
executable='rqt_gui',
# arguments=["-s skiros2_gui.gui.Skiros"], # does not find the plugin. Not sure why - it appears in the list and can be selected with "ros2 run"
output='screen')

For some reason it does not find it and then rqt does not startup at all.

Things that I checked:

  • the plugin appears in the rqt list of plugins
  • other plugins can not be loaded with "-s " as well
  • the generated node string works in the terminal directly:
    /opt/ros/humble/lib/rqt_gui/rqt_gui -s skiros2_gui.gui.Skiros --ros-args

For now this just does not load the GUI directly. Once rqt is up, one can select it from the menu. When rqt is started again, it would also automatically show the SkiROS2 GUI again.

Unfortunately I could not find a launch file example on the internet that directly loads an rqt plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted ROS 2 Issue affects ROS 2
Projects
None yet
Development

No branches or pull requests

1 participant