Skip to content

Commit

Permalink
fix calls to calibrated
Browse files Browse the repository at this point in the history
  • Loading branch information
yconst committed Apr 23, 2024
1 parent 3d4e5f3 commit 52faccb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tm_joint_iface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ bool TinymovrJoint::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw_nh)
ROS_DEBUG("Asserting calibrated");
for (int i=0; i<num_joints; i++)
{
ROS_ASSERT((servos[i].sensors.select.commutation_sensor.get_calibrated() == true)
&& (servos[i].sensors.select.position_sensor.get_calibrated() == true)
&& (servos[i].motor.get_calibrated() == true));
ROS_ASSERT(servos[i].get_calibrated() == true);
ROS_DEBUG("%s ok", joint_name[i].c_str());
}

Expand Down

0 comments on commit 52faccb

Please sign in to comment.