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 @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Monday
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Monday
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Monday
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
DIY Robocars via Twitter
Aug 24
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
More…