Page 1 of 1

How to show Attitude in textbox

PostPosted: Sun Nov 27, 2011 5:02 pm
by madcobra
Hi all,

Thanks for Tom share the code of Gluonconfig. I would like to show Attitude in Textbox . The method like this is correct ? :

void serial_AttitudeCommunicationReceived(Communication.Frames.Incoming.Attitude attitude)
{
artificialHorizon.pitch_angle = attitude.PitchDeg;
artificialHorizon.roll_angle = attitude.RollDeg;
_X.Text = attitude.PitchDeg.ToString();
_Y.Text = attitude.RollDeg.ToString();
}

But nothing happen

Thanks,

JM

Re: How to show Attitude in textbox

PostPosted: Mon Nov 28, 2011 5:07 pm
by Tom
Hi JM,

This seems to be correct... Could you attach the complete file to have a closer look?

Re: How to show Attitude in textbox

PostPosted: Sun Dec 04, 2011 10:39 am
by madcobra
Thanks Tom,
The data of AHRS didn't show on C# develoment environment but when I ran it normal...It 's working.

Re: How to show Attitude in textbox

PostPosted: Sun Dec 04, 2011 10:42 am
by Tom
Ok great! :-)