Comment by James Turner on April 21, 2010 at 2:54pm
Thats a shame, it looks a good system. is there no way to increase it?
Comment by flybot on April 21, 2010 at 3:18pm
yeah, I could do. Apparently I was working with an older version of the software (Thanks wiilliam and Peter). Now I have 4 messages per second and delay much better. The problem now is that I work with VB6 and I have not gotten a free OCX to show the pitch and roll with a pleasant image, I draw a line all the time and consuming very much machine time.
Comment by Marc Daniels on April 21, 2010 at 4:20pm
tried vb.net? these instruments are free, I use them on my c# ground station.
Comment by James Turner on April 22, 2010 at 5:36am
Marc do these instruments work with VB? I'm using GMS controls which are fine but not as nice looking.
Comment by viky on April 23, 2010 at 8:24pm
The same problem i m facing , can you please tell me how u got the message rate to four times per second
Comment by flybot on April 24, 2010 at 12:26am
Viky, I download the code from project google, click on source/browse/trunk, file by file.
Comment by flybot on April 24, 2010 at 12:27am
James, Please telle me where can I download gms controls?
Comment by Carlito Oliveira on April 24, 2010 at 4:48am
hello man... add a interruption on timer 5 and call the serial output data on the rate u want.... u just need to respect the maximum data transfer of your zigbee...I'm using 5Hz frequency of transmission and it's quite enought.
the code is below:

void init_T5( void )
{
T5CON = 0b1000000000100000 ; //set Timer 5 on with prescaler 64
IPC5bits.T5IP = 2 ; // priority 3
TMR5 = 0 ; // start timer at 0

//PR5 = 12500 ; // .2s period
PR5 = 6250; // .1s period

IFS1bits.T5IF = 0 ; // clear the interrupt
IEC1bits.T5IE = 1 ; // enable timer 5 interrupt

return;
}


void __attribute__((__interrupt__,__no_auto_psv__)) _T5Interrupt(void)
{
interrupt_save_extended_state ;

indicate_loading_inter ;

serial_output_data() ; //send data

//PR5 = 12500 ; // .2s period
PR5 = 6250; // .1s period

IFS1bits.T5IF = 0 ; // clear the interrupt

interrupt_restore_extended_state ;
return;
}
Comment by James Turner on April 24, 2010 at 6:01am
Mauricio, the GMS can be download from http://www.globalmajic.com
Comment by flybot on April 26, 2010 at 8:02am
Hello James, I can't find controls free version. Do you pay for ?

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

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.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service