dsuarezv / mavlink.net

A better MavLink object generation for C#. Richer message classes are generated from the object definitions.
38 stars 35 forks source link

Missing UasMessage Class #9

Closed WillBaldwin closed 9 years ago

WillBaldwin commented 9 years ago

mavlinkgen --output=Ardupilotmega.cs ardupilotmega.xml mavlinkgen --output=Pixhawk.cs pixhawk.xml

After generation both Ardupilotmega.cs, Pixhawk.cs, appear to be missing the UasMessage class that are inherited by 131 other classes such as UasHeartbeat: UasMessage{}...

I know I am doing something wrong I just don't know what yet. Thoughts?

BTBlueSkies commented 9 years ago

Ya.. after you generate the mavlink classes, copy that file to the mavlink.net project. That is the project that has the UasMessage class and all the supporting classes to send/receive. It works out of the box but you need to spend some time reading the code.

HBlue commented 9 years ago

hi i didnt get the mavlink.net.dll..............where i have to chose my xml file.........iam new to .net

HBlue commented 9 years ago

in my proj(c#) i have to display pitch,yaw,roll,lat,lon,alt....mission planner was in c# but i didnt understand ....so i want to use this mavlink.net .....please help me

BTBlueSkies commented 9 years ago

Dude, man you gotta read the code. It takes time.. no easy roads.. read the code :)

On Wed, Dec 24, 2014 at 12:14 AM, HBlue notifications@github.com wrote:

in my proj(c#) i have to display pitch,yaw,roll,lat,lon,alt....mission planner was in c# but i didnt understand ....so i want to use this mavlink.net .....please help me

— Reply to this email directly or view it on GitHub https://github.com/dsuarezv/mavlink.net/issues/9#issuecomment-68027128.

HBlue commented 9 years ago

I tried to read that one... but it was linked with many things....so i choose mavlink.net.....which functions i have to call to receive the gps and accelerometer data?

dsuarezv commented 9 years ago

Have a look a this other project, it uses mavlink.net

https://github.com/dsuarezv/mavlinkclient-cs

HBlue commented 9 years ago

thank you so much...

BTBlueSkies commented 9 years ago

Hi dsuarezv/mavlink.,

I'd like to add you to my professional network on LinkedIn.

Accept: https://www.linkedin.com/blink?simpleRedirect=3gSczcMd3ATdjcTcP4PdP4SejkZh4BKrSBQonhFtCVF9C9NtkUStzB6fnBBiShBsC5EsOpQsSlRpRZBt6BSrCAZqSkConhzbmlQqnpKqiRQsSlRpORIrmkZpSVFqSdxsDgCpnhFtCV9pSlipn9Mfm4CujgJcTpMpzlWd6AJonpJsmdEbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5961731404847943680_500&markAsRead=

You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=7AQbjdSs6oRuzhFbm5Srn5zq2QZp6BB9Bp9tnd7cPdTcAAJkjgNojAJiiR5mBlPj3xMkmV5kAlDsCpxe79PoQcJhzdMgPxpl49Fkjp9iS8Uh3hBclZTjQxxcBZ6jTlDll18r5hiqBEJgzlCqRlQe5gPh4pOcPtEpAFxpRtSoAMPs6sQkQVJr4tykSJikmJ3kClQqCdThAhRe50Tom9UjRdvhlZBomZormdNtCxirT5Frz1AhT9Fe4terjlkdQ5DgRcVol5mpANku79lgk51pR8MrlZasm5limJ7kk4Zp6BLr2pQsSlRpRZBt6BSrCAZqSkCkjoPp4l7q5p6sCR6kk4ZrClHrRhAqmQCrDlIfngCujgJcTpMpzlWd6AJonpJsmdEbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5961731404847943680_500&markAsRead=This email was intended for dsuarezv/mavlink. net. Learn why we included this at the following link: https://www.linkedin.com/blink?simpleRedirect=0Ue3sQfmh9pmNzqnhOoipQsSlRpRZBt6BSrCAZqSkCr79lpmdFtD9BkT9BrmZQsTlzfm4CujgJcTpMpzlWd6AJonpJsmdEbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5961731404847943680_500&markAsRead= © 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA