Forums Niryo One Programming Niryo One Programming with ROS Reply To: Programming with ROS

Anthony
Participant
Post count: 10

After I simplified to the minimum my code by deleting all about “server”, the robot made few loops and became crazy.

*******************************************************
Errors received :

niryo@niryo-pc:~/catkin_ws/src/niryo_one_python_api/src$ python test_robot_move.py
[INFO] [1560496637.415949]: Node has been lauched
[INFO] [1560496645.428404]: ——————Loop
[INFO] [1560496687.400143]: ——————Loop
[INFO] [1560496729.343841]: ——————Loop
[INFO] [1560496771.394603]: ——————Loop
[INFO] [1560496813.320727]: ——————Loop
[INFO] [1560496855.763754]: ——————Loop
[INFO] [1560496898.003868]: ——————Loop
[INFO] [1560496940.173920]: ——————Loop
[INFO] [1560496982.338973]: ——————Loop
[INFO] [1560497024.424586]: ——————Loop
[INFO] [1560497066.754919]: ——————Loop
[INFO] [1560497108.746656]: ——————Loop
[INFO] [1560497150.824193]: ——————Loop
Traceback (most recent call last):
File “test_robot_move.py”, line 80, in <module>
process_1()
File “test_robot_move.py”, line 46, in process_1
n.move_pose( 0.24, 0, 0.42, 0, 0, 0)
File “/home/niryo/catkin_ws/src/niryo_one_python_api/src/niryo_one_python_api/niryo_one_api.py”, line 275, in move_pose
return self.execute_action(‘niryo_one/commander/robot_action’, RobotMoveAction, goal)
File “/home/niryo/catkin_ws/src/niryo_one_python_api/src/niryo_one_python_api/niryo_one_api.py”, line 191, in execute_action
raise NiryoOneException(‘Goal has been aborted : ‘ + str(response.message))
niryo_one_python_api.niryo_one_api.NiryoOneException: Goal has been aborted : Command has been aborted