ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Mode 7 is not available for rig1_plate_joint [closed]

asked 2018-11-26 05:18:57 -0500

xxx-robot gravatar image

I want to use Interpolated Position mode to motors motion, so i use the node canopen_motor_node with operation modes ID.7

There is an error: 

[ERROR] [1543196493.734653465]: Mode 7 is not available for rig1_plate_joint 

[ERROR] [1543196493.734755167]: Could not switch controllers. The hardware interface combination for the requested controllers is unfeasible. 

[ERROR] [1543196493.735180]: Failed to start controllers: joint_trajectory_controller

my controller manager yaml file:

joint_trajectory_controller:
  type: position_controllers/JointTrajectoryController
  topic: "test"
  joints:
    - rig1_plate_joint
  constraints:
    goal_time: 0.6
    stopped_velocity_tolerance: 0.5
    rig1_plate_joint: {trajectory: 0.1, goal: 0.1}
  stop_trajectory_duration: 0.5
  state_publish_rate:  25
  action_monitor_rate: 10
  required_drive_mode: 7

So hardware_interface::PositionJointInterface can accept IP mode(ID.7) ? Right?

May my eds or def file has problem? I use the copley canopen controls, who can share your eds file with me?

Why i will meet this error when use the canopen_test_utils package? Who can enlighten me? Thx very much!!

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by xxx-robot
close date 2018-11-27 02:04:48.585652

1 Answer

Sort by » oldest newest most voted
0

answered 2018-11-27 02:02:55 -0500

xxx-robot gravatar image

In ros_canopen_402: There is a tip :

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

So i check copley manual to find object "6502", this canopen control support nine types modes, and the expected value of this object 6502 is 0x000003ED.

Just modefy the edf file: set the default value of this object 6502 to 1005(DefaultValue=1005).

Maybe you will set some values in a yaml file loaded by canopen_motor_node, and make sure that there objects' values will not cause this type error.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-11-26 05:18:57 -0500

Seen: 127 times

Last updated: Nov 27 '18