Updated readme

This commit is contained in:
Martin Dahl 2019-08-26 13:48:28 +02:00
parent 9dc67bb2d1
commit 06ce167c28
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
R2R - Minimal ROS2 Rust bindings
=============
Minimal bindings for ROS2 that does *not* require hooking in to the ROS2 build infrastructure. If you want a more ROS-oriented approach, see <https://github.com/ros2-rust/ros2_rust>. In these bindings, convenience Rust types are created by calling into the c introspection libraries to circumvent the .msg/.idl pipeline. The convenience types can of course be ignored when you need to trade convenience for performance, e.g. treating large chunks of data manually.
Minimal bindings for ROS2 that does *not* require hooking in to the ROS2 build infrastructure. If you want a more ROS-oriented approach, see <https://github.com/ros2-rust/ros2_rust>. In these bindings, convenience Rust types are created by calling into the c introspection libraries to circumvent the .msg/.idl pipeline. The convenience types can be ignored when you need to trade convenience for performance, e.g. treating large chunks of data manually.
How to use
------------
@ -11,7 +11,7 @@ You need to source your ROS2 installation before building/running. A couple of e
cargo build
cargo run --example subscriber_with_thread
```
In order to avoid building everything, put the message types you need in `msgs.txt` before building. (Or just `ros2 msg list > msgs.txt`).
In order to avoid building everything, put the message types you need in `msgs.txt` before building. (Or just `ros2 msg list > msgs.txt` if you want everything).
What works?
--------
@ -21,6 +21,7 @@ What works?
TODO
------------
- The code generation is currently just a big hack. Needs cleanup and refactoring.
- There is no proper abstractions for nodes etc. Reuse/share with <https://github.com/ros2-rust/ros2_rust>?
- Implement error handling and cleanup code.
- Implement error handling. Now all methods just return Err(()).
- Expose more of the RCL.