Skip to content

Commit 6250074

Browse files
micro-ROS foxy Library auto-update 19-02-2021 06:20 (#135)
Co-authored-by: pablogs9 <[email protected]>
1 parent 62bd098 commit 6250074

File tree

11 files changed

+19
-9
lines changed

11 files changed

+19
-9
lines changed

built_packages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ https://github.com/micro-ROS/rcl 8eddc13db38bdecdd3089b8c96d13f0df3f5b35d
3030
https://github.com/micro-ROS/rosidl_typesupport_microxrcedds.git f917106cd82ad17853e48ea2641b50563cd473dd
3131
https://github.com/micro-ROS/rclc 0bbab9694760f5685413960e93b122c2980eb36e
3232
https://github.com/ros-controls/control_msgs 653b646ba34d2166149cc02269bac0f48beb72b0
33-
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 65a8c87a7edf11314904d305bcfabb5662cfcfd6
33+
https://github.com/eProsima/Micro-XRCE-DDS-Client.git 0d47a98ae9854d178326184f38663f419c493a61
3434
https://github.com/eProsima/Micro-CDR.git c95c40f427e421bcdf259f52501414dfbc2b2b22

src/cortex-m0plus/libmicroros.a

-722 Bytes
Binary file not shown.

src/cortex-m3/libmicroros.a

-574 Bytes
Binary file not shown.
774 Bytes
Binary file not shown.
-574 Bytes
Binary file not shown.
-574 Bytes
Binary file not shown.

src/mk20dx256/libmicroros.a

-570 Bytes
Binary file not shown.
-574 Bytes
Binary file not shown.

src/uxr/client/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define UXR_CONFIG_MAX_INPUT_RELIABLE_STREAMS 1
4444

4545
#define UXR_CONFIG_MAX_SESSION_CONNECTION_ATTEMPTS 10
46-
#define UXR_CONFIG_MIN_SESSION_CONNECTION_INTERVAL 25
46+
#define UXR_CONFIG_MIN_SESSION_CONNECTION_INTERVAL 1000
4747
#define UXR_CONFIG_MIN_HEARTBEAT_TIME_INTERVAL 1
4848

4949
#ifdef UCLIENT_PROFILE_UDP

src/uxr/client/core/session/session.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ UXRDLLAPI bool uxr_create_session(uxrSession* session);
209209
* @brief Creates a new session with the Agent.
210210
* This function logs in a session, enabling any other XRCE communication with the Agent.
211211
* @param session A uxrSesssion structure previously initialized.
212-
* @param retries Max attempts for creating the session
212+
* @param retries Max attempts for creating the session.
213213
* @return true in case of successful session establishment, and false in other case.
214214
*/
215215
UXRDLLAPI bool uxr_create_session_retries(uxrSession* session, size_t retries);
@@ -223,6 +223,16 @@ UXRDLLAPI bool uxr_create_session_retries(uxrSession* session, size_t retries);
223223
*/
224224
UXRDLLAPI bool uxr_delete_session(uxrSession* session);
225225

226+
/**
227+
* @brief Deletes a session previously created.
228+
* All XRCE entities created within the session will be removed.
229+
* This function logs out a session, disabling any other XRCE communication with the Agent.
230+
* @param session A uxrSession structure previously initialized.
231+
* @param retries Max attempts for deleting the session.
232+
* @return true in case of successful session deletion, and false in other case.
233+
*/
234+
UXRDLLAPI bool uxr_delete_session_retries(uxrSession* session, size_t retries);
235+
226236
/**
227237
* @brief Creates and initializes an output best-effort stream.
228238
* The maximum number of output best-effort streams is set by the `CONFIG_MAX_OUTPUT_BEST_EFFORT_STREAMS`

0 commit comments

Comments
 (0)