ros-visualization / rqt

62 stars 70 forks source link

rqt: command not found. #252

Open mzdz opened 3 years ago

mzdz commented 3 years ago

os version: macOS Big Sur (11.04)

I follow this guide: https://docs.ros.org/en/galactic/Installation/macOS-Development-Setup.html

example: ros2 run demo_nodes_cpp talker ros2 run demo_nodes_py listener ros2 run turtlesim turtlesim_node ros2 run turtlesim turtle_teleop_key all examples are work, but run rqt return: zsh: command not found: rqt

my .zshrc file:

...

source $ZSH/oh-my-zsh.sh
source ~/ros2_galactic/install/setup.sh

export ROS_DOMAIN_ID=100
export OPENSSL_ROOT_DIR=$(brew --prefix openssl)
export PATH="/usr/local/sbin:$PATH"
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/local/opt/qt@5
export PATH=$PATH:/usr/local/opt/qt@5/bin
export ROS_PYTHON_VERSION=3.9

...

rqt need to be compiled separately? or how to solve this question? thanks!

iormaoro commented 3 years ago

Same problem here. I can't find a way to install rqt separately.

clalancette commented 3 years ago

You'll notice that the installation instructions specifically have:

colcon build --symlink-install --packages-skip-by-dep python_qt_binding

And a note:

Note: due to an unresolved issue with SIP, Qt@5, and PyQt5, we need to disable python_qt_binding to have the build succeed. This will be removed when the issue is resolved, see: https://github.com/ros-visualization/python_qt_binding/issues/103

The end result of that is that no rqt packages are currently compiled on macOS. Since macOS isn't officially supported in Galactic, the ROS 2 core team won't spend any time on this in the near future. That said, if you'd like to contribute to https://github.com/ros-visualization/python_qt_binding/issues/103 or the larger tracking issue at https://github.com/ros2/ros2/issues/1148, we are happy to review contributions.

iormaoro commented 3 years ago

Thanks for that @clalancette . I went and procede with what's suggested in this comment. I removed qt_gui_cpp and rqt_gui_cpp in ros-visualization and it went through, I'm now able to play with rqt and procede with the tutorials... it will come back at some point though probably, I will have an eye on the thread. Not able to contribute right now due to lack of knowledge but hopefully in a short future.