Welcome to Multi-Rotor UK. Please login or sign up.

Sunday,August 18, 2019, 16:40:17

Login with username, password and session length

Shoutbox

Gaza07:
07 Aug 2019 19:52:01
ooooh mrs jones  :D
hoverfly:
30 Jul 2019 15:26:34
D.B. you tightwad.. :cool:
atomiclama:
29 Jul 2019 20:14:10
DB that just means you have shed loads of props in the first place ;-)
DarkButterfly:
29 Jul 2019 18:53:33
Just had a thought, even with all the crashing I've done, I haven't bought any replacement props in over a year ~~
ched:
09 Jul 2019 19:45:42
May the sun shine and winds be light for BFU#8. Son't forget lots of vids for those of us unable to attend.  :D
Gaza07:
09 Jul 2019 18:10:30
Hope you all have a great day  :beer2:
Andy7:
09 Jul 2019 14:05:28
BFU#8 details locked in for this saturday - see the head of the forum thread for all details.
hoverfly:
05 Jul 2019 21:51:05
Good for genital warts as well......or so I'm told.. :hmm
DarkButterfly:
05 Jul 2019 21:48:24
Just fixed a busted SMA connector on my TBS unity pigtail, it suffered badly in a recent crash and split in two, nothing a touch of the soldering iron couldn't fix  :D
DarkButterfly:
05 Jul 2019 19:44:08
 :D
Members
Stats
  • Total Posts: 196548
  • Total Topics: 19799
  • Online Today: 48
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 33
Total: 33

Theme Changer





3d - Printworx

Printing 3d Forum

Enabling RAW logs to measure vibration

Started by Jumpy07, Friday,March 08, 2013, 12:58:09

Previous topic - Next topic

Jumpy07

Friday,March 08, 2013, 12:58:09 Last Edit: Friday,March 08, 2013, 17:42:59 by Jumpy07
Turning on Raw Logging In order to record the necessary Accelerometer data to your flight logs you will need to enable RAW mode in the "Log" recording function of the APM (which is off by default).

       
  • Hook up your APM to you PC with the USB cable.


•Start the Mission Planner Software on your PC.

       
  • DO NOT select the connection icon but instead select Terminal mode.

  •    
  • Type in "logs" and the enter key.

  •    
  • Type in "enable raw" and the enter key.

  •    
  • Raw Accelerometer and Gyro information for all 3 axes will now be recorded to the flight log that is produced each time you fly.

  •    
  • Disconnect from the PC.


Downloading log files

First, ensure that your in CLI mode and that you';ve selected the right Com port for your board in the Mission Planner configuration menu.

Select "Log Download" from the Mission Planner Terminal tab. A list of logs from the onboard memory will be shown. You can either select individual files to download or download all of them. They will be saved in your APMMissionPlanner/logs folder, along with a KML, that can be opened in Google Earth.

Note: It can take a long time (several minutes) to download a big log file. Do not interrupt the process until the software reports that it';s finished.

Analysing log files

Once you';ve downloaded log files, you can analyse them. Click on a log file to analyse, and the Log Browser should open.

You can click on any cell to add that kind of data to the data already graphed.

You can use your mouse';s scroll wheel to zoom in or out on the data, or drag a box around the area of data you';re interested in to have it fill the window.
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

neagron

 :thankyou:   very much for this Craig,Marty. :scotland:

rickp

Worth turning the frequency down to 20HZ too, as that is the default for 2.9.2 (and is already committed in the main trunk).

Jumpy07

Quote from: rickp on Friday,March 08, 2013, 14:05:08
Worth turning the frequency down to 20HZ too, as that is the default for 2.9.2 (and is already committed in the main trunk).

Agree.. detailed in the PID guide Faq already.. although worth pointing out depends on your frame.. some people finding better results at 40 who have very stiff vibration free setups.
BNUC-S Pilot with PfCo /PFAW.
UAQ / CAA PfCo Instructor / Flight Assessor

"All that is necessary for the triumph of evil is that good men do nothing"

Gaza07


rickp

Just to add to Craig';s fine procedure - in 3.0, it will be ';enable IMU'; rather than ';raw'; to turn on the appropriate logs. May also be worth enabling ';compass'; to see how thats doing.

Srocupado


Hands0n

Important Note - Downloading Logs Change In 3.2

As of version 3.2 of ArduCopter the CLI is no longer used in APM 2.x hardware.

To download logs do the following

1. Navigate to the Flight Data panel
2. On the bottom left, select the "DataFlash Logs" tab and push the "Download DataFlash Log Via Mavlink" button


Then, select the log you want to download. This will save that log to your MissionPlanner/logs directory, in a folder named after the vehicle type, such as QUADCOPTER.


Full details are now on the ArduPilot wiki --> http://planner.ardupilot.com/wiki/downloading-and-analyzing-data-logs-in-mission-planner/
--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2

james

Worth mentioning - in newer firmwares (currently only master and I think possibly 3.3 when it';s released) there';s full IMU logging support. This logs the raw data from the IMUs, requires a fast uSD card and the bitmask setting to All+FullIMU.

There';s now an FFT button in most MPs Ctrl+F menu. In there you can load a log with FullIMU logging enabled and see peaks that correspond to different sources of mechanical vibration, eg ~100Hz (6000rpm) for motor rotation, ~200Hz for blade passage (when the blade passes over the arm), etc.

Potentially very useful when tuning and debugging vehicles.

Revs

James, is that on APM and Pix or just Pix? I assume that';s just the Pix as the APM had no mSD card..

james

Quote from: Revs on Tuesday,June 30, 2015, 16:27:14
James, is that on APM and Pix or just Pix? I assume that';s just the Pix as the APM had no mSD card..

Just Pixhawk - anything new in APM is for 32-bit hardware only, there';s no new (official, at least) build activity for 8-bit given how cheap 32-bit is these days.