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

Thursday,April 25, 2024, 21:52:18

Login with username, password and session length

Shoutbox

Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Members
  • Total Members: 8,195
  • Latest: lokloks
Stats
  • Total Posts: 201,427
  • Total Topics: 20,261
  • Online today: 31
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 13
Total: 13

Theme Changer





3d - Printworx

Enabling RAW logs to measure vibration

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

Previous topic - Next topic

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

[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

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.