Replies

  • Hello Rolf,

    case MAVLINK_MSG_ID_RC_CHANNELS_RAW: / / 35
           ap_rc_ch3 = mavlink_msg_rc_channels_raw_get_chan3_raw (& msg);

    works great. Thank you. I would not have done it without your help.


    case MAVLINK_MSG_ID_RC_CHANNELS_SCALED: / / 34
           ap_rc_ch3 = mavlink_msg_rc_channels_raw_get_chan3_scaled (& msg);

    does not work. But it's not bad.

    Peter

    • Sorry, my misstake.. it should be:

      case MAVLINK_MSG_ID_RC_CHANNELS_SCALED: / / 34
             ap_rc_ch3 = mavlink_msg_rc_channels_scaled_get_chan3_scaled (& msg);

  • Rolf, I'm having issues. For some reason none of data in the ap_  GPS variables (eg ap_groundspeed) make it from MavLink_FrSkySPort.ino to FrSkySPort.ino. They all end up zero. Got any ideas?

    Not having real data from the GPS to work with, I took the values of the ap_ variables and assigned them in FrSkySPort.ino. Hurray data showed up on the Taranis. Only the gps_status (sent as T1) made it unmodified. Latitude and longitude degrees made it OK, but minutes got modified. For example 39 degrees 34.5846 minutes ended up as 39 degrees 20.7504 minutes and 75 degrees 43.9724 minutes came out as 75 degrees 26.3832 minutes. Here is an example of what I fed in: latlong=((393458460/100)*6);

    I know I'm doing something wrong. I just can't figure out what.

    Roger

    • Roger,

      The data for Lat. and Long you supply is a decimal number and the Taranis  convert this to  degrees and minutes

      check this.. http://www.onlineconversion.com/map_decimaldegrees.htm

      ap_groundspeed will be zero as long as you don't have real GPS data (with movement aka groundspeed)

      also my program checks the gps_fix and don't send any data as long as gps_fix is less than 3.( 3D lock)

      Online Conversion - Decimal Degrees
      Convert to and from decimal degrees and degress minutes seconds.
  • Thanks Rolf for providing this great solution!

    Most of the functions work well, and I find them very useful. There seem to be a few problems however.

    1) GPS speed always shows 0 for some reason

    2) GPS coordinates seem to be wrong. In particular my longitude is really off as you can see in the attached picture (i don't think -255 degrees even exists)

    Do you have any idea how to fix it? GPS coordinates are especially important to me in case of a fly away.

    Thanks

    Andrew

    20140316_190621.jpg

    • Try updating Taranis FW, I had the same issue.
      • My FW is the newest. I may try to reflash it again maybe. But it gave me no trouble so far, except this

        • try, I had exactly the same issue, after re-flash(in my case update) all working. 

          • Artem & Andrew, what is the fw version on yours Taranis? just to compare...

            • not at home so cannot reply right away, be back with info tonight.

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…