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
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
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
More…