I bought Erle hexa copter, and try to control it in indoor environment.
But actually I have some probelems.
1.Without GPS how can I give any data about drone's position.
-I know there are many localization method, I'm asking about how to give the 'FAKE GPS' data to the drone controller.
2.I bought ROS capable 1-d laser sensor(for altitude I will not use barometer) and IMU.
How can I change the topic ? - It may be similar with 'FAKE GPS'.
For short. I don't want to the sensor inside Erle brain. How can I use my own data instead of the sensors that inside of Erle brain?
3.How can I control it in c++ code?
There were many packages inside ErleBrain.(ardupilot, MAV ROS)
Which ROS package should I use?
As I understand I should use MAVROS to control drone. Am I correct?
Always thanks for your consideration.