tf2 for ROS melodic
I would like to install tf2
for python3
environment in ROS-melodic but the github seems to only have it for neotic
. Is there a tf2
out there for ROS-melodic?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I would like to install tf2
for python3
environment in ROS-melodic but the github seems to only have it for neotic
. Is there a tf2
out there for ROS-melodic?
@abhishek47 I get this:
Traceback (most recent call last):
File "/home/philip/server_prac/src/action_practice/src/map_zone_update.py", line 19, in <module>
import tf2_ros
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
from tf2_py import *
File "/opt/ros/melodic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)
[mapzoner-1] process has died [pid 25790, exit code 1, cmd /home/philip/server_prac/src/action_practice/src/map_zone_update.py __name:=mapzoner __log:=/home/philip/.ros/log/879a2c7c-a8c6-11ec-9206-d43b04207196/mapzoner-1.log].
log file: /home/philip/.ros/log/879a2c7c-a8c6-11ec-9206-d43b04207196/mapzoner-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
when I try to import tf2_ros
Asked: 2022-03-19 01:24:43 -0500
Seen: 783 times
Last updated: Mar 20 '22
docker ros development with the RPI
How to merge multiple map.pgm files?
Make AWS ec2 instance as Master node for multiple robots
use default arg in included file
Slam gmapping map doesn't update in RViz after the first laser scan
Unable to publish PoseStamped message
catkin clean does not clean cache for extend
rrbot demo won't run on macOS Sierra; "libtf2_ros.dylib image not found" [closed]
See this github comment:
sudo apt install ros-melodic-tf2-ros
@abhishek47 from my pe=reviouso comment I looked deeper into my files because the error says there's a problem with python2.7 in my ros, apprenetly I dont have python3 for ros, which I thought I did. WOuld you happen to know how to switch from python 2.7 to 3?
See #q326226