mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-02-11 09:20:40 +00:00
More fixes for arm_node.py
This commit is contained in:
@@ -413,7 +413,8 @@ class SerialRelay(Node):
|
||||
|
||||
|
||||
#Target position is current position + normalized vector
|
||||
target_position = self.arm.get_position_vector() + input_raw
|
||||
#target_position = self.arm.get_position_vector() + input_raw
|
||||
target_position = map(sum, zip(self.arm.get_position_vector(), input_raw))
|
||||
tempMsg.data = "Target Position: " + str(target_position)
|
||||
self.debug_pub.publish(tempMsg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user