Skip to content

Commit

Permalink
Update moveit_py/moveit/policies/policy.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Castro <[email protected]>
  • Loading branch information
peterdavidfagan and sea-bass authored Oct 30, 2023
1 parent ae84c27 commit 0a95adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveit_py/moveit/policies/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_command_msg_type(self, msg_type):
elif msg_type == "control_msgs/JointJog":
return JointJog
else:
raise ValueError("Controller type {} not supported.".format(msg_type))
raise ValueError(f"Command type {msg_type} not supported.")

def register_sensors(self):
"""Register the topics to listen to for sensor data."""
Expand Down

0 comments on commit 0a95adb

Please sign in to comment.