Closed ivan140 closed 2 years ago
This issue tracker is not a support forum, so please use ROS answers instead.
My motor supports the target_torque obj6071
canopen_motor_node
does not check the objects, it just checks the supported drive modes from EDS/DCF or directly from the drive.
eff_to_device: "rint(obj6071)" # just round to integer
Where did you copy this from?
This would just command the last torque (as read from the device / 6071
).
The effort command (from ros_control) can be read from the eff
variable and should be passed to the device.
Hi,
The error message sounded to me like the effort interface is not implemented thus not loading. That's why I assumed it's an issue. Also this table states, that torque control is not supported and I found no statements, whether in issues nor in ROS answers, about a working setup with ros_canopen and the effort controller.
However, your hint about the drive modes check from the EDS file was very helpful! Thanks a lot.
The error message sounded to me like the effort interface is not implemented thus not loading
It is implemented, but not available, if the drive not support it.
Also this table states, that torque control is not supported and I found no statements
The Schnunk robots do (did?) not support the (standard) torque control modes. Elmo does, but I haven't tested them yet. That's why the support is "Unknown/?".
Hi,
I'm trying to get running the joint_effort_controller with the ros_canopen package. My motor supports the target_torque obj6071 and it moves when I set some values in this object directly. However, when I try to load the effort_controller I get the following error:
[INFO] [1630575428.170701]: Loading controller: wheel_left_joint_effort_controller [ERROR] [1630575428.177604104]: Exception thrown while initializing controller 'wheel_left_joint_effort_controller'. Could not find resource 'wheel_left_joint' in 'hardware_interface::EffortJointInterface'. [ERROR] [1630575428.177679782]: Initializing controller 'wheel_left_joint_effort_controller' failed
It seems, that the EffortJointInterface is not available. Here are my configs:controller.yaml:
driver.yaml:
Any help would be appreciated!