Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Firmware Structure (Adding VTOL support) - Clarifications

Firmware Structure (Adding VTOL support) - Clarifications

Scheduled Pinned Locked Moved Ask your questions right here!
20 Posts 2 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Eric KatzfeyE Eric Katzfey

    @garret If the Iris configuration doesn't produce timeouts then possibly it's Gazebo not sending sensor updates fast enough. But I'm just guessing at this point. We've never tried a VTOL configuration so you are in new territory here. I'd first take a PX4 log and verify that the DSP CPU load is not exceeding 65 - 70%. Then perhaps start putting some diagnostic prints around the reception of the sensor messages from Gazebo and see how often they are being sent. Just have to start isolating the root cause.

    G Offline
    G Offline
    garret
    Contributor
    wrote on last edited by
    #11

    @Eric-Katzfey An update from me:

    I have looked at the cpu usage from voxl-portal and got even more confused. When comparing with my previous posts, the results differ again. To summarize:

    • after adb shell into voxl2, "top" suggested total linux cpu usage of ~70% when running px4
    • voxl-inspect-services gave about ~15%
    • PX4 logs give varying cpu usage from 0% to 88% depending on the core
    • voxl portal outputs about 10% cpu usage on every core when running px4 hitl sim.

    Is there a reason all these sources differ so much?

    I also looked further into potential reasons for timeout errors on vtol. Keeping px4 parameters identical, the error shows up only when loading a vtol frame in gazebo docker. I wonder if there is anything special that you can think of about how gazebo docker is treating a vtol vs multicopter? I looked into both .world and .sdf files line by line, but nothing stood out. Wondering if there is something I am missing somewhere else.

    Lastly, to follow up on super low rate for "sensor_mag" and "vehicle_magnetometer" from the px4 log.
    @garret said in Firmware Structure (Adding VTOL support) - Clarifications:

    frequency.png

    favicon

    Google Docs (drive.google.com)

    Identical frequency in both multicopter and vtol case makes me wonder if there is a hardcoded bottleneck somewhere for this specific data - could you point it out to me if that is the case?

    Hoping to hear from you and thank you for your cooperation.

    Eric KatzfeyE 3 Replies Last reply
    0
    • G garret

      @Eric-Katzfey An update from me:

      I have looked at the cpu usage from voxl-portal and got even more confused. When comparing with my previous posts, the results differ again. To summarize:

      • after adb shell into voxl2, "top" suggested total linux cpu usage of ~70% when running px4
      • voxl-inspect-services gave about ~15%
      • PX4 logs give varying cpu usage from 0% to 88% depending on the core
      • voxl portal outputs about 10% cpu usage on every core when running px4 hitl sim.

      Is there a reason all these sources differ so much?

      I also looked further into potential reasons for timeout errors on vtol. Keeping px4 parameters identical, the error shows up only when loading a vtol frame in gazebo docker. I wonder if there is anything special that you can think of about how gazebo docker is treating a vtol vs multicopter? I looked into both .world and .sdf files line by line, but nothing stood out. Wondering if there is something I am missing somewhere else.

      Lastly, to follow up on super low rate for "sensor_mag" and "vehicle_magnetometer" from the px4 log.
      @garret said in Firmware Structure (Adding VTOL support) - Clarifications:

      frequency.png

      favicon

      Google Docs (drive.google.com)

      Identical frequency in both multicopter and vtol case makes me wonder if there is a hardcoded bottleneck somewhere for this specific data - could you point it out to me if that is the case?

      Hoping to hear from you and thank you for your cooperation.

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #12

      @garret You have to be careful looking at CPU utilization on the Linux side. Sometimes the number reflects usage on a single core or the usage of a single process and sometimes it is total usage across all cores. The utilization on the DSP is what usually matters more for PX4 since most of the code runs on the DSP.

      1 Reply Last reply
      0
      • G garret

        @Eric-Katzfey An update from me:

        I have looked at the cpu usage from voxl-portal and got even more confused. When comparing with my previous posts, the results differ again. To summarize:

        • after adb shell into voxl2, "top" suggested total linux cpu usage of ~70% when running px4
        • voxl-inspect-services gave about ~15%
        • PX4 logs give varying cpu usage from 0% to 88% depending on the core
        • voxl portal outputs about 10% cpu usage on every core when running px4 hitl sim.

        Is there a reason all these sources differ so much?

        I also looked further into potential reasons for timeout errors on vtol. Keeping px4 parameters identical, the error shows up only when loading a vtol frame in gazebo docker. I wonder if there is anything special that you can think of about how gazebo docker is treating a vtol vs multicopter? I looked into both .world and .sdf files line by line, but nothing stood out. Wondering if there is something I am missing somewhere else.

        Lastly, to follow up on super low rate for "sensor_mag" and "vehicle_magnetometer" from the px4 log.
        @garret said in Firmware Structure (Adding VTOL support) - Clarifications:

        frequency.png

        favicon

        Google Docs (drive.google.com)

        Identical frequency in both multicopter and vtol case makes me wonder if there is a hardcoded bottleneck somewhere for this specific data - could you point it out to me if that is the case?

        Hoping to hear from you and thank you for your cooperation.

        Eric KatzfeyE Offline
        Eric KatzfeyE Offline
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #13

        @garret Unfortunately, I only have experience with the IRIS model in Gazebo so cannot comment on why it would act differently with the VTOL.

        1 Reply Last reply
        0
        • G garret

          @Eric-Katzfey An update from me:

          I have looked at the cpu usage from voxl-portal and got even more confused. When comparing with my previous posts, the results differ again. To summarize:

          • after adb shell into voxl2, "top" suggested total linux cpu usage of ~70% when running px4
          • voxl-inspect-services gave about ~15%
          • PX4 logs give varying cpu usage from 0% to 88% depending on the core
          • voxl portal outputs about 10% cpu usage on every core when running px4 hitl sim.

          Is there a reason all these sources differ so much?

          I also looked further into potential reasons for timeout errors on vtol. Keeping px4 parameters identical, the error shows up only when loading a vtol frame in gazebo docker. I wonder if there is anything special that you can think of about how gazebo docker is treating a vtol vs multicopter? I looked into both .world and .sdf files line by line, but nothing stood out. Wondering if there is something I am missing somewhere else.

          Lastly, to follow up on super low rate for "sensor_mag" and "vehicle_magnetometer" from the px4 log.
          @garret said in Firmware Structure (Adding VTOL support) - Clarifications:

          frequency.png

          favicon

          Google Docs (drive.google.com)

          Identical frequency in both multicopter and vtol case makes me wonder if there is a hardcoded bottleneck somewhere for this specific data - could you point it out to me if that is the case?

          Hoping to hear from you and thank you for your cooperation.

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #14

          @garret This is the code that deals with the Mavlink messages coming in from Gazebo and the sending of Mavlink messages back to Gazebo: https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/src/drivers/dsp_hitl/dsp_hitl.cpp

          G 2 Replies Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @garret This is the code that deals with the Mavlink messages coming in from Gazebo and the sending of Mavlink messages back to Gazebo: https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/src/drivers/dsp_hitl/dsp_hitl.cpp

            G Offline
            G Offline
            garret
            Contributor
            wrote on last edited by
            #15

            @Eric-Katzfey I am 99% confident I found the issue. When running gazebo for IRIS, the real time factor is 1. When running vtol the real time factor drops to ~0.5 or lower. I just tried running gazebo for iris and manually lower the real time factor. i was able to replicate the issue. I think it is because in the mavlink communication script you shared the update for mag and baro happens only in cases where HIL_SENSOR messege is receiver. If the message is delayed, the sensors timeout.

            I will start looking into troubleshooting, but if you know what can be done to speed up gazebo's computation or to ease the load of VTOL model, I would appreciate the hint

            G 1 Reply Last reply
            0
            • G garret

              @Eric-Katzfey I am 99% confident I found the issue. When running gazebo for IRIS, the real time factor is 1. When running vtol the real time factor drops to ~0.5 or lower. I just tried running gazebo for iris and manually lower the real time factor. i was able to replicate the issue. I think it is because in the mavlink communication script you shared the update for mag and baro happens only in cases where HIL_SENSOR messege is receiver. If the message is delayed, the sensors timeout.

              I will start looking into troubleshooting, but if you know what can be done to speed up gazebo's computation or to ease the load of VTOL model, I would appreciate the hint

              G Offline
              G Offline
              garret
              Contributor
              wrote on last edited by
              #16

              @garret I also wonder if there is a reason for running gazebo provided in docker except for iris comparability? Could i theoretically run voxl2 with a newer version of gazebo? It seems like those might be more efficient with modelling physics

              1 Reply Last reply
              0
              • Eric KatzfeyE Eric Katzfey

                @garret This is the code that deals with the Mavlink messages coming in from Gazebo and the sending of Mavlink messages back to Gazebo: https://github.com/modalai/px4-firmware/blob/voxl-dev/boards/modalai/voxl2-slpi/src/drivers/dsp_hitl/dsp_hitl.cpp

                G Offline
                G Offline
                garret
                Contributor
                wrote on last edited by
                #17

                @Eric-Katzfey good afternoon, still working on this - was wondering if you know how to enable airspeed sensor for the hitl sim? I think I am getting closer to finishing the vtol setup for hitl sim, but need this piece of the puzzle

                Eric KatzfeyE 1 Reply Last reply
                0
                • G garret

                  @Eric-Katzfey good afternoon, still working on this - was wondering if you know how to enable airspeed sensor for the hitl sim? I think I am getting closer to finishing the vtol setup for hitl sim, but need this piece of the puzzle

                  Eric KatzfeyE Offline
                  Eric KatzfeyE Offline
                  Eric Katzfey
                  ModalAI Team
                  wrote on last edited by
                  #18

                  @garret As best I can tell the diff_pressure field in the Mavlink HIL_SENSOR message sent from Gazebo would have this info but it is an optional field so not sure if Gazebo is actually populating it. If it is then it will be made available within PX4 via the differential_pressure topic.

                  G 1 Reply Last reply
                  0
                  • Eric KatzfeyE Eric Katzfey

                    @garret As best I can tell the diff_pressure field in the Mavlink HIL_SENSOR message sent from Gazebo would have this info but it is an optional field so not sure if Gazebo is actually populating it. If it is then it will be made available within PX4 via the differential_pressure topic.

                    G Offline
                    G Offline
                    garret
                    Contributor
                    wrote on last edited by garret
                    #19

                    @Eric-Katzfey gazebo evidently is not publishing diff_pressure but I am confused as to why. from what I have seen online, usually it just works out of the box for people when they build the world. i even checked all the .sdf models in the gazebo classic repo and all the mavlink plugins for fixed wing and for quads are identical. where would this be configured ?

                    all I see in gazebo is the airspeed topic like such:

                    gz topic -d 4 -e /gazebo/standard_vtol_hitl_world/standard_vtol_hitl/airspeed/link/airspeed
                    time {
                      sec: 5204
                      nsec: 800000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.6875033675151349e-06
                    longitude_deg: -8.0985729541323173e-06
                    altitude: 21.067402929998934
                    velocity_east: 0.0041351439189235657
                    velocity_north: 0.014366458095080673
                    velocity_up: -0.077853461599531493
                    
                    time {
                      sec: 5205
                      nsec: 0
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.65648519834101e-06
                    longitude_deg: -8.0864227239372417e-06
                    altitude: 21.051106543280184
                    velocity_east: 0.0091959411425546929
                    velocity_north: 0.01927891127394361
                    velocity_up: -0.07690062638957737
                    
                    time {
                      sec: 5205
                      nsec: 200000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.6218446606961743e-06
                    longitude_deg: -8.0702784253073972e-06
                    altitude: 21.037869208492339
                    velocity_east: 0.0070925229066759387
                    velocity_north: 0.018342345861654636
                    velocity_up: -0.059754401868207442
                    
                    time {
                      sec: 5205
                      nsec: 400000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5894898632271678e-06
                    longitude_deg: -8.06327351450745e-06
                    altitude: 21.026238181628287
                    velocity_east: 0.0012297001505018705
                    velocity_north: 0.018024321587302515
                    velocity_up: -0.052280255081160854
                    
                    time {
                      sec: 5205
                      nsec: 600000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5569699380192946e-06
                    longitude_deg: -8.06390211416581e-06
                    altitude: 21.017491457983851
                    velocity_east: -0.001618067383164185
                    velocity_north: 0.017209061152664136
                    velocity_up: -0.039400112952817
                    
                    time {
                      sec: 5205
                      nsec: 800000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5292924599121225e-06
                    longitude_deg: -8.0691216897048133e-06
                    altitude: 21.008538438007236
                    velocity_east: -0.0040763711507462008
                    velocity_north: 0.013864325720556073
                    velocity_up: -0.0538369387758966
                    
                    time {
                      sec: 5206
                      nsec: 0
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5047486190666175e-06
                    longitude_deg: -8.0773220885855787e-06
                    altitude: 20.995235768146813
                    velocity_east: -0.0045764253450751866
                    velocity_north: 0.013940962132516522
                    velocity_up: -0.077954621888091963
                    
                    time {
                      sec: 5206
                      nsec: 200000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4757025411756733e-06
                    longitude_deg: -8.08466180642776e-06
                    altitude: 20.978572748601437
                    velocity_east: -0.0033555745179364043
                    velocity_north: 0.017347668957779176
                    velocity_up: -0.073148434894389075
                    
                    time {
                      sec: 5206
                      nsec: 400000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4462882142533986e-06
                    longitude_deg: -8.0904497539150887e-06
                    altitude: 20.967332033440471
                    velocity_east: -0.0037972556503345928
                    velocity_north: 0.014495664657131601
                    velocity_up: -0.046656718127848877
                    
                    time {
                      sec: 5206
                      nsec: 600000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4263857227869763e-06
                    longitude_deg: -8.0997367347435748e-06
                    altitude: 20.958831951953471
                    velocity_east: -0.0064765043007881376
                    velocity_north: 0.0076519004378160452
                    velocity_up: -0.033514086003998168
                    
                    time {
                      sec: 5206
                      nsec: 800000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4205381481821041e-06
                    longitude_deg: -8.114123401948635e-06
                    altitude: 20.954045912250876
                    velocity_east: -0.0096772272248651318
                    velocity_north: -0.0012674915998885131
                    velocity_up: -0.017786372762228858
                    
                    time {
                      sec: 5207
                      nsec: 0
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4309173571265127e-06
                    longitude_deg: -8.13402138663806e-06
                    altitude: 20.950159355998039
                    velocity_east: -0.011961145916546649
                    velocity_north: -0.0095852711307301761
                    velocity_up: -0.025342314157376228
                    
                    time {
                      sec: 5207
                      nsec: 200000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4519823130523982e-06
                    longitude_deg: -8.1555908382890325e-06
                    altitude: 20.942453072406352
                    velocity_east: -0.011399544148833641
                    velocity_north: -0.012656908303145411
                    velocity_up: -0.051105507815038427
                    
                    time {
                      sec: 5207
                      nsec: 400000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.4771499703750814e-06
                    longitude_deg: -8.17306133168418e-06
                    altitude: 20.930765697732568
                    velocity_east: -0.0081463581387440729
                    velocity_north: -0.01625191237728766
                    velocity_up: -0.054660789923046446
                    
                    time {
                      sec: 5207
                      nsec: 600000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5137210585576305e-06
                    longitude_deg: -8.189130765359672e-06
                    altitude: 20.922167201526463
                    velocity_east: -0.011325751538111934
                    velocity_north: -0.023812409686585705
                    velocity_up: -0.035000133967963913
                    
                    time {
                      sec: 5207
                      nsec: 800000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.5623360600389142e-06
                    longitude_deg: -8.2156165213313913e-06
                    altitude: 20.914503942243755
                    velocity_east: -0.017165060266171105
                    velocity_north: -0.029491893881218659
                    velocity_up: -0.045721487981602388
                    
                    time {
                      sec: 5208
                      nsec: 0
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.6179932252596015e-06
                    longitude_deg: -8.2454542642759144e-06
                    altitude: 20.903589533641934
                    velocity_east: -0.015005264062594741
                    velocity_north: -0.030936998989148992
                    velocity_up: -0.063867407905587342
                    
                    time {
                      sec: 5208
                      nsec: 200000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.6711078160365384e-06
                    longitude_deg: -8.2693231056106074e-06
                    altitude: 20.890134408138692
                    velocity_east: -0.012109170323674366
                    velocity_north: -0.027940003604763453
                    velocity_up: -0.057342687350434116
                    
                    time {
                      sec: 5208
                      nsec: 400000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.7202299626737322e-06
                    longitude_deg: -8.2900878427818057e-06
                    altitude: 20.882502269931138
                    velocity_east: -0.010841424041424621
                    velocity_north: -0.026452180041652139
                    velocity_up: -0.026357105140536331
                    
                    time {
                      sec: 5208
                      nsec: 600000000
                    }
                    link_name: "standard_vtol_hitl::airspeed::link"
                    latitude_deg: -6.7652733709128169e-06
                    longitude_deg: -8.3080433416888439e-06
                    altitude: 20.877778694964945
                    velocity_east: -0.00944769266055363
                    velocity_north: -0.023288046186138157
                    velocity_up: -0.014516012694954387
                    

                    and but when it comes to the received mavlink messages:
                    15c48b47-7839-4a89-bbf6-1f9d59beee1a-image.png

                    this is the closest I have to diff_pressure
                    c4334d34-47c7-4d7c-a1ec-ef7dbcafe317-image.png

                    Eric KatzfeyE 1 Reply Last reply
                    0
                    • G garret

                      @Eric-Katzfey gazebo evidently is not publishing diff_pressure but I am confused as to why. from what I have seen online, usually it just works out of the box for people when they build the world. i even checked all the .sdf models in the gazebo classic repo and all the mavlink plugins for fixed wing and for quads are identical. where would this be configured ?

                      all I see in gazebo is the airspeed topic like such:

                      gz topic -d 4 -e /gazebo/standard_vtol_hitl_world/standard_vtol_hitl/airspeed/link/airspeed
                      time {
                        sec: 5204
                        nsec: 800000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.6875033675151349e-06
                      longitude_deg: -8.0985729541323173e-06
                      altitude: 21.067402929998934
                      velocity_east: 0.0041351439189235657
                      velocity_north: 0.014366458095080673
                      velocity_up: -0.077853461599531493
                      
                      time {
                        sec: 5205
                        nsec: 0
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.65648519834101e-06
                      longitude_deg: -8.0864227239372417e-06
                      altitude: 21.051106543280184
                      velocity_east: 0.0091959411425546929
                      velocity_north: 0.01927891127394361
                      velocity_up: -0.07690062638957737
                      
                      time {
                        sec: 5205
                        nsec: 200000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.6218446606961743e-06
                      longitude_deg: -8.0702784253073972e-06
                      altitude: 21.037869208492339
                      velocity_east: 0.0070925229066759387
                      velocity_north: 0.018342345861654636
                      velocity_up: -0.059754401868207442
                      
                      time {
                        sec: 5205
                        nsec: 400000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5894898632271678e-06
                      longitude_deg: -8.06327351450745e-06
                      altitude: 21.026238181628287
                      velocity_east: 0.0012297001505018705
                      velocity_north: 0.018024321587302515
                      velocity_up: -0.052280255081160854
                      
                      time {
                        sec: 5205
                        nsec: 600000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5569699380192946e-06
                      longitude_deg: -8.06390211416581e-06
                      altitude: 21.017491457983851
                      velocity_east: -0.001618067383164185
                      velocity_north: 0.017209061152664136
                      velocity_up: -0.039400112952817
                      
                      time {
                        sec: 5205
                        nsec: 800000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5292924599121225e-06
                      longitude_deg: -8.0691216897048133e-06
                      altitude: 21.008538438007236
                      velocity_east: -0.0040763711507462008
                      velocity_north: 0.013864325720556073
                      velocity_up: -0.0538369387758966
                      
                      time {
                        sec: 5206
                        nsec: 0
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5047486190666175e-06
                      longitude_deg: -8.0773220885855787e-06
                      altitude: 20.995235768146813
                      velocity_east: -0.0045764253450751866
                      velocity_north: 0.013940962132516522
                      velocity_up: -0.077954621888091963
                      
                      time {
                        sec: 5206
                        nsec: 200000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4757025411756733e-06
                      longitude_deg: -8.08466180642776e-06
                      altitude: 20.978572748601437
                      velocity_east: -0.0033555745179364043
                      velocity_north: 0.017347668957779176
                      velocity_up: -0.073148434894389075
                      
                      time {
                        sec: 5206
                        nsec: 400000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4462882142533986e-06
                      longitude_deg: -8.0904497539150887e-06
                      altitude: 20.967332033440471
                      velocity_east: -0.0037972556503345928
                      velocity_north: 0.014495664657131601
                      velocity_up: -0.046656718127848877
                      
                      time {
                        sec: 5206
                        nsec: 600000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4263857227869763e-06
                      longitude_deg: -8.0997367347435748e-06
                      altitude: 20.958831951953471
                      velocity_east: -0.0064765043007881376
                      velocity_north: 0.0076519004378160452
                      velocity_up: -0.033514086003998168
                      
                      time {
                        sec: 5206
                        nsec: 800000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4205381481821041e-06
                      longitude_deg: -8.114123401948635e-06
                      altitude: 20.954045912250876
                      velocity_east: -0.0096772272248651318
                      velocity_north: -0.0012674915998885131
                      velocity_up: -0.017786372762228858
                      
                      time {
                        sec: 5207
                        nsec: 0
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4309173571265127e-06
                      longitude_deg: -8.13402138663806e-06
                      altitude: 20.950159355998039
                      velocity_east: -0.011961145916546649
                      velocity_north: -0.0095852711307301761
                      velocity_up: -0.025342314157376228
                      
                      time {
                        sec: 5207
                        nsec: 200000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4519823130523982e-06
                      longitude_deg: -8.1555908382890325e-06
                      altitude: 20.942453072406352
                      velocity_east: -0.011399544148833641
                      velocity_north: -0.012656908303145411
                      velocity_up: -0.051105507815038427
                      
                      time {
                        sec: 5207
                        nsec: 400000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.4771499703750814e-06
                      longitude_deg: -8.17306133168418e-06
                      altitude: 20.930765697732568
                      velocity_east: -0.0081463581387440729
                      velocity_north: -0.01625191237728766
                      velocity_up: -0.054660789923046446
                      
                      time {
                        sec: 5207
                        nsec: 600000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5137210585576305e-06
                      longitude_deg: -8.189130765359672e-06
                      altitude: 20.922167201526463
                      velocity_east: -0.011325751538111934
                      velocity_north: -0.023812409686585705
                      velocity_up: -0.035000133967963913
                      
                      time {
                        sec: 5207
                        nsec: 800000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.5623360600389142e-06
                      longitude_deg: -8.2156165213313913e-06
                      altitude: 20.914503942243755
                      velocity_east: -0.017165060266171105
                      velocity_north: -0.029491893881218659
                      velocity_up: -0.045721487981602388
                      
                      time {
                        sec: 5208
                        nsec: 0
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.6179932252596015e-06
                      longitude_deg: -8.2454542642759144e-06
                      altitude: 20.903589533641934
                      velocity_east: -0.015005264062594741
                      velocity_north: -0.030936998989148992
                      velocity_up: -0.063867407905587342
                      
                      time {
                        sec: 5208
                        nsec: 200000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.6711078160365384e-06
                      longitude_deg: -8.2693231056106074e-06
                      altitude: 20.890134408138692
                      velocity_east: -0.012109170323674366
                      velocity_north: -0.027940003604763453
                      velocity_up: -0.057342687350434116
                      
                      time {
                        sec: 5208
                        nsec: 400000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.7202299626737322e-06
                      longitude_deg: -8.2900878427818057e-06
                      altitude: 20.882502269931138
                      velocity_east: -0.010841424041424621
                      velocity_north: -0.026452180041652139
                      velocity_up: -0.026357105140536331
                      
                      time {
                        sec: 5208
                        nsec: 600000000
                      }
                      link_name: "standard_vtol_hitl::airspeed::link"
                      latitude_deg: -6.7652733709128169e-06
                      longitude_deg: -8.3080433416888439e-06
                      altitude: 20.877778694964945
                      velocity_east: -0.00944769266055363
                      velocity_north: -0.023288046186138157
                      velocity_up: -0.014516012694954387
                      

                      and but when it comes to the received mavlink messages:
                      15c48b47-7839-4a89-bbf6-1f9d59beee1a-image.png

                      this is the closest I have to diff_pressure
                      c4334d34-47c7-4d7c-a1ec-ef7dbcafe317-image.png

                      Eric KatzfeyE Offline
                      Eric KatzfeyE Offline
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #20

                      @garret Here's the source code for our branch of Gazebo: https://github.com/modalai/PX4-SITL_gazebo-classic/tree/voxl-dev

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups