Fixed doxygen warnings (#1163) (#1191)

Signed-off-by: ahcorde <ahcorde@gmail.com>
This commit is contained in:
Alejandro Hernández Cordero 2020-06-23 19:43:41 +02:00 committed by GitHub
parent c14f46e6f3
commit 1f000b8d97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 48 additions and 45 deletions

View file

@ -115,9 +115,9 @@ public:
* *
* Function is only applicable if the clock_type is `RCL_ROS_TIME` * Function is only applicable if the clock_type is `RCL_ROS_TIME`
* *
* \param pre_callback. Must be non-throwing * \param pre_callback Must be non-throwing
* \param post_callback. Must be non-throwing. * \param post_callback Must be non-throwing.
* \param threshold. Callbacks will be triggered if the time jump is greater * \param threshold Callbacks will be triggered if the time jump is greater
* then the threshold. * then the threshold.
* \throws anything rclcpp::exceptions::throw_from_rcl_error can throw. * \throws anything rclcpp::exceptions::throw_from_rcl_error can throw.
* \throws std::bad_alloc if the allocation of the JumpHandler fails. * \throws std::bad_alloc if the allocation of the JumpHandler fails.

View file

@ -49,6 +49,7 @@ public:
* \param number_of_threads number of threads to have in the thread pool, * \param number_of_threads number of threads to have in the thread pool,
* the default 0 will use the number of cpu cores found instead * the default 0 will use the number of cpu cores found instead
* \param yield_before_execute if true std::this_thread::yield() is called * \param yield_before_execute if true std::this_thread::yield() is called
* \param timeout maximum time to wait
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
MultiThreadedExecutor( MultiThreadedExecutor(

View file

@ -235,7 +235,7 @@ public:
/// Create and return a Client. /// Create and return a Client.
/** /**
* \param[in] service_name The topic to service on. * \param[in] service_name The topic to service on.
* \param[in] rmw_qos_profile_t Quality of service profile for client. * \param[in] qos_profile rmw_qos_profile_t Quality of service profile for client.
* \param[in] group Callback group to call the service. * \param[in] group Callback group to call the service.
* \return Shared pointer to the created client. * \return Shared pointer to the created client.
*/ */
@ -250,7 +250,7 @@ public:
/** /**
* \param[in] service_name The topic to service on. * \param[in] service_name The topic to service on.
* \param[in] callback User-defined callback function. * \param[in] callback User-defined callback function.
* \param[in] rmw_qos_profile_t Quality of service profile for client. * \param[in] qos_profile rmw_qos_profile_t Quality of service profile for client.
* \param[in] group Callback group to call the service. * \param[in] group Callback group to call the service.
* \return Shared pointer to the created service. * \return Shared pointer to the created service.
*/ */
@ -891,7 +891,8 @@ public:
/// Return the number of publishers that are advertised on a given topic. /// Return the number of publishers that are advertised on a given topic.
/** /**
* \param[in] topic_name the topic_name on which to count the publishers. * \param[in] node_name the node_name on which to count the publishers.
* \param[in] namespace_ the namespace of the node associated with the name
* \return number of publishers that are advertised on a given topic. * \return number of publishers that are advertised on a given topic.
* \throws std::runtime_error if publishers could not be counted * \throws std::runtime_error if publishers could not be counted
*/ */

View file

@ -48,13 +48,13 @@ public:
/// Create an async parameters client. /// Create an async parameters client.
/** /**
* \param node_base_interface[in] The node base interface of the corresponding node. * \param[in] node_base_interface The node base interface of the corresponding node.
* \param node_topics_interface[in] Node topic base interface. * \param[in] node_topics_interface Node topic base interface.
* \param node_graph_interface[in] The node graph interface of the corresponding node. * \param[in] node_graph_interface The node graph interface of the corresponding node.
* \param node_services_interface[in] Node service interface. * \param[in] node_services_interface Node service interface.
* \param remote_node_name[in] (optional) name of the remote node * \param[in] remote_node_name (optional) name of the remote node
* \param qos_profile[in] (optional) The rmw qos profile to use to subscribe * \param[in] qos_profile (optional) The rmw qos profile to use to subscribe
* \param group[in] (optional) The async parameter client will be added to this callback group. * \param[in] group (optional) The async parameter client will be added to this callback group.
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
AsyncParametersClient( AsyncParametersClient(
@ -68,10 +68,10 @@ public:
/// Constructor /// Constructor
/** /**
* \param node[in] The async paramters client will be added to this node. * \param[in] node The async paramters client will be added to this node.
* \param remote_node_name[in] (optional) name of the remote node * \param[in] remote_node_name (optional) name of the remote node
* \param qos_profile[in] (optional) The rmw qos profile to use to subscribe * \param[in] qos_profile (optional) The rmw qos profile to use to subscribe
* \param group[in] (optional) The async parameter client will be added to this callback group. * \param[in] group (optional) The async parameter client will be added to this callback group.
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
AsyncParametersClient( AsyncParametersClient(
@ -82,10 +82,10 @@ public:
/// Constructor /// Constructor
/** /**
* \param node[in] The async paramters client will be added to this node. * \param[in] node The async paramters client will be added to this node.
* \param remote_node_name[in] (optional) name of the remote node * \param[in] remote_node_name (optional) name of the remote node
* \param qos_profile[in] (optional) The rmw qos profile to use to subscribe * \param[in] qos_profile (optional) The rmw qos profile to use to subscribe
* \param group[in] (optional) The async parameter client will be added to this callback group. * \param[in] group (optional) The async parameter client will be added to this callback group.
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
AsyncParametersClient( AsyncParametersClient(

View file

@ -60,7 +60,7 @@ public:
/// Serialize a ROS2 message to a serialized stream /// Serialize a ROS2 message to a serialized stream
/** /**
* \param[in] message The ROS2 message which is read and serialized by rmw. * \param[in] ros_message The ROS2 message which is read and serialized by rmw.
* \param[out] serialized_message The serialized message. * \param[out] serialized_message The serialized message.
*/ */
void serialize_message( void serialize_message(
@ -69,7 +69,7 @@ public:
/// Deserialize a serialized stream to a ROS message /// Deserialize a serialized stream to a ROS message
/** /**
* \param[in] serialized_message The serialized message to be converted to ROS2 by rmw. * \param[in] serialized_message The serialized message to be converted to ROS2 by rmw.
* \param[out] message The deserialized ROS2 message. * \param[out] ros_message The deserialized ROS2 message.
*/ */
void deserialize_message( void deserialize_message(
const SerializedMessage * serialized_message, void * ros_message) const; const SerializedMessage * serialized_message, void * ros_message) const;

View file

@ -237,7 +237,7 @@ public:
* rclcpp::create_service(). * rclcpp::create_service().
* *
* \param[in] node_handle NodeBaseInterface pointer that is used in part of the setup. * \param[in] node_handle NodeBaseInterface pointer that is used in part of the setup.
* \param[in] service_name Name of the topic to publish to. * \param[in] service_handle service handle.
* \param[in] any_callback User defined callback to call when a client request is received. * \param[in] any_callback User defined callback to call when a client request is received.
*/ */
Service( Service(
@ -272,7 +272,7 @@ public:
* rclcpp::create_service(). * rclcpp::create_service().
* *
* \param[in] node_handle NodeBaseInterface pointer that is used in part of the setup. * \param[in] node_handle NodeBaseInterface pointer that is used in part of the setup.
* \param[in] service_name Name of the topic to publish to. * \param[in] service_handle service handle.
* \param[in] any_callback User defined callback to call when a client request is received. * \param[in] any_callback User defined callback to call when a client request is received.
*/ */
Service( Service(

View file

@ -68,7 +68,7 @@ struct SubscriptionFactory
* \param[in] callback The user-defined callback function to receive a message * \param[in] callback The user-defined callback function to receive a message
* \param[in] options Additional options for the creation of the Subscription. * \param[in] options Additional options for the creation of the Subscription.
* \param[in] msg_mem_strat The message memory strategy to use for allocating messages. * \param[in] msg_mem_strat The message memory strategy to use for allocating messages.
* \param[in] subscription_topic_Optinal stats callback for topic_statistics * \param[in] subscription_topic_stats Optional stats callback for topic_statistics
*/ */
template< template<
typename MessageT, typename MessageT,

View file

@ -48,7 +48,7 @@ public:
/// Time constructor /// Time constructor
/** /**
* \param nanoseconds since time epoch * \param nanoseconds since time epoch
* \param clock_type clock type * \param clock clock type
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
explicit Time(int64_t nanoseconds = 0, rcl_clock_type_t clock = RCL_SYSTEM_TIME); explicit Time(int64_t nanoseconds = 0, rcl_clock_type_t clock = RCL_SYSTEM_TIME);
@ -60,7 +60,7 @@ public:
/// Time constructor /// Time constructor
/** /**
* \param time_msg builtin_interfaces time message to copy * \param time_msg builtin_interfaces time message to copy
* \param clock_type clock type * \param ros_time clock type
* \throws std::runtime_error if seconds are negative * \throws std::runtime_error if seconds are negative
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
@ -71,7 +71,6 @@ public:
/// Time constructor /// Time constructor
/** /**
* \param time_point rcl_time_point_t structure to copy * \param time_point rcl_time_point_t structure to copy
* \param clock_type clock type
*/ */
RCLCPP_PUBLIC RCLCPP_PUBLIC
explicit Time(const rcl_time_point_t & time_point); explicit Time(const rcl_time_point_t & time_point);

View file

@ -166,6 +166,7 @@ public:
* \param[in] clock The clock providing the current time. * \param[in] clock The clock providing the current time.
* \param[in] period The interval at which the timer fires. * \param[in] period The interval at which the timer fires.
* \param[in] callback User-specified callback function. * \param[in] callback User-specified callback function.
* \param[in] context custom context to be used.
*/ */
explicit GenericTimer( explicit GenericTimer(
Clock::SharedPtr clock, std::chrono::nanoseconds period, FunctorT && callback, Clock::SharedPtr clock, std::chrono::nanoseconds period, FunctorT && callback,

View file

@ -116,7 +116,7 @@ public:
/// Set the timer used to publish statistics messages. /// Set the timer used to publish statistics messages.
/** /**
* \param measurement_timer the timer to fire the publisher, created by the node * \param publisher_timer the timer to fire the publisher, created by the node
*/ */
void set_publisher_timer(rclcpp::TimerBase::SharedPtr publisher_timer) void set_publisher_timer(rclcpp::TimerBase::SharedPtr publisher_timer)
{ {

View file

@ -61,6 +61,8 @@ public:
* \param[in] subscriptions Vector of subscriptions to be added. * \param[in] subscriptions Vector of subscriptions to be added.
* \param[in] guard_conditions Vector of guard conditions to be added. * \param[in] guard_conditions Vector of guard conditions to be added.
* \param[in] timers Vector of timers to be added. * \param[in] timers Vector of timers to be added.
* \param[in] clients Vector of clients and their associated entity to be added.
* \param[in] services Vector of services and their associated entity to be added.
* \param[in] waitables Vector of waitables and their associated entity to be added. * \param[in] waitables Vector of waitables and their associated entity to be added.
* \param[in] context Custom context to be used, defaults to global default. * \param[in] context Custom context to be used, defaults to global default.
* \throws std::invalid_argument If context is nullptr. * \throws std::invalid_argument If context is nullptr.

View file

@ -123,7 +123,7 @@ public:
RCLCPP_PUBLIC RCLCPP_PUBLIC
virtual virtual
bool bool
is_ready(rcl_wait_set_t *) = 0; is_ready(rcl_wait_set_t * wait_set) = 0;
/// Execute any entities of the Waitable that are ready. /// Execute any entities of the Waitable that are ready.
/** /**

View file

@ -30,10 +30,10 @@ namespace rclcpp_action
* This function is equivalent to \sa create_client()` however is using the individual * This function is equivalent to \sa create_client()` however is using the individual
* node interfaces to create the client. * node interfaces to create the client.
* *
* \param node_base_interface[in] The node base interface of the corresponding node. * \param[in] node_base_interface The node base interface of the corresponding node.
* \param node_graph_interface[in] The node graph interface of the corresponding node. * \param[in] node_graph_interface The node graph interface of the corresponding node.
* \param node_logging_interface[in] The node logging interface of the corresponding node. * \param[in] node_logging_interface The node logging interface of the corresponding node.
* \param node_waitables_interface[in] The node waitables interface of the corresponding node. * \param[in] node_waitables_interface The node waitables interface of the corresponding node.
* \param[in] name The action name. * \param[in] name The action name.
* \param[in] group The action client will be added to this callback group. * \param[in] group The action client will be added to this callback group.
* If `nullptr`, then the action client is added to the default callback group. * If `nullptr`, then the action client is added to the default callback group.

View file

@ -39,18 +39,18 @@ namespace rclcpp_action
* *
* \sa Server::Server() for more information. * \sa Server::Server() for more information.
* *
* \param node_base_interface[in] The node base interface of the corresponding node. * \param[in] node_base_interface The node base interface of the corresponding node.
* \param node_clock_interface[in] The node clock interface of the corresponding node. * \param[in] node_clock_interface The node clock interface of the corresponding node.
* \param node_logging_interface[in] The node logging interface of the corresponding node. * \param[in] node_logging_interface The node logging interface of the corresponding node.
* \param node_waitables_interface[in] The node waitables interface of the corresponding node. * \param[in] node_waitables_interface The node waitables interface of the corresponding node.
* \param name[in] The action name. * \param[in] name The action name.
* \param[in] handle_goal A callback that decides if a goal should be accepted or rejected. * \param[in] handle_goal A callback that decides if a goal should be accepted or rejected.
* \param[in] handle_cancel A callback that decides if a goal should be attempted to be canceled. * \param[in] handle_cancel A callback that decides if a goal should be attempted to be canceled.
* The return from this callback only indicates if the server will try to cancel a goal. * The return from this callback only indicates if the server will try to cancel a goal.
* It does not indicate if the goal was actually canceled. * It does not indicate if the goal was actually canceled.
* \param[in] handle_accepted A callback that is called to give the user a handle to the goal. * \param[in] handle_accepted A callback that is called to give the user a handle to the goal.
* \param[in] options options to pass to the underlying `rcl_action_server_t`. * \param[in] options options to pass to the underlying `rcl_action_server_t`.
* \param group[in] The action server will be added to this callback group. * \param[in] group The action server will be added to this callback group.
* If `nullptr`, then the action server is added to the default callback group. * If `nullptr`, then the action server is added to the default callback group.
*/ */
template<typename ActionT> template<typename ActionT>
@ -117,15 +117,15 @@ create_server(
* *
* \sa Server::Server() for more information. * \sa Server::Server() for more information.
* *
* \param node[in] The action server will be added to this node. * \param[in] node] The action server will be added to this node.
* \param name[in] The action name. * \param[in] name The action name.
* \param[in] handle_goal A callback that decides if a goal should be accepted or rejected. * \param[in] handle_goal A callback that decides if a goal should be accepted or rejected.
* \param[in] handle_cancel A callback that decides if a goal should be attempted to be canceled. * \param[in] handle_cancel A callback that decides if a goal should be attempted to be canceled.
* The return from this callback only indicates if the server will try to cancel a goal. * The return from this callback only indicates if the server will try to cancel a goal.
* It does not indicate if the goal was actually canceled. * It does not indicate if the goal was actually canceled.
* \param[in] handle_accepted A callback that is called to give the user a handle to the goal. * \param[in] handle_accepted A callback that is called to give the user a handle to the goal.
* \param[in] options options to pass to the underlying `rcl_action_server_t`. * \param[in] options options to pass to the underlying `rcl_action_server_t`.
* \param group[in] The action server will be added to this callback group. * \param[in] group The action server will be added to this callback group.
* If `nullptr`, then the action server is added to the default callback group. * If `nullptr`, then the action server is added to the default callback group.
*/ */
template<typename ActionT, typename NodeT> template<typename ActionT, typename NodeT>

View file

@ -124,7 +124,6 @@ public:
/// Create a new lifecycle node with the specified name. /// Create a new lifecycle node with the specified name.
/** /**
* \param[in] node_name Name of the node. * \param[in] node_name Name of the node.
* \param[in] namespace_ Namespace of the node.
* \param[in] options Additional options to control creation of the node. * \param[in] options Additional options to control creation of the node.
*/ */
RCLCPP_LIFECYCLE_PUBLIC RCLCPP_LIFECYCLE_PUBLIC