Closed anastaga closed 2 years ago
The is happens because Melodic works with Python2 and Noetic with Python3, so, you need to port de code to Python2 or, create a package or workspace in Melodic where you can run Python3 nodes.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: anastaga @.> Sent: Tuesday, July 5, 2022 3:49:31 AM To: RAFALAMAO/hector-quadrotor-noetic @.> Cc: Subscribed @.***> Subject: [RAFALAMAO/hector-quadrotor-noetic] Can hector_ui work for Ros Melodic (Ubuntu 18.04) (Issue #6)
Hello and thanks for your work in this repository. I was wondering if hector_ui to control the drone can work on Ros Melodic, tried it but i got some errors.
— Reply to this email directly, view it on GitHubhttps://github.com/RAFALAMAO/hector-quadrotor-noetic/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUWWHMJYMK3KPW3ESBA7KT3VSPZJXANCNFSM52VNKHMQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello and thanks for your work in this repository. I was wondering if hector_ui to control the drone can work on Ros Melodic, tried it but i got some errors. 1) tkinter wasn't installed. I did install it but then 2) I got this error Traceback (most recent call last): File "/home/anast/catkin_ws/src/hector_ui/src/ui_hector_quad.py", line 10, in
import rospy
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/init.py", line 49, in
from .client import spin, myargv, init_node, \
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/client.py", line 52, in
import roslib
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/init.py", line 50, in
from roslib.launcher import load_manifest # noqa: F401
File "/opt/ros/melodic/lib/python2.7/dist-packages/roslib/launcher.py", line 42, in
import rospkg
ModuleNotFoundError: No module named 'rospkg'