From c958e590cce930e04c10d8ba33068387e275ba1f Mon Sep 17 00:00:00 2001 From: Patrick Goebel Date: Sun, 22 Nov 2015 17:15:11 -0800 Subject: [PATCH] Fixed some indentation in arduino_node.py --- ros_arduino_python/nodes/arduino_node.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ros_arduino_python/nodes/arduino_node.py b/ros_arduino_python/nodes/arduino_node.py index 7925e69..50f2185 100755 --- a/ros_arduino_python/nodes/arduino_node.py +++ b/ros_arduino_python/nodes/arduino_node.py @@ -75,12 +75,12 @@ class ArduinoROS(): rospy.Service('~digital_set_direction', DigitalSetDirection, self.DigitalSetDirectionHandler) # A service to turn a digital sensor on or off - rospy.Service('~digital_write', DigitalWrite, self.DigitalWriteHandler) - - # A service to set pwm values for the pins - rospy.Service('~analog_write', AnalogWrite, self.AnalogWriteHandler) + rospy.Service('~digital_write', DigitalWrite, self.DigitalWriteHandler) - # Initialize the controlller + # A service to set pwm values for the pins + rospy.Service('~analog_write', AnalogWrite, self.AnalogWriteHandler) + + # Initialize the controlller self.controller = Arduino(self.port, self.baud, self.timeout) # Make the connection