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 @chr1sa: You can see this in person in two weeks for our next live event with real cars. It's great fun for adults and kids alike, and…
yesterday
DIY Robocars via Twitter
RT @chr1sa: The final race (1:24) at yesterday's @DIYRobcars virtual event was our best. It's only two minutes long but it has everything,…
yesterday
DIY Robocars via Twitter
RT @chr1sa: The monthly @diyrobocars virtual race is starting now! https://www.twitch.tv/roboticists2
Saturday
Mike Whitney liked Mike Whitney's profile
Jul 19
DIY Robocars via Twitter
Jul 2
DIY Robocars via Twitter
Jun 26
Abdulatif Tlaib liked Ryan's profile
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Jun 20
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Jun 18
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Jun 18
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
More…