You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0433]: failed to resolve: could not find `std_msgs` in `rosrust_msg`
--> src/main.rs:51:32
|
51 | let msg = rosrust_msg::std_msgs::String {
| ^^^^^^^^ could not find `std_msgs` in `rosrust_msg`
For more information about this error, try `rustc --explain E0433`.
You need to have ROS installed, and have it sourced in whatever environment you run it in. Alternatively you can use the ROSRUST_MSG_PATH environment variable to point towards the location where you store the msg files without needing to install ROS on the particular machine.
When attempting to run the following example: https://github.com/adnanademovic/rosrust/blob/master/examples/examples/publisher_node.rs
I receive the following error:
Versions:
Granted, I may be missing something that should be completely obvious, but I'm unsure as to why the example file will not compile.
The text was updated successfully, but these errors were encountered: