rijesha / mavlink-interface

The purpose of this repository is to provide a cpp multithreaded mavlink interface. Features include retrieval of last received msg based on id, binding callback function for new messges received, threadsafe message writing, periodic messages, and vision/offboard control.
2 stars 2 forks source link

Can ı make this project using dronekit? #2

Open ahmetozkaraca opened 3 years ago

ahmetozkaraca commented 3 years ago

Hello rijesha, I have a positison estimation system for UAV. It is different from vision estimation systems. I just want to send the calculated position through mavlink. Can ı make this using dronekit? Do you have any suggestion for me?

Thanks for sharing your project. It is really mind-opening project.

rijesha commented 3 years ago

I haven't looked at the latest fw for px4 or ardupilot but the vision position estimate for px4 would take the vision position estimate and merges it into the estimation filter.

if you want to control a drone with ardupilot i have been using the set_attitude_target message and running the higher level control loops on the onboard computer.

Dronekit with python should be easy to use, the interface for it is written pretty well and some of the multithreading is already handled for you.

ahmetozkaraca commented 3 years ago

Thanks for your reply.

I am controlling drone with ardupilot. I made a system that calculates the local position. I can not send this position datas to the ardupilot. I am now controlling over rc channel override method. But it is not stable as ı want.

I just want to send drone you are now 1 meter back or 0.5 meter front. But ı can not send this datas. What mavlink messega dou you suggest?