Commit Graph

7 Commits

Author SHA1 Message Date
aeon 1955bdda3b Mangle field names using bindgen's mangling function 2022-10-03 15:00:33 +08: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
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
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 1e0a368d33 Cleanup package names and imports 2021-09-02 11:50:16 +02:00