Commit Graph

48 Commits

Author SHA1 Message Date
Martin Dahl cc84beb17d Release 0.7.5 2023-06-27 23:54:46 +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 c58fbbcd5f Release 0.7.4 2023-06-26 15:55:15 +02:00
Martin Dahl 892dd4ab48 rustfmt 2023-06-26 13:33:41 +02:00
Martin Dahl a54682ec93 Refresh bindings 2023-06-26 12:05:55 +02:00
Martin Dahl f19b256139 Generate formatted bindings + fix dead code warnings 2023-06-26 12:05:21 +02:00
aeon 7800f0ac5b Refresh bindings with new codegen by #58 2023-06-26 04:31:38 +08:00
aeon fd4524c67e Refresh saved bindings for docs 2023-06-25 21:56:12 +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 c576ead3c1 Release 0.7.3 2023-06-20 11:22:13 +02:00
Martin Dahl dedbf11486 Fix mistake in docs generatation and CI docs test 2023-06-20 11:13:59 +02:00
Martin Dahl 5c78ecaebe Release 0.7.2 2023-06-20 10:32:42 +02:00
Martin Dahl a24d6980f1 Refresh saved bindings for docs. 2023-06-20 08:43:06 +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 47ba2b075a Release 0.7.1 2023-05-21 21:37:41 +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
Martin Dahl 9f7b11da87 Release 0.7.0 2023-03-21 09:44:56 +01:00
GabrielDertoni 0ed365f598
fix: use non-mangled field names in serde (#40) 2023-03-15 20:49:35 +01:00
Martin Dahl 5f096f469e Bump version for new release.
Changes since last release:

- Fix build scripts on ros2 foxy.
2023-02-20 10:44:22 +01:00
Martin Dahl 5acdeb3727 Bump versions for release with docs pointing to docs.rs
Allows us to delete github pages.
2023-01-19 09:32:54 +01:00
Martin Dahl ebee0e54ab Bump version numbers 2023-01-17 11:33:36 +01:00
Martin Dahl 86e68facd3 Merge pr-#33 into master 2023-01-17 08:57:00 +01:00
Martin Dahl a3ee9be7da Merge pr#32 into master 2023-01-16 14:33:39 +01:00
Martin Dahl e707ee86a1 Bump version numbers. 2022-12-30 20:09:35 +01:00
aeon 6644562704 Save generated bindings for ROS Galactic on Ubuntu 20.04 2022-11-25 06:01:01 +08: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
aeon 4fad8ef09b Update dependencies 2022-11-25 00:19:41 +08:00
aeon 1955bdda3b Mangle field names using bindgen's mangling function 2022-10-03 15:00:33 +08:00
Martin Dahl bacd94c6e9 Bump version numbers fix 2022-08-22 11:48:37 +02:00
Martin Dahl 9166d99050 Bump version numbers 2022-08-22 11:36:38 +02:00
Martin Dahl 7678acfb12 Handle path changes to support Humble release 2022-08-19 15:51:31 +02:00
Martin Dahl b6c61f282e bump version numbers 2022-02-08 11:16:53 +01:00
Martin Dahl ac3a9b0485 fix rolling compilation issues 2022-02-08 10:27:02 +01:00
Martin Dahl 174fb233c1 add #[serde(default)] to msg types
allows skipping fields when deserializing from json.
2022-01-26 13:27:25 +01:00
Martin Dahl a88505efd1 Bump version numbers, update readme and licenses. 2022-01-13 11:53:30 +01:00
Midnight Exigent bfaba3d968 Run `cargo fmt` 2022-01-07 06:19:47 +01:00
Midnight Exigent 8a7acc7799 Make clippy happy 2022-01-07 06:08:01 +01:00
Midnight Exigent f22d29d02f Migrate to Rust 2021 2022-01-07 04:15:21 +01:00
Martin Dahl 76612460c3 Bump version numbers 2021-09-20 10:37:55 +02:00
Simone Zandara c97253c548 Fix colcon build when no actions/msgs/services are present
Description: The auto generated lib r2r_msg_gen assume the presence of at least 1 entry in the messages, actions or services.
If none is present it generates a file with a dangling "else" which generates a compilation error.
Removing the else altogether fixes the issue.

Test:
- cargo test
- cd r2r_msg_gen/ && cargo test
- colcon build on local package with no actions
2021-09-17 12:38:53 +02:00
Martin Dahl 8c102f073d Package metadata 2021-09-02 12:03:02 +02:00
Martin Dahl 1e0a368d33 Cleanup package names and imports 2021-09-02 11:50:16 +02:00