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

pyqt based rqt app stuck in jetson based ros2. #6

Open
ZhenshengLee opened this issue Jan 25, 2022 · 2 comments
Open

pyqt based rqt app stuck in jetson based ros2. #6

ZhenshengLee opened this issue Jan 25, 2022 · 2 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@ZhenshengLee
Copy link
Owner

ZhenshengLee commented Jan 25, 2022

jetpack: 4.5.1
ros: galactic
other ros: melodic and dashing

@ZhenshengLee ZhenshengLee self-assigned this Jan 25, 2022
@ZhenshengLee ZhenshengLee added the bug Something isn't working label Jan 25, 2022
@ZhenshengLee
Copy link
Owner Author

pyqt version confliction.

according to this wiki , pyqt5.14 should be installed.
https://github.com/MiRoboticsLab/cyberdog_ros2/wiki/%E4%BB%8E%E6%BA%90%E7%A0%81%E5%AE%89%E8%A3%85ROS-2-%7C-Building-ROS-2-from-source#2%E6%9B%B4%E6%96%B0ubuntu%E6%BA%90

python3 -m pip install sip
python3 -m pip install PyQt5==5.14.0   (必须5.14版本)
python3 -m pip install PyQt5-sip

# For Ubuntu 18.04
sudo mkdir /usr/share/sip
sudo ln -s ~/.local/lib/python3.6/site-packages/PyQt5 /usr/share/sip/. 
sudo ln -s ~/.local/lib/python3.6/site-packages/PyQt5/bindings/* /usr/share/sip/PyQt5/.

# For Ubuntu 20.04
sudo mkdir /usr/share/sip
sudo ln -s ~/.local/lib/python3.8/site-packages/PyQt5 /usr/share/sip/. 
sudo ln -s ~/.local/lib/python3.8/site-packages/PyQt5/bindings/* /usr/share/sip/PyQt5/.

but when ros-melodic and ros-dashing was installed, pyqt5.10.1 was installed

nvidia@nvidia-desktop:~/zs_ws/Downloads/ros2_jetson$ dpkg -l | grep -E -i python3-pyqt
ii  python3-pyqt5                                      5.10.1+dfsg-1ubuntu2                       arm64        Python 3 bindings for Qt5

@ZhenshengLee ZhenshengLee added the help wanted Extra attention is needed label Jan 26, 2022
@ZhenshengLee ZhenshengLee changed the title rqt_graph stuck. pyqt based rqt app stuck in jetson based ros2-galactic. Jan 26, 2022
@ZhenshengLee ZhenshengLee changed the title pyqt based rqt app stuck in jetson based ros2-galactic. pyqt based rqt app stuck in jetson based ros2. Jan 26, 2022
@ZhenshengLee ZhenshengLee pinned this issue Jan 26, 2022
@ZhenshengLee ZhenshengLee added this to the PR3 milestone Mar 23, 2022
@ZhenshengLee
Copy link
Owner Author

try to change the branch of source code of rqt from galactic to dashing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant