Commit Graph

82 Commits

Author SHA1 Message Date
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 aa812a2e8f Parameter handler future should be `Send` 2022-08-12 10:09:24 +02: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 8a7acc7799 Make clippy happy 2022-01-07 06:08:01 +01:00
Midnight Exigent b303e78ff6 Add qos + fix some warnings 2022-01-05 11:40:45 +01:00
Martin Dahl 1e0a368d33 Cleanup package names and imports 2021-09-02 11:50:16 +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 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 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 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 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 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 505e01483a visibility of some internal traits and functions 2021-07-28 12:20:12 +02:00
Martin Dahl c02a54b8c6 reexport uuid crate 2021-07-26 21:44:13 +02:00
Martin Dahl f06f1ddde3 action client derive clone 2021-07-26 21:43:55 +02:00
Martin Dahl 59337d7d19 tidying 2021-07-25 11:08:22 +02:00
Martin Dahl 666c7e24e6 rustfmt 2021-07-24 17:43:26 +02:00
Martin Dahl 9182a321b5 action servers 2021-07-24 17:16:52 +02:00
Martin Dahl fe23d94bcd cancel actions 2021-06-18 13:47:21 +02:00
Martin Dahl b70fc089b1 async action client + example 2021-06-16 14:39:27 +02:00
Martin Dahl 49c2a0ea7b fix tokio example 2021-06-16 09:57:19 +02:00
Martin Dahl d82efff0fe cleanups + start of async api 2021-06-15 13:10:50 +02:00
Martin Dahl c3be77224e minimal action clients. no handling or failed goals or canceling. 2021-06-12 08:09:39 +02:00
Martin Dahl afb62321e5 Merge branch 'master' into actions 2021-05-15 11:24:09 +02:00
Martin Dahl 6b26328d65 apply rustfmt 2021-05-15 11:04:32 +02:00
Martin Dahl 3ae62f172a Fix build error on foxy. 2021-05-15 10:27:43 +02:00
Martin Dahl 3d04cbdf93 Switch from failure to thiserror. Closes #2 2021-05-11 16:30:38 +02:00
Martin Dahl 79d3d70608 Fix drop for Context and implement Context::is_valid(). Closes #8 2021-05-11 11:48:21 +02:00
Martin Dahl ebe9287d76 generation of action message types 2021-05-10 13:36:44 +02:00
Martin Dahl f7fba64d76 Remove unnecessary casts 2020-10-14 23:53:29 +02:00
Martin Dahl e5a17ee232 Lock the context when dropping nodes 2020-10-14 23:50:41 +02:00
Martin Dahl 7505a18430 Removed temporary panics 2020-10-12 08:09:07 +02:00