Skip to content

Commit

Permalink
added various changes for the stick and craft overlay.
Browse files Browse the repository at this point in the history
  • Loading branch information
j4y4r committed May 23, 2019
1 parent 9f6ee40 commit 0b5551d
Show file tree
Hide file tree
Showing 2 changed files with 255 additions and 21 deletions.
18 changes: 17 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,37 @@ Options:
--width <px> Choose the width of the image (default 1920)
--height <px> Choose the height of the image (default 1080)
--fps FPS of the resulting video (default 30)
--threads Number of threads to use to render frames (default 3)
--prefix <filename> Set the prefix of the output frame filenames
--start <x:xx> Begin the log at this time offset (default 0:00)
--end <x:xx> End the log at this time offset
--[no-]draw-pid-table Show table with PIDs and gyros (default on)
--[no-]draw-craft Show craft drawing (default on)
--[no-]draw-sticks Show RC command sticks (default on)
--[no-]draw-time Show frame number and time in bottom right (default on)
--[no-]draw-acc Show accelerometer data and amperage in bottom left (default on)
--[no-]plot-motor Draw motors on the upper graph (default on)
--[no-]plot-pid Draw PIDs on the lower graph (default off)
--[no-]plot-gyro Draw gyroscopes on the lower graph (default on)
--sticks-top <px> Offset the stick overlay from the top (default off)
--sticks-right <px> Offset the stick overlay from the right (default off)
--sticks-width <px> Size of the stick area (default off)
--craft-top <px> Offset the craft overlay from the top (default off)
--craft-right <px> Offset the craft overlay from the right (default off)
--craft-width <px> Size of the craft area (default off)
--smoothing-pid <n> Smoothing window for the PIDs (default 4)
--smoothing-gyro <n> Smoothing window for the gyroscopes (default 2)
--smoothing-motor <n> Smoothing window for the motors (default 2)
--unit-gyro <raw|degree> Unit for the gyro values in the table (default raw)
--prop-style <name> Style of propeller display (pie/blades, default pie)
--gapless Fill in gaps in the log with straight lines
--raw-amperage Print the current sensor ADC value along with computed amperage
--sticks-text-color Set the RGBA text color (default 1.0,1.0,1.0,1.0)
--sticks-color Set the RGBA sticks color (default 1.0,0.4,0.4,1.0)
--sticks-area-color Set the RGBA sticks area color (default 0.3,0.3,0.3,0.8)
--sticks-radius <px> Diameter of the sticks (default relative to image size)
--sticks-trail-radius <px> Diameter of the sticks (default same ad stick radius)
```

(At least on Windows) if you just want to render a log file using the defaults, you can drag and drop a log onto the
Expand Down Expand Up @@ -216,4 +232,4 @@ This font is included with both binary and source distributions:

- Source Sans Pro - Regular https://github.com/adobe-fonts/source-sans-pro (SIL Open Font license)

Both binary and source builds include IMU code from Baseflight https://github.com/multiwii/baseflight (GPLv3)
Both binary and source builds include IMU code from Baseflight https://github.com/multiwii/baseflight (GPLv3)
Loading

0 comments on commit 0b5551d

Please sign in to comment.