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

Friday,November 22, 2024, 22:01:31

Login with username, password and session length

Shoutbox

Bad Raven:
12 May 2024 08:13:51
 I have some F1 Abusemark boards going spare,,,,,,,,,,,,,    ;)    :azn
DarkButterfly:
11 May 2024 22:12:29
And with oldskool parts  :D
DarkButterfly:
11 May 2024 22:11:57
I must be the only one doing tricopters right now  :laugh:
DarkButterfly:
11 May 2024 22:09:30
 :D
Gaza07:
11 May 2024 21:15:16
Domain has been renewed closure has been cancelled  :D
Gaza07:
02 May 2024 08:07:52
Who are most people ??? I think the person you are referring to has put in a lot of effort to keep things moving  :rolleyes:
hoverfly:
01 May 2024 10:16:12
Most people I have spoken to are pizzed off with the yellow peril  flooding the forum,go figure. :whistling:
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:
Members
Stats
  • Total Posts: 201,498
  • Total Topics: 20,274
  • Online today: 17
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 10
Total: 10

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.