opensubscriber
   Find in this group all groups
 
Unknown more information…

f : flightgear-users@lists.sourceforge.net 21 May 2012 • 8:24PM -0400

Re: [Flightgear-users] How to view the flight data format from flight gear
by Balaji Veeraiyan

REPLY TO AUTHOR
 
REPLY TO GROUP




HI,
                   I had success in receiving integer by specifying the
number of bytes at the receiving end as 4 the data is displayed in the 4th
row of the display block, I exported the data from the incoming pocket on
to workspace and I found that the integer data is available in the 4th
column but when I switch the data type to float and specify the size as 4 I
get values out of range in all the four rows.
In UDP packet the memory allocation for int and float is 4 bytes.

On Thu, May 17, 2012 at 6:28 PM, Curtis Olson <curtolson@gmai...> wrote:

> 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.v9@gmai...>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 <curtolson@gmai...>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.v9@gmai...>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@list...
>>>> 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@list...
>>> 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@list...
>> 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@list...
> 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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.