roslibrust
roslibrust copied to clipboard
A rust client for working with ROS's rosbridge.
A simple subscriber created using roslibrust will fail to reconnect to a rosbridge that is repeatedly brought up and down. To reproduce: terminal 1: ```roscore``` terminal 2: ```rosrun rosbridge_server rosbridge_websocket```...
## Description This PR should provide some first steps for improving the `Box` shortcuts, mainly in the ROS1 part of the library. Feedback is always welcome! ## Fixes Closes: #118...
https://github.com/Carter12s/roslibrust/actions/runs/4556418853/jobs/8036747405?pr=91 ``` test rosbridge::integration_tests::integration_tests::bad_message_recv ... FAILED test rosbridge::integration_tests::integration_tests::error_on_non_existent_service ... ok test rosbridge::integration_tests::integration_tests::parallel_construction ... ok test rosbridge::integration_tests::integration_tests::self_publish ... ok test rosbridge::integration_tests::integration_tests::test_disconnect_returns_error ... ok test rosbridge::integration_tests::integration_tests::test_strong_and_weak_client_counts ... ok test rosbridge::integration_tests::integration_tests::timeouts_new ... ok...
Due to lack of use of $crate in the generated proc_macro code, crates using the proc_macro must themselves depend on serde (and now smart_default) to not have compiler errors. We...
## Description This introduces ROS1 native service clients. I still need to test it and write an example, and there are a lot of tangential changes which I expect I...
Ran into a use case where some folks had a massive single package full of all of their messages. A crate may not want to generate ALL the messages in...
Lots of Boxed dyn Errors, it's a mess.
In the `service_server.rs` example, I've noticed that there is: ```rust let _handle = client .advertise_service::("/my_set_bool", my_service) .await?; ``` and `my_service` is a simple `fn` here, but many services are often...
rosmaster may assume this when the node destructs, but would be good and proper to call this to unregister the publisher.