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

Commit 71c03fb

Browse files
author
Olav de Haas
committed
Merge branch 'develop' into fix/PM-58-reorganize-repo
2 parents 2d1dda4 + f7f3ee7 commit 71c03fb

File tree

12 files changed

+6
-291
lines changed

12 files changed

+6
-291
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;

march_hardware_interface/include/march_hardware_interface/march_hardware_state_interface.h

Lines changed: 0 additions & 44 deletions
This file was deleted.

march_hardware_interface/src/march_hardware_interface.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ void MarchHardwareInterface::updateAfterLimitJointCommand()
439439
{
440440
march4cpp::Joint joint = marchRobot.getJoint(joint_names_[i]);
441441

442+
after_limit_joint_command_pub_->msg_.header.stamp = ros::Time::now();
442443
after_limit_joint_command_pub_->msg_.name.push_back(joint.getName());
443444
after_limit_joint_command_pub_->msg_.position_command.push_back(joint_position_command_[i]);
444445
after_limit_joint_command_pub_->msg_.effort_command.push_back(joint_effort_command_[i]);
@@ -467,6 +468,7 @@ void MarchHardwareInterface::updateIMotionCubeState()
467468
for (int i = 0; i < num_joints_; i++)
468469
{
469470
march4cpp::IMotionCubeState iMotionCubeState = marchRobot.getJoint(joint_names_[i]).getIMotionCubeState();
471+
imc_state_pub_->msg_.header.stamp = ros::Time::now();
470472
imc_state_pub_->msg_.joint_names.push_back(joint_names_[i]);
471473
imc_state_pub_->msg_.status_word.push_back(iMotionCubeState.statusWord);
472474
imc_state_pub_->msg_.detailed_error.push_back(iMotionCubeState.detailedError);

march_hardware_state_controller/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

march_hardware_state_controller/CMakeLists.txt

Lines changed: 0 additions & 75 deletions
This file was deleted.

march_hardware_state_controller/include/march_hardware_state_controller/march_hardware_state_controller.h

Lines changed: 0 additions & 39 deletions
This file was deleted.

march_hardware_state_controller/march_hardware_state_plugin.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

march_hardware_state_controller/package.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.

march_hardware_state_controller/src/march_hardware_state_controller.cpp

Lines changed: 0 additions & 63 deletions
This file was deleted.

march_hardware_state_controller/test/TestRunner.cpp

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)