Fixed init_position default in servo_controller.py

This commit is contained in:
Patrick Goebel 2015-12-13 08:20:18 -08:00
parent 5c63db732d
commit 11105cf959

View File

@ -70,7 +70,7 @@ class Servo(Joint):
self.invert = rospy.get_param(n + "invert", False)
# Where to we want the servo positioned
self.desired = self.neutral - radians(rospy.get_param(n + "init_position", 90))
self.desired = self.neutral - radians(rospy.get_param(n + "init_position", 0))
# Where is the servo positioned now
self.position = 0.0