Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit f7f3ee7

Browse files
authored
Merge pull request #157 from project-march/improve/effort-limit
Improve the effort limit
2 parents 635a80d + 4e6e27b commit f7f3ee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

march_hardware/src/IMotionCube.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ void IMotionCube::actuateTorque(int targetTorque)
153153
ROS_ASSERT_MSG(this->actuationMode == ActuationMode::torque, "trying to actuate torque, while actuationmode = %s",
154154
this->actuationMode.toString().c_str());
155155

156-
// The targetTorque must not exceed the value of 27300 IU, this is 25 A. This value could be increased in the future
157-
// (to 30A) with good reasoning.
158-
ROS_ASSERT_MSG(targetTorque < 27300, "Torque of %d is too high.", targetTorque);
156+
// The targetTorque must not exceed the value of 23500 IU, this is slightly larger than the current limit of the
157+
// linear joints defined in the urdf.
158+
ROS_ASSERT_MSG(targetTorque < 23500, "Torque of %d is too high.", targetTorque);
159159

160160
union bit16 targetTorqueStruct;
161161
targetTorqueStruct.i = targetTorque;

0 commit comments

Comments
 (0)