Hi, i am trying to develop a wireless computer interface to control the quadrotor, rather than using the RC Tx.
Firstly, Labview will be used to create the interface. I am using the VISA serial port as it detects the xbee pro from USB port, also allows us to set the baud rate,data bits and etc. (Picture attached).
Secondly, the buttons are set to send a packet of data to the APM wirelessly. For example, if i press forward, the button will generate a string "111" to the APM and the APM is set to listen to the interface and react accordingly to the packet received. There are also Pitch, Roll & Throttle indicator created in the interface and constantly listening to the APM's pitch, roll & trottle data.
Ok, well said enough right? but i have problems! I am new to quadrotor and arduino.
(not to say i don't know how to program, but i am used to deal with PICs and i don't know which of the arduino port is the input for the x,y & z for the gyros and also which port to write to give command and moreover i don't know anything about the quadrotor stabilize mode algorithm)
therefore, i don't have the ability to program a quadrotor stabilize mode which follows the input of the throttle given by the interface.
So, I came out with 2 plans
1st is to use and modify the arducopter source code and then load it.(but the source code is way too complicated for me to understand)
2nd is to write a simply code which only enable the quadrotor to stabilize and listening to the command gave.
Something like :
void setup() {
Serial.begin(57600);
}
void loop() {
stabilize mode algorithm;
Serial.write();//
Serial.read(); // with interrupt
if forward is pressed, set pitch to lower.
}
But whichever plan i use, i am going to need help as in providing me the port information and algorithm in stabilizing the quadrotor.
Sincerely hope that some1 might give advice on which plan is more likely to works and help me out in showing links, or give me some related code example to reference.
Thank you for spending time and reading it.
Keep in touch,
Clement
Tags:
Permalink Reply by Dave on March 8, 2012 at 3:41pm Are you aware that the Mission Planner already supports control of the quad over the Xbee wireless link, using a joystick or game controller : http://code.google.com/p/arducopter/wiki/Joystick
Perhaps you could link Labview into that.
Permalink Reply by Hue Mun Yeow on March 8, 2012 at 6:07pm yea, i am aware of it, but i don't know how i am going to link it to labview. perhaps u have any reference link?
thanks in advance, appreciate alot !
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.110 members
9 members
182 members
1289 members
140 members
© 2013 Created by Chris Anderson.
Powered by
