lucasw / ros_one2z

Similar node graphs in vanilla ros1 and ros2 and also zenoh, focus on localhost using python but also C++ and maybe rust
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

22.04 github action to build roslibrust ros1_rlr node #12

Closed lucasw closed 5 days ago

lucasw commented 5 days ago

Currently it's not finding debian apt install messages, need to create ROS_PACKAGE_PATH to point to them

   Compiling ros1_rlr v0.1.0 (/home/runner/work/ros_one2z/ros_one2z/catkin_ws/src/ros_one2z/ros1_rlr)
error: No ROS packages found while searching in: [], relative to "/home/runner/work/ros_one2z/ros_one2z/catkin_ws/src/ros_one2z/ros1_rlr"
 --> src/main.rs:4:1
  |
4 | roslibrust_codegen_macro::find_and_generate_ros_messages!();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `roslibrust_codegen_macro::find_and_generate_ros_messages` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0433]: failed to resolve: use of undeclared crate or module `std_msgs`
  --> src/main.rs:57:41
   |
57 |     let float_msg = Arc::new(Mutex::new(std_msgs::Float32::default()));
   |                                         ^^^^^^^^ use of undeclared crate or module `std_msgs`
error[E0433]: failed to resolve: use of undeclared crate or module `geometry_msgs`
  --> src/main.rs:66:33
lucasw commented 5 days ago

bde0098a6d2baa5d889c60a4a2c8e45a937bbf06 sets ROS_PACKAGE_PATH and cargo build succeeds