In TF ROS, unit 2, When trying to run the program to move the robot using keyboard using program:
roslaunch turtle_tf_3d turtle_keyboard_move.launch
I get the error:
print msg
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(msg)?
[turtle1_twist_keyboard-1] process has died [pid 10079, exit code 1, cmd /home/simulations/public_sim_ws/src/all/turtle_3d/turtle_tf_3d/scripts/turtle_twist_keyboard.py turtle1 __name:=turtle1_twist_keyboard __log:=/home/user/.ros/log/f19e0d30-818b-11ec-bf51-0242c0a86008/turtle1_twist_keyboard-1.log].
log file: /home/user/.ros/log/f19e0d30-818b-11ec-bf51-0242c0a86008/turtle1_twist_keyboard-1*.log
Can i know what went wrong? my python version is Python 3.8.10