Servo power is OFF. Please call start_traj_mode or start_point_queue_mode service #424
Replies: 4 comments 17 replies
-
|
Hi @LucaMIMOUNI This sounds very similar to #192. What version of MotoROS2 are you running? Can you please run the Debug Logger and reproduce the issue? This should show us what is preventing the servos from enabling. Also, please save a copy of PANELBOX.LOG from your teach pendant. This will show the configuration/setup of your robot controller. |
Beta Was this translation helpful? Give feedback.
-
|
Hey Ted, Thank you for your fast reply ! if you need more information don't hesitate. i'll have a look at #192 . Ty Here is the full log file: Best. |
Beta Was this translation helpful? Give feedback.
-
|
Thx again for theses precisions; appreciate it ! I spend several hours modifying the code to make the ma2010 move. I run through severals errors:
More detail with the logs from the motoman_controller ros2 node I wrote: [INFO] [1750257788.307652237] [motoros_controller]: Processing MotionPlanRequest:
[INFO] [1750257788.307704449] [motoros_controller]: Joint: group_3/joint_1, Target Position: -2.574480
[INFO] [1750257788.307709930] [motoros_controller]: Found joint group_3/joint_1 at index 0
[INFO] [1750257788.307775315] [motoros_controller]: Sending goal message:
[INFO] [1750257788.307784705] [motoros_controller]: Joint Names: [group_3/joint_1, group_1/joint_1, group_1/joint_2, group_1/joint_3, group_1/joint_4, group_1/joint_5, group_1/joint_6, group_4/joint_1, group_2/joint_1, group_2/joint_2, group_2/joint_3, group_2/joint_4, group_2/joint_5, group_2/joint_6, group_5/joint_1, group_5/joint_2]
[INFO] [1750257788.307790686] [motoros_controller]: Point 0:
[INFO] [1750257788.307802980] [motoros_controller]: Positions: [-3.07172, 0.0550774, -1.1624, 0.00783426, 0.0768526, -1.88125, -0.155553, -5.20879e-05, 0, 0, 0, 0, 0, 0, -1.57077, 0]
[INFO] [1750257788.307809304] [motoros_controller]: Velocities: [0, 0, 0.00130831, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[INFO] [1750257788.307812762] [motoros_controller]: Time From Start: 0.0 sec
[INFO] [1750257788.307816174] [motoros_controller]: Point 1:
[INFO] [1750257788.307822090] [motoros_controller]: Positions: [-2.57448, 0.0550774, -1.1624, 0.00783426, 0.0768526, -1.88125, -0.155553, -5.20879e-05, 0, 0, 0, 0, 0, 0, -1.57077, 0]
[INFO] [1750257788.307827826] [motoros_controller]: Velocities: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[INFO] [1750257788.307831222] [motoros_controller]: Time From Start: 5.0 sec
[INFO] [1750257788.307835640] [motoros_controller]: No active errors in robot status.
[INFO] [1750257788.326659892] [motoros_controller]: Goal accepted, waiting for result.
[INFO] [1750257788.356323411] [motoros_controller]: Result code: 6
[INFO] [1750257788.356365626] [motoros_controller]: Result error code: -100204
[INFO] [1750257788.356368893] [motoros_controller]: Result error string: The first point must match the robot's current position.
[ERROR] [1750257788.356371609] [motoros_controller]: Trajectory execution failed
I'm kind of stuck here as the states are litterally the one echo from the motoman publisher. Here is also a snipset from my follow_joint_trajectory:
action_ns: ""
type: FollowJointTrajectory
default: true
joints:
- group_3/joint_1 # b1
- group_1/joint_1 # joint_1_s (r1)
- group_1/joint_2 # joint_2_l
- group_1/joint_3 # joint_3_u
- group_1/joint_4 # joint_4_r
- group_1/joint_5 # joint_5_b
- group_1/joint_6 # joint_6_t
- group_4/joint_1 # b2
- group_2/joint_1 # joint_1_s (r2)
- group_2/joint_2 # joint_2_l
- group_2/joint_3 # joint_3_u
- group_2/joint_4 # joint_4_r
- group_2/joint_5 # joint_5_b
- group_2/joint_6 # joint_6_t
- group_5/joint_1 # roll
- group_5/joint_2 # yawSome further investigationThere is an OFFSET of about 4.788934 m between linear rail joint state Have you some ideas here ? Is there a way for me to know more precisely which of the joint(s) are incorrect ? header:
stamp:
sec: 1750258646
nanosec: 312444679
frame_id: ''
name:
- group_3/joint_1
position:
- 1.7172140451660156
velocity:
- 0.0
effort:
- 0.3243
1.7172140451660156 - 4.788934 = -3.07172 which is indeed the value on the teach. Best ! Luca |
Beta Was this translation helpful? Give feedback.
-
|
Thx you again, I'm getting closer I hope. With a closer look on the logs; I could figure out that the data from Robot 2 was not in degrees but in impulse surprisingly.
As I am not using the robot 2 (neither the rail b2, or the positioner 2 axes), I try to hard_coded theses values in the starting position: However now I got some crazy values here '2147483648' By inspecting the code MotionControl.c; I can see that you expect an IMPULSE value of type Finally, as I am only working with linear rail b1 and robot r1; should I remove r2, b2, and posi from the motoros2_config.yaml ? Best. Luca |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
System
My goal
I would like to control a MA2010 with moveit2 (REMOTE control). I'm following this specific section commanding_motion and achieved everything expect step n°6 when I have to call service
start_traj_modeError
Same for
start_point_queue_mode service.From what I know I need to close every door to be able to activate servo motors. However even with everything correclty close; I still got the following message on the teach pendant: 'Operation forbidden by external unit' (translated from french).
Beta Was this translation helpful? Give feedback.
All reactions