How to Log Pixhawk Gyroscope and Accelerometer data when connected to PC

Without connecting any peripherals I need to get some parameters from the usb connection to the PC to run some tests, is this possible?

Hi @Leo_Vice , you can read IMU data from the HIGHRES_IMU MAVLink message (using mavros or pymavlink for example).

Otherwise, if you need full speed data for post processing, you can simply activate logging from boot to shutdown and get the ulog file from the SD card.

Good luck!