Commit Graph

317 Commits

Author SHA1 Message Date
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
Martin Dahl 4bc034518f Remove failing doctest 2021-09-01 23:31:09 +02:00
Martin Dahl f6f3f68a8c Bump the version. 2021-09-01 23:20:50 +02:00
Martin Dahl a2c4339f58 Document all the things. 2021-09-01 23:18:06 +02:00
Martin Dahl 807d9fc59b Refactor timers 2021-09-01 19:08:54 +02:00
Martin Dahl e0e5ed7dc4 Don't generate docstrings 2021-09-01 17:38:34 +02:00
Martin Dahl 30d63e0a59 exit timer example properly 2021-09-01 16:18:02 +02:00
Martin Dahl 585e41a6a0 Cleanup subscribers and services when their streams are dropped. 2021-09-01 16:12:18 +02:00
Martin Dahl 439c89801f Document Node 2021-09-01 10:40:08 +02:00
Martin Dahl fa194b8da1 Fix readme 2021-08-29 19:55:46 +02:00
Martin Dahl 3f0571abb5 version bump 2021-08-29 19:47:09 +02:00
Martin Dahl 45cfbe63b1 Add stream of parameter events 2021-08-29 19:35:01 +02:00
Martin Dahl b24af7f038 Update parameter service handlers to be based on latest master. 2021-08-29 14:39:41 +02:00
Martin Dahl 1d6cfac7f8 Merge branch 'master' into parameter_services 2021-08-29 14:35:18 +02:00
Martin Dahl 80c0db3f35 impl Send for Action client goals 2021-08-19 14:26:32 +02:00
Martin Dahl cf2006d6c1 Export ClientGoal types 2021-08-19 13:50:20 +02:00
Martin Dahl c9585f7a28 Untyped action clients 2021-08-18 14:58:49 +02:00
Martin Dahl 7853cb7161 Async api for waiting on services and action servers.
Implemented via polling in spin_once. Can be improved.
2021-08-18 10:02:59 +02:00
Martin Dahl 2babcaa5c6 Impl Send for GoalRequest 2021-08-17 14:49:09 +02:00
Martin Dahl b47caacaec Add missing impl for ServiceRequest 2021-08-17 13:47:55 +02:00
Martin Dahl 58e68bc359 Bump r2r version 2021-08-17 13:38:02 +02:00
Martin Dahl a9a80c272b Better handling of empty message types 2021-08-17 13:35:22 +02:00
Martin Dahl 42bf5d9906 cargo fmt 2021-08-17 13:22:20 +02:00
Martin Dahl ac51828cad action servers are now streams 2021-08-17 13:00:15 +02:00