-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a number of small issues in rmw_zenoh_cpp (#106)
* Keep a running total of the total number of nodes in the graph. That way we don't have to compute it when the RMW layer asks for it. Signed-off-by: Chris Lalancette <[email protected]> * Make sure to remove an empty namespace from the graph cache. If all nodes from a particular namespace have been removed, make sure to remove that namespace as well. Signed-off-by: Chris Lalancette <[email protected]> * Remove unnecessary TODO comments. Signed-off-by: Chris Lalancette <[email protected]> * Remove PublishToken. While it is a nice idea, there is more than just liveliness that will prevent us from using zenoh-pico currently. Remove this code until we decide to officially support zenoh-pico. Signed-off-by: Chris Lalancette <[email protected]> * Small cleanup for token error handling. We know that the pointer won't be NULL by that point, so we don't need the check. Signed-off-by: Chris Lalancette <[email protected]> * Remove hand-coded rcutils_strdup implementation. There is really no need for it; we can just use rcutils_strdup instead. Signed-off-by: Chris Lalancette <[email protected]> * Speed up ros_topic_name_to_zenoh_key. Use stringstream here is really slow; we can speed it up by about 100% by switching to std::to_string instead. Signed-off-by: Chris Lalancette <[email protected]> * Switch to RAII for saved_msg_data. Signed-off-by: Chris Lalancette <[email protected]> * Implement rmw_compare_gids_equal. Signed-off-by: Chris Lalancette <[email protected]> --------- Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
1b4a717
commit 60c4380
Showing
7 changed files
with
49 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.