Skip to content

Commit

Permalink
fixing servo numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichard committed Feb 13, 2012
1 parent ff557bb commit 17986d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ros/uc_arm/RobotArm_ROS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ int main(void)
// setting up the subscribers
ros::Subscriber<std_msgs::Int16> subscrServo1("ArexxArmServo1", servo_cb<1>);
nh.subscribe(subscrServo1);
ros::Subscriber<std_msgs::Int16> subscrServo2("ArexxArmServo1", servo_cb<2>);
ros::Subscriber<std_msgs::Int16> subscrServo2("ArexxArmServo2", servo_cb<2>);
nh.subscribe(subscrServo2);
ros::Subscriber<std_msgs::Int16> subscrServo3("ArexxArmServo1", servo_cb<3>);
ros::Subscriber<std_msgs::Int16> subscrServo3("ArexxArmServo3", servo_cb<3>);
nh.subscribe(subscrServo3);
ros::Subscriber<std_msgs::Int16> subscrServo4("ArexxArmServo1", servo_cb<4>);
ros::Subscriber<std_msgs::Int16> subscrServo4("ArexxArmServo4", servo_cb<4>);
nh.subscribe(subscrServo4);
ros::Subscriber<std_msgs::Int16> subscrServo5("ArexxArmServo1", servo_cb<5>);
ros::Subscriber<std_msgs::Int16> subscrServo5("ArexxArmServo5", servo_cb<5>);
nh.subscribe(subscrServo5);
ros::Subscriber<std_msgs::Int16> subscrServo6("ArexxArmServo6", servo_cb<6>);
nh.subscribe(subscrServo6);
Expand Down

0 comments on commit 17986d9

Please sign in to comment.