mirror of
https://github.com/SHC-ASTRA/rover-ros2.git
synced 2026-04-20 11:51:16 -05:00
refactor: (headless) change string parameters to bool
This commit is contained in:
@@ -156,7 +156,7 @@ class ArmNode(Node):
|
||||
# Grab velocities from message
|
||||
velocities = [
|
||||
(
|
||||
msg.velocities[msg.joint_names.index(joint_name)]
|
||||
msg.velocities[msg.joint_names.index(joint_name)] # type: ignore
|
||||
if joint_name in msg.joint_names
|
||||
else 0.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user