Closed phil-opp closed 4 months ago
I'm still working on fixing the build on the Windows CI runner, which uses a non-standard target dir. Otherwise, this should be ready for an initial round of testing. I tried a simple example with the turtlesim and both publish and subscribe seem to work.
I'm still working on fixing the build on the Windows CI runner, which uses a non-standard target dir.
This should be fixed with https://github.com/dora-rs/dora/pull/425/commits/3b1777c2e240c72101900ebb922b4a990d38a999.
For example, the generated struct for the Twist message looks like this:
struct Twist final {
::geometry_msgs::Vector3 linear;
::geometry_msgs::Vector3 angular;
bool operator==(Twist const &) const noexcept;
bool operator!=(Twist const &) const noexcept;
using IsRelocatable = ::std::true_type;
};
I added some usage instructions in 70fb49b. I think this PR is ready for another round of review.
There are still multiple things that we want to improve, but I think it's better to do this in follow-up PRs.
Build and Usage Instructions
Usage Example:
Also part of this PR:
Option<String>
is not FFI-safe.