MAVROS raspberry compile error
Hi,
I'm trying to compile code some on my raspberry that uses the MAVROS package, on my computer the exact same code compiles perfect, but on my raspberry pi I get following error.
fatal error: mavros_msgs/CommandBool.h: No such file or directory
I have no idea what i did wrong, maybe I installed the package wrong, idk.
Specs:
- Computer : ROS kinetic, ubuntu 16.04
- Raspberry : ROS kinetic, Rasbian
Thanks!
How do you build the package?
I could find a proper way, so i did it this this way. I have no idea how i did it on my computer, it has been months since I builded it.
Try to clone the mavros repository again from here and follow these install instructions.
If i try rosdep install mavros after cloning the repository, I get following error:
How did you install ROS on rpi? If you've built it from source like described here you can add mavros package to rosinstall_generator command. Look at section 4 of the guide. This is how I did it on my rpi.
After a weekend off and installing a fresh copy of raspbian I was finally able to install mavros. What is the best way to install ros packages? Because doing it with rosinstall_generater and the other steps in section 4, for every package takes ages.
Idk what the best way is, but I do it this way. It takes some time to compile but it's just a few commands and script will do it for you.
Some time, an hour or two :o.