File tree Expand file tree Collapse file tree 13 files changed +138
-1
lines changed
mk64fx512/fpv4-sp-d16-hard Expand file tree Collapse file tree 13 files changed +138
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ https://github.com/micro-ROS/rosidl_typesupport.git 0e03d18809cb08215877ff856a91
13
13
https://github.com/micro-ROS/rcutils 500ee3fcb16bf6260453c75b50c3d7785d724443
14
14
https://github.com/micro-ROS/micro_ros_utilities c829971bd33ac1f14a94aa722476110b4b59eaf9
15
15
https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git/ 07ae5aa5c456f887f2aa82896e207a3209309a50
16
- https://github.com/ros2/rclc 88cd65c27f6e45ea53c653231f59882bd0995bed
16
+ https://github.com/ros2/rclc 2668550d040fe70906a37232c2a5f689970c2d8d
17
17
https://github.com/micro-ROS/micro_ros_msgs.git c8af6d4f246d1b324e6578ec967c8ddc1f4093d5
18
18
https://github.com/ros-controls/control_msgs 11fdcdf76434d8ca9047787d17add4e18f56e9d6
19
19
https://github.com/ros2/rcl_interfaces.git c5d0a20150533a6cb93d5dcbd6e27cea9300aa6e
Original file line number Diff line number Diff line change @@ -78,6 +78,34 @@ rclc_client_init_best_effort(
78
78
const rosidl_service_type_support_t * type_support ,
79
79
const char * service_name );
80
80
81
+ /**
82
+ * Creates an rcl client with defined QoS
83
+ *
84
+ * * <hr>
85
+ * Attribute | Adherence
86
+ * ------------------ | -------------
87
+ * Allocates Memory | Yes (in RCL)
88
+ * Thread-Safe | No
89
+ * Uses Atomics | No
90
+ * Lock-Free | Yes
91
+ *
92
+ * \param[inout] client pointer to zero_initialized rcl_client_t
93
+ * \param[in] node pointer to an initialized rcl node
94
+ * \param[in] type_support the message data type
95
+ * \param[in] service_name the name of service topic
96
+ * \param[in] qos_profile the qos of the topic
97
+ * \return `RCL_RET_OK` if successful
98
+ * \return `RCL_ERROR` (or other error code) if an error has occurred
99
+ */
100
+ RCLC_PUBLIC
101
+ rcl_ret_t
102
+ rclc_client_init (
103
+ rcl_client_t * client ,
104
+ const rcl_node_t * node ,
105
+ const rosidl_service_type_support_t * type_support ,
106
+ const char * service_name ,
107
+ const rmw_qos_profile_t * qos_profile );
108
+
81
109
#if __cplusplus
82
110
}
83
111
#endif
Original file line number Diff line number Diff line change @@ -568,6 +568,30 @@ rclc_executor_remove_guard_condition(
568
568
rclc_executor_t * executor ,
569
569
const rcl_guard_condition_t * guard_condition );
570
570
571
+ /**
572
+ * The executor prepare function prepare the waitset of the executor if
573
+ * it is invalid. Does nothing if a valid waitset is already prepared.
574
+ *
575
+ * Memory is dynamically allocated within rcl-layer, when DDS queue is accessed with rcl_wait_set_init()
576
+ *
577
+ * <hr>
578
+ * Attribute | Adherence
579
+ * ------------------ | -------------
580
+ * Allocates Memory | Yes
581
+ * Thread-Safe | No
582
+ * Uses Atomics | No
583
+ * Lock-Free | Yes
584
+ *
585
+ *
586
+ * \param [inout] executor pointer to initialized executor
587
+ * \return `RCL_RET_OK` if executor prepare operation was successful
588
+ * \return `RCL_RET_INVALID_ARGUMENT` if any parameter is a null pointer
589
+ * \return `RCL_RET_ERROR` if any other error occured
590
+ */
591
+ RCLC_PUBLIC
592
+ rcl_ret_t
593
+ rclc_executor_prepare (
594
+ rclc_executor_t * executor );
571
595
572
596
/**
573
597
* The spin-some function checks one-time for new data from the DDS-queue.
Original file line number Diff line number Diff line change @@ -80,6 +80,34 @@ rclc_publisher_init_best_effort(
80
80
const rosidl_message_type_support_t * type_support ,
81
81
const char * topic_name );
82
82
83
+ /**
84
+ * Creates an rcl publisher with defined QoS
85
+ *
86
+ * * <hr>
87
+ * Attribute | Adherence
88
+ * ------------------ | -------------
89
+ * Allocates Memory | Yes (in RCL)
90
+ * Thread-Safe | No
91
+ * Uses Atomics | No
92
+ * Lock-Free | Yes
93
+ *
94
+ * \param[inout] publisher a zero_initialized rcl_publisher_t
95
+ * \param[in] node the rcl node
96
+ * \param[in] type_support the message data type
97
+ * \param[in] topic_name the name of published topic
98
+ * \param[in] qos_profile the qos of the topic
99
+ * \return `RCL_RET_OK` if successful
100
+ * \return `RCL_ERROR` (or other error code) if an error has occurred
101
+ */
102
+ RCLC_PUBLIC
103
+ rcl_ret_t
104
+ rclc_publisher_init (
105
+ rcl_publisher_t * publisher ,
106
+ const rcl_node_t * node ,
107
+ const rosidl_message_type_support_t * type_support ,
108
+ const char * topic_name ,
109
+ const rmw_qos_profile_t * qos_profile );
110
+
83
111
#if __cplusplus
84
112
}
85
113
#endif
Original file line number Diff line number Diff line change @@ -78,6 +78,34 @@ rclc_service_init_best_effort(
78
78
const rosidl_service_type_support_t * type_support ,
79
79
const char * service_name );
80
80
81
+ /**
82
+ * Creates an rcl service with defined QoS
83
+ *
84
+ * * <hr>
85
+ * Attribute | Adherence
86
+ * ------------------ | -------------
87
+ * Allocates Memory | Yes (in RCL)
88
+ * Thread-Safe | No
89
+ * Uses Atomics | No
90
+ * Lock-Free | Yes
91
+ *
92
+ * \param[inout] service a zero_initialized rcl_service_t
93
+ * \param[in] node pointer to an initialized rcl node
94
+ * \param[in] type_support type of the request message
95
+ * \param[in] service_name the name of service topic
96
+ * \param[in] qos_profile the qos of the topic
97
+ * \return `RCL_RET_OK` if successful
98
+ * \return `RCL_ERROR` (or other error code) if an error has occurred
99
+ */
100
+ RCLC_PUBLIC
101
+ rcl_ret_t
102
+ rclc_service_init (
103
+ rcl_service_t * service ,
104
+ const rcl_node_t * node ,
105
+ const rosidl_service_type_support_t * type_support ,
106
+ const char * service_name ,
107
+ const rmw_qos_profile_t * qos_profile );
108
+
81
109
#if __cplusplus
82
110
}
83
111
#endif
Original file line number Diff line number Diff line change @@ -78,6 +78,35 @@ rclc_subscription_init_best_effort(
78
78
const rosidl_message_type_support_t * type_support ,
79
79
const char * topic_name );
80
80
81
+
82
+ /**
83
+ * Creates an rcl subscription with defined QoS
84
+ *
85
+ * * <hr>
86
+ * Attribute | Adherence
87
+ * ------------------ | -------------
88
+ * Allocates Memory | Yes (in RCL)
89
+ * Thread-Safe | No
90
+ * Uses Atomics | No
91
+ * Lock-Free | Yes
92
+ *
93
+ * \param[inout] subscription - a zero-initialized rcl_subscription_t
94
+ * \param[in] node the rcl node
95
+ * \param[in] type_support the message data type
96
+ * \param[in] topic_name the name of subscribed topic
97
+ * \param[in] qos_profile the qos of the topic
98
+ * \return `RCL_RET_OK` if successful
99
+ * \return `RCL_ERROR` (or other error code) if an error occurred
100
+ */
101
+ RCLC_PUBLIC
102
+ rcl_ret_t
103
+ rclc_subscription_init (
104
+ rcl_subscription_t * subscription ,
105
+ rcl_node_t * node ,
106
+ const rosidl_message_type_support_t * type_support ,
107
+ const char * topic_name ,
108
+ const rmw_qos_profile_t * qos_profile );
109
+
81
110
#if __cplusplus
82
111
}
83
112
#endif
You can’t perform that action at this time.
0 commit comments