mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-04 11:44:08 +05:30
Fixed init_position default in servo_controller.py
This commit is contained in:
parent
5c63db732d
commit
11105cf959
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user