Replies

  • Hi,

    It's telemetry log, right? It has got to be this, from Log.pde:

    static void NOINLINE send_raw_imu2(mavlink_channel_t chan)
    {
        mavlink_msg_scaled_pressure_send(
            chan,
            millis(),
            (float)barometer.get_pressure()/100.0,
            (float)(barometer.get_pressure() - barometer.get_ground_pressure())/100.0,
            (int)(barometer.get_temperature()*10));
    }

    Temperature is:

    float AP_Baro_MS5611::get_temperature()
    {
        // callers want the temperature in 0.1C units
        return Temp/10;
    }

    and the Temp variable is in 1/100 degrees C. So the log data appears to be 100ths of degrees C divided by 10, truncated and then multiplied by 10 again ... that is, in 100th of degrees C but rounded down to nearest lower 1/10 degree.

    Pressure is returned by the function in AP_Baro:

    get_pressure() : return pressure in mbar*100 units

    and then divided by 100 in Log.pde, so it appears to be mBar = hPa.

    Which sort of numbers do you see, is it consistent with this?

    Regards

    Soren

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…