Skip to content

Commit

Permalink
[spot_ros_client] add list_Node for jsk_spot_behavior_server
Browse files Browse the repository at this point in the history
  • Loading branch information
sktometometo committed Nov 22, 2023
1 parent dd5ea42 commit 7ee2f81
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,9 @@ def reset_current_node(self, node):
res = self._srv_client_reset_current_node(req)
return res.success

def list_nodes(self):
return list(rospy.get_param("/spot_behavior_manager_server/map/nodes", {}).keys())

# \brief call trajectory service
# \param x x value of the target position [m]
# \param x y value of the target position [m]
Expand Down

0 comments on commit 7ee2f81

Please sign in to comment.