-
Notifications
You must be signed in to change notification settings - Fork 0
227 workflow add checks on cpp documentation #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
2425684
cedf726
9061e45
5ac73ef
fbbe101
06729a8
0697533
224079c
53dee68
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
…GH workflows to use modern pip version of clang-format Signed-off-by: Peter Geurts <[email protected]>
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,12 +2,13 @@ | |
| // | ||
| // # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| #include <moveit_visual_tools/moveit_visual_tools.h> | ||
|
|
||
| #include <geometry_msgs/msg/pose_stamped.hpp> | ||
| #include <moveit/move_group_interface/move_group_interface.hpp> | ||
| #include <moveit/planning_scene_interface/planning_scene_interface.hpp> | ||
| #include <moveit/robot_model/joint_model_group.hpp> | ||
| #include <moveit_msgs/srv/servo_command_type.hpp> | ||
| #include <moveit_visual_tools/moveit_visual_tools.h> | ||
| #include <rcdt_messages/srv/add_marker.hpp> | ||
| #include <rcdt_messages/srv/add_object.hpp> | ||
| #include <rcdt_messages/srv/define_goal_pose.hpp> | ||
|
|
@@ -33,23 +34,23 @@ typedef rcdt_messages::srv::ExpressPoseInOtherFrame ExpressPoseInOtherFrame; | |
| * Class to interact with the Moveit framework. | ||
| */ | ||
| class MoveitManager { | ||
| public: | ||
| public: | ||
| /** | ||
| * @brief constructor for the MoveitManager class. | ||
| * @param node The ROS2 node to attach to. | ||
| */ | ||
| MoveitManager(rclcpp::Node::SharedPtr node); | ||
|
|
||
| private: | ||
| private: | ||
| rclcpp::Node::SharedPtr node; /**< ROS2 node with MoveIt Services */ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Previously instead of using
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In order for Doxygen to recognize the comment as a docstring, it needs to be formatted a certain way. See: https://www.doxygen.nl/manual/docblocks.html |
||
| rclcpp::Node::SharedPtr | ||
| client_node; /**< ROS2 node with ExpressPoseInOtherFrame Client */ | ||
| moveit::planning_interface::MoveGroupInterface | ||
| move_group; /**< Interface for setting joint/pose goals */ | ||
| moveit::planning_interface::PlanningSceneInterface | ||
| planning_scene_interface; /**< Interface for adding collision objects */ | ||
| const moveit::core::JointModelGroup | ||
| *joint_model_group; /**< Joint models for planning trajectories */ | ||
| const moveit::core::JointModelGroup* | ||
| joint_model_group; /**< Joint models for planning trajectories */ | ||
| moveit_visual_tools::MoveItVisualTools | ||
| moveit_visual_tools; /**< Visualization tools */ | ||
| PoseStamped goal_pose; /**< Goal pose to move end-effector to */ | ||
|
|
@@ -93,8 +94,8 @@ class MoveitManager { | |
| std::shared_ptr<Trigger::Response> response); | ||
|
|
||
| rclcpp::Service<DefineGoalPose>::SharedPtr | ||
| define_goal_pose_service; /**< Service to define goal pose for arm to move | ||
| to */ | ||
| define_goal_pose_service; /**< Service to define goal | ||
| pose for arm to move to */ | ||
|
|
||
| /** | ||
| * @brief Callback to define goal pose for arm to move to. | ||
|
|
@@ -115,9 +116,9 @@ class MoveitManager { | |
| * translation. | ||
| * @param response Response indicating whether the service call succeeded. | ||
| */ | ||
| void | ||
| transform_goal_pose(const std::shared_ptr<TransformGoalPose::Request> request, | ||
| std::shared_ptr<TransformGoalPose::Response> response); | ||
| void transform_goal_pose( | ||
| const std::shared_ptr<TransformGoalPose::Request> request, | ||
| std::shared_ptr<TransformGoalPose::Response> response); | ||
|
|
||
| rclcpp::Service<MoveToConf>::SharedPtr | ||
| move_to_configuration_service; /**< Service to move to a specified | ||
|
|
@@ -132,8 +133,8 @@ class MoveitManager { | |
| std::shared_ptr<MoveToConf::Response> response); | ||
|
|
||
| rclcpp::Service<MoveHandToPose>::SharedPtr | ||
| move_hand_to_pose_service; /**< Service to move hand to a specified goal | ||
| Pose */ | ||
| move_hand_to_pose_service; /**< Service to move hand to | ||
| a specified goal Pose */ | ||
|
|
||
| /** | ||
| * @brief Callback to move arm to a specified goal Pose. | ||
|
|
@@ -145,8 +146,8 @@ class MoveitManager { | |
| std::shared_ptr<MoveHandToPose::Response> response); | ||
|
|
||
| rclcpp::Service<AddMarker>::SharedPtr | ||
| add_marker_service; /**< Service to add a visual marker at a specified | ||
| Pose */ | ||
| add_marker_service; /**< Service to add a visual marker at a | ||
| specified Pose */ | ||
|
|
||
| /** | ||
| * @brief Callback to add a visual marker at a specified location. | ||
|
|
@@ -169,9 +170,16 @@ class MoveitManager { | |
| std::shared_ptr<Trigger::Response> response); | ||
|
|
||
| // Methods: | ||
| void initialize_clients(); /**< Initializes the ExpressPoseInOtherFrame | ||
| service client Node and Client */ | ||
| void initialize_services(); /**< Initializes all MoveIt Services */ | ||
| /** | ||
| * @brief Initializes the ExpressPoseInOtherFrame service client Node and | ||
| * Client. | ||
| */ | ||
| void initialize_clients(); | ||
|
|
||
| /** | ||
| * @brief Initializes all MoveIt Services | ||
| */ | ||
| void initialize_services(); | ||
|
|
||
| /** | ||
| * @brief Method to change a specified Pose to a world-fixed frame. | ||
|
|
||
geurto marked this conversation as resolved.
Show resolved
Hide resolved
|
Uh oh!
There was an error while loading. Please reload this page.