Skip to content

Commit

Permalink
Ros2 plugin custom naming (AimRT#46)
Browse files Browse the repository at this point in the history
* add remapping function for ros2 plugin

* Optimize the logical structure of remapping.

* Optimize the remapping's  logic

* Simplify details

* - update the ROS2 plugin documentation to correct the description of the remapping rules and optimize examples;

- enhance the Ros2RpcBackend class by adding exception handling logic to the GetRemappedFuncName method;

- add a function initialization report feature;

- write unit test cases for GetRemappedFuncName covering various scenarios.

* Update the table format in the documentation, correcting the regular expression capturing groups for function names

* Decrease Redundancy

* simplify the function : GetRealRosFuncName

* Optimized the way of obtaining the message type, reducing unnecessary string constructions.

---------

Co-authored-by: hanjun <hanjun@agibot.com>
  • Loading branch information
owny990312 and hanjun authored Oct 24, 2024
1 parent cb01a34 commit 25c8b2e
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 76 deletions.
Loading

0 comments on commit 25c8b2e

Please sign in to comment.