LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2015, 03:50 PM   #1
UAV_man
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
Implementing a UAV controller software


Hello everyone!

I'm building a quad-copter UAV, equipped with the following payload:
a. Raspberry pie running "Raspbian GNU/Linux" (the UAV's payload controller)
b. IR-Camera (connected to RP)
c. 3-axis Gimbal (connected to RP via serial communication)
d. Laser Pointer (Controlled from RP via GPIO)
e. Wifi transceiver (for ground control, telemetry and video transmitting).

I'm seeking your advice on how to implement the program structure? (architecture-vise).
I can implement the software using C or Python.

Thanks for your help.

Last edited by UAV_man; 07-13-2015 at 03:58 PM.
 
Old 07-14-2015, 06:50 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
  1. Making a remote control copter with a laser pointer on it sounds like an easy way to get arrested
  2. Decide what language you are going to use, although I feel that C would be a better option
  3. Decide what the device does if/when it goes out of range of the controller, such as something deterministic and safe. Same for situations where battery becomes critically low or other fault conditions
  4. Determine how to speak to all of the hardware by writing programs to prototype this
  5. Control should always overrule niceties
  6. Have one main loop along with a thread for the receiver from the WIFI. Note: If you look at my list of blogs, there's one about using select() and some other ones on how to architect serial USB receivers, and finally one about making a daemon program to control sub-processes
  7. The best thing to do is start your architecture with some thoughts like these and then describe it in your thread for further thoughts from people
 
Old 07-14-2015, 12:00 PM   #3
UAV_man
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you very much for the replay, and for your help rtmistler.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Micro-UAV controller features open, modifiable design LXer Syndicated Linux News 0 12-31-2014 01:42 AM
[SOLVED] Implementing GIS Software varoluscuprens Linux - Software 1 06-21-2013 01:32 AM
Develop GUI using GTK+ ,Glade for uav Ground station nipunreddevil Programming 2 07-20-2009 09:09 PM
LXer: IBM Pledges Free Access to Patents Involved in Implementing 150+ Software Standards LXer Syndicated Linux News 0 07-12-2007 08:01 AM
LXer: Debian Linux controls copter-like UAV LXer Syndicated Linux News 1 04-03-2007 03:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration