Commit Graph

20 Commits

Author SHA1 Message Date
aeon 95fdea3b9c Run rustfmt using new configuration 2024-04-08 12:57:34 +02:00
aeon bd998ab880 Fix several clippy warnings 2024-04-08 12:56:47 +02:00
Nadhmi JAZI 64bc6af718 add windows support + use cmake_path to have colcon-cargo working
correctly
2023-09-26 22:14:36 +02:00
Martin Dahl f5f41baa25 Don't generate msg_includes.h in parallel with bindgen generation. 2023-06-26 22:23:51 +02:00
Martin Dahl fd8f466c6e Fix camel case to snake case conversion.
Replace general camel case to snake case conversion with a specific
implementation from rosidl.
2023-06-26 21:08:32 +02:00
Martin Dahl 892dd4ab48 rustfmt 2023-06-26 13:33:41 +02:00
aeon 228f713f14 Allow doc-only feature to work without ROS 2023-06-25 21:46:54 +02:00
aeon a042dc8c55 Refactor codegen using syn and quote 2023-06-25 21:46:11 +02:00
aeon fd0e9a7291 Fix linkage issue when doc-only feature is on 2023-06-25 21:45:46 +02:00
Martin Dahl 64bc3dcab6 Don't include function pointers when building with cfg doc-only. 2023-06-20 08:40:59 +02:00
Martin Dahl ccdfc1ebc9 ROS_DISTRO as configuration option.
Allows us to handle API differences between ros versions.
2023-06-02 09:39:35 +02:00
Martin Dahl 0ae3c80dcb Extend the hack to generate constants for service and action types. 2023-05-15 16:50:33 +02:00
Martin Dahl 16f73aed4b Adds a hack to generate constants associated to the message types. 2023-05-15 15:40:14 +02:00
aeon f1112e4075 [r2r_msg_gen] More advanced message binding generation
- Add "save-bindgen" feature to store generated bindings in source directory.
- Add "doc-only" feature to disable bindgen and linking, and use saved
  bindings in source directory instead.
2022-11-25 06:00:58 +08:00
aeon 55cce8caec [r2r_common] Move link search prints to print_cargo_link_search() 2022-11-25 03:31:09 +08:00
Martin Dahl 7678acfb12 Handle path changes to support Humble release 2022-08-19 15:51:31 +02:00
Martin Dahl ac3a9b0485 fix rolling compilation issues 2022-02-08 10:27:02 +01:00
Midnight Exigent bfaba3d968 Run `cargo fmt` 2022-01-07 06:19:47 +01:00
Midnight Exigent f22d29d02f Migrate to Rust 2021 2022-01-07 04:15:21 +01:00
Martin Dahl 1e0a368d33 Cleanup package names and imports 2021-09-02 11:50:16 +02:00