Commit Graph

308 Commits

Author SHA1 Message Date
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
Martin Dahl ea06f203ca everything split into smaller files 2021-08-14 10:40:00 +02:00
Martin Dahl be567a512c more tidying 2021-08-14 09:51:41 +02:00
Martin Dahl ff0f0dd5e1 more tidying 2021-08-14 09:27:59 +02:00
Martin Dahl 33596b0b69 tidying 2021-08-13 19:35:54 +02:00
Martin Dahl 49f83fb5d9 tidying + untyped service clients 2021-08-13 17:16:51 +02:00
Martin Dahl 3effec8cc5 build fix for linux aarch64. closes #19 2021-08-06 07:38:28 +02:00
Martin Dahl e4dcb4d6ca Change services api to be a stream of requests. Updated examples.
The requests can be processed asynchronously which is demonstrated in
the service example.
2021-08-03 11:34:33 +02:00
Martin Dahl 98ecc51d1b updated readme 2021-07-29 23:13:19 +02:00
Martin Dahl 41e5d27ac9 rustfmt 2021-07-29 11:06:11 +02:00