Skip to content

Commit 52faccb

Browse files
committed
fix calls to calibrated
1 parent 3d4e5f3 commit 52faccb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/tm_joint_iface.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ bool TinymovrJoint::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw_nh)
239239
ROS_DEBUG("Asserting calibrated");
240240
for (int i=0; i<num_joints; i++)
241241
{
242-
ROS_ASSERT((servos[i].sensors.select.commutation_sensor.get_calibrated() == true)
243-
&& (servos[i].sensors.select.position_sensor.get_calibrated() == true)
244-
&& (servos[i].motor.get_calibrated() == true));
242+
ROS_ASSERT(servos[i].get_calibrated() == true);
245243
ROS_DEBUG("%s ok", joint_name[i].c_str());
246244
}
247245

0 commit comments

Comments
 (0)