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
Hello, I am a new to rust and would like to use the given folder srv files inside my code, I am not sure about that till now what I have been trying to do is copy the folder ,
mod msg {
// Adjust package and service names to match your `.srv` files
rosrust::rosmsg_include!(
xarm_msgs / SetAxis,
xarm_msgs / SetInt16,
xarm_msgs / Move,
xarm_msgs / GetFloat32List
);
}
but getting this error
rosrust::client::<msg::xarm_msgs::GetFloat32List>("/xarm/get_position_rpy").unwrap();
| ^^^^^^^^^ could not find `xarm_msgs` in `msg`
Is there a specific way to achieve this like having a catkin_ws and build it or I can do it using simple cargo build , any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
Hello, I am a new to rust and would like to use the given folder srv files inside my code, I am not sure about that till now what I have been trying to do is copy the folder ,
my_rust_project/
├── Cargo.toml
├── src/
│ ├── main.rs
└── ros_srv/
├── SetAxis.srv
├── SetInt16.srv
├── Move.srv
└── GetFloat32List.srv
And trying to write code like
but getting this error
Is there a specific way to achieve this like having a catkin_ws and build it or I can do it using simple cargo build , any help would be much appreciated.
The text was updated successfully, but these errors were encountered: