From e160adc6f9dfd5dae127d8850ac4e697fa16cb90 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Thu, 30 Nov 2023 22:13:00 -0500 Subject: [PATCH] Grammar fixes --- .../trajectory_execution_manager.cpp | 6 +++--- .../trajectory_execution_manager.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/moveit_py/src/moveit/moveit_ros/trajectory_execution_manager/trajectory_execution_manager.cpp b/moveit_py/src/moveit/moveit_ros/trajectory_execution_manager/trajectory_execution_manager.cpp index a776f918e5..96a3f2cdb0 100644 --- a/moveit_py/src/moveit/moveit_ros/trajectory_execution_manager/trajectory_execution_manager.cpp +++ b/moveit_py/src/moveit/moveit_ros/trajectory_execution_manager/trajectory_execution_manager.cpp @@ -81,7 +81,7 @@ 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", @@ -89,7 +89,7 @@ void initTrajectoryExecutionManager(py::module& m) 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, @@ -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", diff --git a/moveit_ros/planning/trajectory_execution_manager/include/moveit/trajectory_execution_manager/trajectory_execution_manager.h b/moveit_ros/planning/trajectory_execution_manager/include/moveit/trajectory_execution_manager/trajectory_execution_manager.h index 886a1d578b..18ab7c32bf 100644 --- a/moveit_ros/planning/trajectory_execution_manager/include/moveit/trajectory_execution_manager/trajectory_execution_manager.h +++ b/moveit_ros/planning/trajectory_execution_manager/include/moveit/trajectory_execution_manager/trajectory_execution_manager.h @@ -116,19 +116,19 @@ class MOVEIT_TRAJECTORY_EXECUTION_MANAGER_EXPORT TrajectoryExecutionManager bool ensureActiveControllersForJoints(const std::vector& 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& 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& controllers); /// Add a trajectory for future execution. Optionally specify a controller to use for the trajectory. If no controller