Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in drone_node package- VehicleStatus has no member named ‘engine_failure’ #42

Open
sumedhreddy90 opened this issue Aug 8, 2022 · 0 comments

Comments

@sumedhreddy90
Copy link

sumedhreddy90 commented Aug 8, 2022

Seems like the VehicleStatus has engine_failure msg. However, make is throwing below error

--- stderr: drone_node                                
/home/sumedh/raas_ws/src/MIPS-RAAS-Challenge/drone_node/src/drone_node.cpp: In lambda function:
/home/sumedh/raas_ws/src/MIPS-RAAS-Challenge/drone_node/src/drone_node.cpp:64:48: error: ‘using element_type = const struct px4_msgs::msg::VehicleStatus_<std::allocator<void> >’ {aka ‘const struct px4_msgs::msg::VehicleStatus_<std::allocator<void> >’} has no member named ‘engine_failure’
   64 |               msg_status.engine_failure = msg->engine_failure;
      |                                                ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/drone_node.dir/build.make:76: CMakeFiles/drone_node.dir/src/drone_node.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/drone_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< drone_node [8.27s, exited with code 2]

Summary: 17 packages finished [17.6s]
  1 package failed: drone_node
  1 package had stderr output: drone_node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant