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
Martin Dahl
b53977f3f6
SetParameters service
2021-07-29 10:46:21 +02:00
Martin Dahl
505e01483a
visibility of some internal traits and functions
2021-07-28 12:20:12 +02:00
Martin Dahl
fa389f47cf
Update readme
2021-07-28 11:20:56 +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
78d174d534
Update readme
2021-07-25 13:06:40 +02:00
Martin Dahl
a170c6d647
fix include file for action type support
2021-07-25 13:01:41 +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
9d125b0ee7
Merge remote-tracking branch 'origin/futures' into futures
2021-07-24 17:19:55 +02:00
Martin Dahl
9182a321b5
action servers
2021-07-24 17:16:52 +02:00
Kristofer Bengtsson
fae64ec6ce
Merge remote-tracking branch 'origin/master' into futures
...
# Conflicts:
# .github/workflows/rust_and_ros2.yml
2021-07-06 16:06:31 +02:00