Skip to content

Getting lidar data from a QGC mission #3410

Discussion options

You must be logged in to vote

Hi @Agm2104 , AFAIK QGC commands should not interfere with gitLidarData() so your plan sounds doable.
I did a quick test with PX4 SITL and the getLidarData API and I didn't face any issues retrieving the points and plotting them (using matplotlib) as the drone took off and landed:

Here are the settings I used:

{
  "SettingsVersion": 1.2,
  "SimMode": "Multirotor",
  "ClockSpeed": 1,
  "DefaultSensors": {
    "Barometer": {
         "SensorType": 1,
         "Enabled" : true
    },
    "Imu": {
         "SensorType": 2,
         "Enabled" : true
    },
    "Gps": {
         "SensorType": 3,
         "Enabled" : true
    },
    "Magnetometer": {
         "SensorType": 4,
         "Enabled" : 

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Agm2104
Comment options

@ahmed-elsaharti
Comment options

@Agm2104
Comment options

@ahmed-elsaharti
Comment options

Answer selected by zimmy87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants