Hello I am trying to use sensor_msgs, Intellisense can read the sensor_msgs but when i try to build it with colcon it issues about sensor_msgs. I added sensor_msgs into config.toml but still it is not working.
The error :
error[E0433]: failed to resolve: could not find sensor_msgs in r2r
--> ahrar/src/data.rs:14:10
|
14 | use r2r::sensor_msgs::msg::Image;
| ^^^^^^^^^^^ could not find sensor_msgs in r2r
Config.toml :
IDL_PACKAGE_FILTER = { value = "std_msgs;geometry_msgs;sensor_msgs;px4_msgs" }
By the way i have tried to build it with cargo build, first it complained about geometry_msgs after adding it into IDL_PACKAGE_FILTER, errors gone for cargo.
Hello I am trying to use sensor_msgs, Intellisense can read the sensor_msgs but when i try to build it with colcon it issues about sensor_msgs. I added sensor_msgs into config.toml but still it is not working.
The error :
error[E0433]: failed to resolve: could not find
sensor_msgs
inr2r
--> ahrar/src/data.rs:14:10 | 14 | use r2r::sensor_msgs::msg::Image; | ^^^^^^^^^^^ could not findsensor_msgs
inr2r
Config.toml :
IDL_PACKAGE_FILTER = { value = "std_msgs;geometry_msgs;sensor_msgs;px4_msgs" }
By the way i have tried to build it with cargo build, first it complained about geometry_msgs after adding it into IDL_PACKAGE_FILTER, errors gone for cargo.