Skip to content

Commit

Permalink
updt
Browse files Browse the repository at this point in the history
  • Loading branch information
Naufaldo committed Sep 20, 2021
1 parent bce7f51 commit 0738755
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Arduino/Button_gripper/Button_gripper.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ void servo_cb( const std_msgs::UInt16& cmd_msg){

ros::Subscriber<std_msgs::UInt16> sub("servo", servo_cb);
std_msgs::Bool pushed_msg;
ros::Publisher pub_button("pushed", &pushed_msg);

const int button_pin = 4;

Expand All @@ -58,7 +57,6 @@ void setup(){
servo.attach(3); //attach it to pin 3

nh.initNode();
nh.advertise(pub_button);
nh.subscribe(sub);

}
Expand Down

0 comments on commit 0738755

Please sign in to comment.