Syntax Error when using dynamixel_motor

asked 2022-04-03 09:25:46 -0500

EhrenEule gravatar image

updated 2022-04-30 13:42:33 -0500

lucasw gravatar image

Hey, I'm kinda new to ROS and I've been trying to complete this tutorial (http://wiki.ros.org/dynamixel_control...) to connect ROS to my Dynamixel.

But when I execute this command "roslaunch my_dynamixel_tutorial controller_manager.launch" I get the error

File "/home/parallels/catkin_ws/src/dynamixel_motor/dynamixel_controllers/nodes/controller_manager.py", line

210 except ImportError, ie: ^

SyntaxError: invalid syntax

I am using ROS noetic on an Ubuntu arm virtual machine and I have the following packages in my catkin_ws/src

DynamixelSDK

dynamixel-workbench

dynamixel-workbench-msgs

rosserial

dynamixel_motor (https://github.com/arebgun/dynamixel_...)

and the project I created in the previously mentioned tutorial.

I tried to execute roslaunch in a virtual python enviroment with an older version, cause I thought that it might be a problem with a new python version, cause the dynamixel_motor repository doesn't get maintained anymore, but that didn't help.

I would greatly appreciate a hint or a solution to fix this problem

edit retag flag offensive close merge delete