I've never done matlab communication myself, so hopefully someone else can
jump in here.  But if you still get random values (or numbers that are
entirely out of range and wrong) then perhaps another thing would be to
check very carefully your data types and alignment on the receiving end.
 Try to get the first value or two in the structure working and proceed
from there.

On Wed, May 16, 2012 at 11:21 PM, Balaji Veeraiyan <balaji...@gmail.com>wrote:

> Hi Curt,
>            Thank you for your reply, I checked both the byte order still
> I'm getting random values.. :(
>
>
> On Wed, May 16, 2012 at 9:08 PM, Curtis Olson <curtol...@gmail.com> wrote:
>
>> Hi Balaji,
>>
>> Perhaps one thing to double check is byte order (little endian vs. big
>> endian.)
>>
>> Regards,
>>
>> Curt.
>>
>>
>> On Wed, May 16, 2012 at 1:13 AM, Balaji Veeraiyan <balaji...@gmail.com>wrote:
>>
>>>
>>> Hi everyone,
>>>                 In my project I'm trying to interface the* Matlab* 
>>> with*Flight gear.
>>> *I want to send the roll,pitch,yaw and their corresponding orientation
>>> such as roll rate,yaw rate and pitch rate to Matlab. I'm trying it through
>>> UDP I can send the data to Matlab but I'm getting some random values I
>>> didn't know why this happened and also I think the problem is in receiving
>>> data because i don't know in what data format the Flight gear send the data
>>> to Matlab. Now i'm set data type as double at the receiving end so I'm
>>> getting these random values . So how to see the data format in flight gear
>>> i want to know whether the data is in double or structure format.. If
>>> anyone did this pls help me I'm get struck here I cant continue my project
>>> furthermore so pls help me
>>> --
>>>
>>> Thanks and Regards,
>>>
>>> Balaji Veeraiyan
>>>
>>> Executive Trainee-Aerospace
>>>
>>> L & T - I E S
>>>
>>> Bangalore - 560045, INDIA
>>>
>>> Mob: +91 74 1118 7025
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Flightgear-users mailing list
>>> Flightgear-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/flightgear-users
>>>
>>>
>>
>>
>> --
>> Curtis Olson:
>> http://www.atiak.com - http://aem.umn.edu/~uav/
>> http://www.flightgear.org - http://gallinazo.flightgear.org
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Flightgear-users mailing list
>> Flightgear-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/flightgear-users
>>
>>
>
>
> --
>
> Thanks and Regards,
>
> Balaji Veeraiyan
>
> Executive Trainee-Aerospace
>
> L & T - I E S
>
> Bangalore - 560045, INDIA
>
> Mob: +91 74 1118 7025
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Flightgear-users mailing list
> Flightgear-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-users
>
>


-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org - http://gallinazo.flightgear.org
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to