Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati committed Feb 20, 2024
1 parent 7a4a225 commit ae45a79
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/ex_joint_goal.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def main():
group_name=panda.MOVE_GROUP_ARM,
callback_group=callback_group,
)
moveit2.planner_id = node.get_parameter("planner_id").get_parameter_value().string_value
moveit2.planner_id = (
node.get_parameter("planner_id").get_parameter_value().string_value
)

# Spin the node in background thread(s) and wait a bit for initialization
executor = rclpy.executors.MultiThreadedExecutor(2)
Expand Down
4 changes: 3 additions & 1 deletion examples/ex_pose_goal.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def main():
group_name=panda.MOVE_GROUP_ARM,
callback_group=callback_group,
)
moveit2.planner_id = node.get_parameter("planner_id").get_parameter_value().string_value
moveit2.planner_id = (
node.get_parameter("planner_id").get_parameter_value().string_value
)

# Spin the node in background thread(s) and wait a bit for initialization
executor = rclpy.executors.MultiThreadedExecutor(2)
Expand Down
1 change: 1 addition & 0 deletions pymoveit2/moveit2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2072,6 +2072,7 @@ def planner_id(self) -> int:
def planner_id(self, value: str):
self.__move_action_goal.request.planner_id = value


def init_joint_state(
joint_names: List[str],
joint_positions: Optional[List[str]] = None,
Expand Down

0 comments on commit ae45a79

Please sign in to comment.