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
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
20 hours ago
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Saturday
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Thursday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
More…