Robotics StackExchange | Archived questions

Syntax Error when using dynamixel_motor

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

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

File "/home/parallels/catkinws/src/dynamixelmotor/dynamixelcontrollers/nodes/controllermanager.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

dynamixelmotor (https://github.com/arebgun/dynamixelmotor)

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

Asked by EhrenEule on 2022-04-03 09:21:33 UTC

Comments

Answers