Skip to content
Snippets Groups Projects
Commit b46a644a authored by Shivang Patel's avatar Shivang Patel
Browse files

address some more PR feedback.

parent 9882367f
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,8 @@ namespace nav2_lifecycle_manager ...@@ -33,8 +33,8 @@ namespace nav2_lifecycle_manager
using nav2_msgs::srv::ManageLifecycleNodes; using nav2_msgs::srv::ManageLifecycleNodes;
/** /**
* @class nav2_lifecycle_manager::LifecycleManager * @class nav2_lifecycle_manager::LifecycleManager
* @brief Implements service interface to control the lifecycle nodes of * @brief Implements service interface to transition the lifecycle nodes of
* Navigation2 stack. It receives control request and then uses lifecycle * Navigation2 stack. It receives transition request and then uses lifecycle
* interface to change lifecycle node's state. * interface to change lifecycle node's state.
*/ */
class LifecycleManager : public rclcpp::Node class LifecycleManager : public rclcpp::Node
......
...@@ -49,46 +49,46 @@ public: ...@@ -49,46 +49,46 @@ public:
// Client-side interface to the Nav2 lifecycle manager // Client-side interface to the Nav2 lifecycle manager
/** /**
* @brief Makes start up service call * @brief Make start up service call
* @return true or false * @return true or false
*/ */
bool startup(); bool startup();
/** /**
* @brief Makes shutdown service call * @brief Make shutdown service call
* @return true or false * @return true or false
*/ */
bool shutdown(); bool shutdown();
/** /**
* @brief Makes pause service call * @brief Make pause service call
* @return true or false * @return true or false
*/ */
bool pause(); bool pause();
/** /**
* @brief Makes resume service call * @brief Make resume service call
* @return true or false * @return true or false
*/ */
bool resume(); bool resume();
/** /**
* @brief Makes reset service call * @brief Make reset service call
* @return true or false * @return true or false
*/ */
bool reset(); bool reset();
/** /**
* @brief Checks if lifecycle node manager server is active * @brief Check if lifecycle node manager server is active
* @return ACTIVE or INACTIVE or TIMEOUT * @return ACTIVE or INACTIVE or TIMEOUT
*/ */
SystemStatus is_active(const std::chrono::nanoseconds timeout = std::chrono::nanoseconds(-1)); SystemStatus is_active(const std::chrono::nanoseconds timeout = std::chrono::nanoseconds(-1));
// A couple convenience methods to facilitate scripting tests // A couple convenience methods to facilitate scripting tests
/** /**
* @brief Sets initial pose with covariance * @brief Set initial pose with covariance
* @param x X position * @param x X position
* @param y Y position * @param y Y position
* @param theta orientation * @param theta orientation
*/ */
void set_initial_pose(double x, double y, double theta); void set_initial_pose(double x, double y, double theta);
/** /**
* @brief Sends goal pose to NavigationToPose action server * @brief Send goal pose to NavigationToPose action server
* @param x X position * @param x X position
* @param y Y position * @param y Y position
* @param theta orientation * @param theta orientation
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment