-
Notifications
You must be signed in to change notification settings - Fork 304
Description
Hello!
I'm using this driver with PolyscopeX. It looks like is working but something strange happens with the publishing of /joint_states. The node of the driver publish the state 2 times: one without prefix and one with the serial number of the robot as prefix. The position values are the same (changes the order of joint). I can move the robot with moveit but everything goes crazy due to the immense amount of warnings that I get for receiving this phantom states.
Info on joint_states:
`$ ros2 topic info /joint_states -v
Type: sensor_msgs/msg/JointState
Publisher count: 3
Node name: universal_robots_controller
Node namespace: /UR20245301303
Topic type: sensor_msgs/msg/JointState
Endpoint type: PUBLISHER
GID: 01.0f.3c.9c.33.04.6d.ac.01.00.00.00.00.00.23.03.00.00.00.00.00.00.00.00
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: VOLATILE
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
Liveliness lease duration: Infinite
Node name: universal_robots_controller
Node namespace: /UR20245301303
Topic type: sensor_msgs/msg/JointState
Endpoint type: PUBLISHER
GID: 01.0f.3c.9c.33.04.6d.ac.01.00.00.00.00.00.38.03.00.00.00.00.00.00.00.00
QoS profile:
Reliability: RELIABLE
History (Depth): UNKNOWN
Durability: VOLATILE
Lifespan: Infinite
Deadline: Infinite
Liveliness: AUTOMATIC
...`
My terminal gets full of this:
pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506313956] [moveit_robot_model.robot_model]: Joint 'UR20245301303_shoulder_pan_joint' not found in model 'ur' pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506331736] [moveit_robot_model.robot_model]: Joint 'UR20245301303_shoulder_lift_joint' not found in model 'ur' pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506335070] [moveit_robot_model.robot_model]: Joint 'UR20245301303_elbow_joint' not found in model 'ur' pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506337633] [moveit_robot_model.robot_model]: Joint 'UR20245301303_wrist_1_joint' not found in model 'ur' pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506339986] [moveit_robot_model.robot_model]: Joint 'UR20245301303_wrist_2_joint' not found in model 'ur' pnrr_project-1 | [move_group-10] [ERROR] [1753793115.506342253] [moveit_robot_model.robot_model]: Joint 'UR20245301303_wrist_3_joint' not found in model 'ur'
Example of output of /joint_states:
'header:
stamp:
sec: 1753793261
nanosec: 791059548
frame_id: ''
name:
- shoulder_lift_joint
- elbow_joint
- wrist_1_joint
- wrist_2_joint
- wrist_3_joint
- shoulder_pan_joint
position:
- -1.4079523843577881
- -0.9717297554016113
- -2.0150586567320765
- 1.2846813201904297
- 1.1246893405914307
- -0.6358593145953577
velocity:
- 0.0
- -0.0
- 0.0
- -0.0
- 0.0
- 0.0
effort:
- 0.4980357885360718
- 0.9828275442123413
- 0.64938884973526
- -0.22610297799110413
- 0.04563545435667038
- -0.06341304630041122
---
header:
stamp:
sec: 1724632405
nanosec: 865110000
frame_id: ''
name:
- UR20245301303_shoulder_pan_joint
- UR20245301303_shoulder_lift_joint
- UR20245301303_elbow_joint
- UR20245301303_wrist_1_joint
- UR20245301303_wrist_2_joint
- UR20245301303_wrist_3_joint
position:
- -0.6358712355243128
- -1.4079784017852326
- -0.9717261791229248
- -2.0150658092894496
- 1.2846693992614746
- 1.1246739625930786
velocity:
- 0.0
- 0.0
- -0.0
- 0.0
- -0.0
- 0.0
effort:
- -0.3595256989739235
- 5.260861540362968
- 8.458296586611988
- 2.5568201529772754
- -0.9160268052259912
- 0.30063469744085747
'
Is it possible to publish just one of the 2 format?