Commit Graph

340 Commits

Author SHA1 Message Date
Martin Dahl ebee0e54ab Bump version numbers 2023-01-17 11:33:36 +01:00
Martin Dahl 9b30efa7d3 Rustfmt 2023-01-17 11:25:31 +01:00
Martin Dahl af452ec6fd Make WrappedTypesupport traits public. Closes #31 2023-01-17 10:41:44 +01:00
Martin Dahl 478c4e8667 Merge pr-#36 2023-01-17 09:12:11 +01:00
Martin Dahl 123c670e03 Merge pr-#34 2023-01-17 09:07:00 +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
Ricardo Delfin a2ccc774cd
Fix clippy warning in nodes.rs
Rust 1.66 (or rather, the clippy bundled with it) adds a new clippy check called `clippy::explicit-auto-deref`. This commit fixes an instance of it in nodes.rs
2023-01-13 16:36:12 +00:00
Martin Dahl e707ee86a1 Bump version numbers. 2022-12-30 20:09:35 +01:00
Ben Wolsieffer 06b587ddb2 Support building on 32-bit ARM 2022-12-06 23:37:44 -05:00
aeon 6644562704 Save generated bindings for ROS Galactic on Ubuntu 20.04 2022-11-25 06:01:01 +08:00
aeon 81896423bb [r2r] More advanced binding generation
- Add "save-bindgen" feature to store generated bindings in source directory.
- Add "doc-only" to disable bindgen and linking, and use saved bindings
  in source directory instead.
- Bindings are cached to speed on bindgen process.
2022-11-25 06:01:01 +08:00
aeon 8c42f906c7 [rcl_actions] More advanced binding generation
- Add "save-bindgen" feature to store generated bindings in source directory.
- Add "doc-only" to disable bindgen and linking, and use saved bindings
  in source directory.
- Generated bindings are cached to speed up bindgen process.
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 2286dbde57 [r2r_rcl] More advanced binding generation
- Add "save-bindgen" to save generated bindings file to source
  directory.
- Cache generated bindings file to speed up bindgen process.
- Add "docs-only" feature to disable linking and bindgen on docs.rs.
2022-11-25 05:52:52 +08:00
aeon 801d09d136 [r2r_common] Do not panic in get_wanted_messages() if AMENT_PREFIX_PATH is not set 2022-11-25 05:50:45 +08:00
aeon 55cce8caec [r2r_common] Move link search prints to print_cargo_link_search() 2022-11-25 03:31:09 +08:00
aeon c136d1400f [r2r_common] Add get_env_hash() to generate an env var dependent hash 2022-11-25 02:35:58 +08:00
aeon 6fbcfd1403 Add allowlisted types, vars and functions for bindgen 2022-11-25 00:55:05 +08:00
aeon 73f1d9e59d Move Dockerfiles back to original directory 2022-11-25 00:48:27 +08:00
aeon 6096deec5b Fix clippy warnings 2022-11-25 00:40:46 +08:00
aeon abdf2f5343 Reduce compile time on tokio 2022-11-25 00:21:41 +08:00
aeon 4fad8ef09b Update dependencies 2022-11-25 00:19:41 +08:00
aeon 67db235a42 Ignore editor temp files 2022-11-25 00:14:47 +08:00
aeon e39887b038 Create a proper Cargo worksace and move r2r source to r2r/ dir 2022-11-25 00:14:14 +08:00
aeon 1955bdda3b Mangle field names using bindgen's mangling function 2022-10-03 15:00:33 +08:00
Martin Dahl ebde7734bb Add cmake integration file to the repo for convenience. 2022-08-22 11:56:50 +02: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 6b07726573 Add environment flag for building only some messages. 2022-08-21 19:45:01 +02:00
Martin Dahl 474b9d9482 Remove dependency on retain_mut since its now in the std lib 2022-08-19 15:52:54 +02:00
Martin Dahl 7678acfb12 Handle path changes to support Humble release 2022-08-19 15:51:31 +02:00
Martin Dahl aa812a2e8f Parameter handler future should be `Send` 2022-08-12 10:09:24 +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 628eedd88c Unbox one of 'factory' closures on `UntypedActionSupport` 2022-01-07 07:14:54 +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
Midnight Exigent b303e78ff6 Add qos + fix some warnings 2022-01-05 11:40:45 +01:00
Martin Dahl c0a504265f fix readme 2021-09-20 10:55:55 +02: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
Kristofer Bengtsson 1fb92fa5ca simple tokio examples. 2021-09-06 09:33:14 +02:00
Martin Dahl f886228cec Update README.md to point to crates.io dependency instead of github. 2021-09-03 10:04:47 +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
Martin Dahl fe557e1bcb Package metadata 2021-09-01 23:47:08 +02:00