Skip to content

Commit

Permalink
Grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Dec 1, 2023
1 parent dc383f0 commit e160adc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ void initTrajectoryExecutionManager(py::module& m)
R"(
Make sure a particular controller is active.
If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active to not include the one specified as argument, this function fails.
If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active do not include the one specified as argument, this function fails.
)")

.def("ensure_active_controllers",
&trajectory_execution_manager::TrajectoryExecutionManager::ensureActiveControllers, py::arg("controllers"),
R"(
Make sure a particular set of controllers are active.
If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active to not include the ones specified as argument, this function fails.
If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active do not include the ones specified as argument, this function fails.
)")

.def("is_controller_active", &trajectory_execution_manager::TrajectoryExecutionManager::isControllerActive,
Expand All @@ -101,7 +101,7 @@ void initTrajectoryExecutionManager(py::module& m)
.def("are_controllers_active", &trajectory_execution_manager::TrajectoryExecutionManager::areControllersActive,
py::arg("controllers"),
R"(
Check if a set of controllers are active.
Check if a set of controllers is active.
)")

.def("push",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,19 @@ class MOVEIT_TRAJECTORY_EXECUTION_MANAGER_EXPORT TrajectoryExecutionManager
bool ensureActiveControllersForJoints(const std::vector<std::string>& joints);

/** \brief Make sure a particular controller is active.
\note If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active to not
\note If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active do not
include the one specified as argument, this function fails. */
bool ensureActiveController(const std::string& controller);

/** \brief Make sure a particular set of controllers are active.
\note If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active to not
\note If the 'moveit_manage_controllers' parameter is false and the controllers that happen to be active do not
include the ones specified as argument, this function fails. */
bool ensureActiveControllers(const std::vector<std::string>& controllers);

/** \brief Check if a controller is active. */
bool isControllerActive(const std::string& controller);

/** \brief Check if a set of controllers are active. */
/** \brief Check if a set of controllers is active. */
bool areControllersActive(const std::vector<std::string>& controllers);

/// Add a trajectory for future execution. Optionally specify a controller to use for the trajectory. If no controller
Expand Down

0 comments on commit e160adc

Please sign in to comment.