Skip to content

Commit 686fa45

Browse files
authored
Merge pull request #3 from tinymovr/develop
lower message priority to debug
2 parents 82e5010 + eefd2d0 commit 686fa45

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/tm_joint_iface.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -229,33 +229,33 @@ bool TinymovrJoint::init(ros::NodeHandle& root_nh, ros::NodeHandle& robot_hw_nh)
229229
}
230230

231231
// initialize servos with correct mode
232-
ROS_INFO("Asserting spec compatibility");
232+
ROS_DEBUG("Asserting spec compatibility");
233233
for (int i=0; i<num_joints; i++)
234234
{
235235
ROS_ASSERT(servos[i].get_protocol_hash() == avlos_proto_hash);
236-
ROS_INFO("%s ok", joint_name[i].c_str());
236+
ROS_DEBUG("%s ok", joint_name[i].c_str());
237237
}
238238

239-
ROS_INFO("Asserting calibrated");
239+
ROS_DEBUG("Asserting calibrated");
240240
for (int i=0; i<num_joints; i++)
241241
{
242242
ROS_ASSERT((servos[i].encoder.get_calibrated() == true) && (servos[i].motor.get_calibrated() == true));
243-
ROS_INFO("%s ok", joint_name[i].c_str());
243+
ROS_DEBUG("%s ok", joint_name[i].c_str());
244244
}
245245

246246
for (int i=0; i<num_joints; i++)
247247
{
248-
ROS_INFO("Setting state");
248+
ROS_DEBUG("Setting state");
249249
servos[i].controller.set_state(2);
250250
const uint8_t mode = _str2mode(servo_modes[i]);
251-
ROS_INFO("Setting mode to %u", mode);
251+
ROS_DEBUG("Setting mode to %u", mode);
252252
servos[i].controller.set_mode(mode);
253253
ros::Duration(0.001).sleep();
254-
ROS_INFO("Asserting state and mode");
254+
ROS_DEBUG("Asserting state and mode");
255255
ROS_ASSERT((servos[i].controller.get_state() == 2) && (servos[i].controller.get_mode() == mode));
256256
}
257257

258-
ROS_INFO("Registering Interfaces");
258+
ROS_DEBUG("Registering Tinymovr Interfaces");
259259
// register state interfaces
260260
for (int i=0; i<num_joints; i++)
261261
{

0 commit comments

Comments
 (0)