ros-nalgebra
Generate code to convert geometry_msgs into nalgebra structs, for rosrust.
Pre-requirements & dependencies
How to use
Easy usage: ros_nalgebra::rosmsg_include!()
Use ros_nalgebra::rosmsg_include instead of rosrust::rosmsg_include in your code.
use nalgebra as na;
Automatically defined messages by ros_nalgebra::rosmsg_include!()
Below messages are automatically included by ros_nalgebra::rosmsg_include!(). Do not include them in your code.
geometry_msgs/Point,
geometry_msgs/Pose,
geometry_msgs/Quaternion,
geometry_msgs/Transform,
geometry_msgs/Vector3,
Other usage: ros_nalgebra!() and ros_nalgebra_msg!()
If some messages are included already (for example in other crate), you can use ros_nalgebra_msg!(). The arguments are the rust namespace of the geometry_msgs (example:msg) and the message type (example: Pose for geometry_msgs/Pose, Point for geometry_msgs/Point).
Example
In some_other_crate,
Then you can use ros_nalgebra::ros_nalgebra_msg!() in your crate.
// generate conversion code only for `geometry_msgs/Point` which is defined in `some_other_crate::msg`.
ros_nalgebra_msg!;
Supported conversions
See lib.rs.
TODO
Handle dependencies.