Hi,

I need to log the  X,Y & Z accelerations (described in the inertial frame) and angular velocities & accelerations (p, q, r and their time derivatives) for offline analysis. I am using a Pixhawk equipped with Copter 3.3 firmware.

The only data available in Dataflash logs are raw sensor data, which are very noisy. But as I have read in the Ardupilot documents, Arducopter uses EKF to estimate the status of the vehicle, and among the estimated variables are the accelerations & angular velocities.

Can I somehow log these data for offline use?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Alireza, in the logs you will find NKF fields. This logs both estimated biases and EKF innovations. The algorithm for EKF3 is well documented, and you can use it to reconstruct EKF filter estimates using Matlab etc
  • I've been making data loggers using a Teensy [or Arduino], GY-80 imu's, GPS modules, and SDCard modules. This allows me to log anything I want with raw values independent of the APM/Pixhawk/MavLink. I can stream live data over radios/bluetooth/ESP8266 or download the logs off the SDCard and then you can manipulate the data anyway you want :)

    It's actually pretty easy as well and was way easier for me to do then try to figure out mavlink and the APM stack :)

    • That's a good solution if you want raw sensor data (although you could also easily obtain the raw data of Pixhawk sensors from Dataflash logs without having to figure out anything about Mavlink/APM). But I need the processed & filtered data, and I don't wanna go though the trouble of implementing the filters & algorithms myself.

      Anyways, thanks for the suggestion!

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
yesterday
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Thursday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: What a great way to connect why @diyrobocars community is so valuable and important! Have to start somewhere @IndyAChallenge…
Oct 23
More…