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

rqt: command not found. #252

Open
mzdz opened this issue Jun 14, 2021 · 3 comments
Open

rqt: command not found. #252

mzdz opened this issue Jun 14, 2021 · 3 comments

Comments

@mzdz
Copy link

mzdz commented Jun 14, 2021

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
Copy link

iormaoro commented Jul 9, 2021

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

@clalancette
Copy link

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 ros-visualization/python_qt_binding#103 or the larger tracking issue at ros2/ros2#1148, we are happy to review contributions.

@iormaoro
Copy link

iormaoro commented Jul 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants