Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BHU6
Beginner
1,057 Views

How to Control RTF by Code?

Hello All,

I'm a new developer for Inter drone.

My task is to control the drone to fly by my program( running on Ubuntu 14.04/C++/connected drone by wifi) rather than by remote control transmitter.

I do not need to change the original code of the drone.

So, would you like give me some suggestions?

1) Where can I find the documents and examples?

1) How can I simulate the program in my computer?

Thanks.

0 Kudos
4 Replies
idata
Community Manager
82 Views

Hello philipbinbin,

 

 

Thank you for your interest in the Intel® Aero Ready to Fly Drone.

 

 

The information that is available regarding controlling the drone via coding is focused on Python and not C++. The reason behind this has to do with the various libraries available. For more information on this matter, please check the following link: https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python.

 

 

I also suggest you to take a look at this community thread: https://communities.intel.com/message/458890# 458890 https://communities.intel.com/message/458890# 458890, various useful comments, examples and links are shared by community members Soubhi and intel_jassowski.

 

 

There is an article related to simulating with the Aero Compute Board that you may find interesting:

 

 

Set Up a Simulation Environment with the Intel® Aero Compute Board

 

https://software.intel.com/en-us/articles/intel-aero-compute-board-developer-guide-for-setting-up-a-...

 

 

Please let me know if you find this information useful.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
BHU6
Beginner
82 Views

Thank you Andres V.

I found the following sentences in the link: https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python.

"But the choice is yours. You have access to the board as root and can code in the language of your choice. We also document C/C++ programming following the Yocto Project methods, as it may be interesting for production embedded engineers."

Does it means that I can use Yocto Project methods(C/C++) to control the RTF?

Bin

idata
Community Manager
82 Views

Hello Bin,

 

 

Yes, you can use those methods, but that hasn't been documented, that is why I suggested using Python.

 

 

But if you decide to use C/C++ programming, we will appreciate if you share your findings with the community.

 

 

If you have any other update or question, don't hesitate to contact us.

 

 

Have a nice day.

 

 

Regards,

 

Andres V.
BHU6
Beginner
82 Views

Hello Andres,

Thank you for your helpful information.

Sure, I will appreciate to share my experience when I finish coding with C/C++.

Wishes,

Bin

Reply