Commit graph

523 commits

Author SHA1 Message Date
Dominic Clifton 386c14c9e7 Update LedStrip warnings indication so it's clearer what warnings are
active.

This also has better performance, warning colors are only calculated
once per led strip update cycle.
2014-11-22 18:18:50 +00:00
Dominic Clifton d99b87e846 Merge pull request #169 from Pierre-A/Naze-updates-pa2
Update CC3D documentation
2014-11-22 01:10:53 +00:00
Dominic Clifton 5503131aa0 Merge pull request #168 from stone/docs
Documentation cleanup, thanks!
2014-11-21 23:29:24 +00:00
Dominic Clifton c6ed20a3ba Delete Thumbs.db 2014-11-21 23:26:07 +00:00
Dominic Clifton 48892e26e0 Merge pull request #166 from Pierre-A/naze-updates-pa
Updating RSSI documentation
2014-11-21 23:25:43 +00:00
Pierre-A 6de6a73089 Update CC3D documentation 2014-11-15 10:18:55 +01:00
Fredrik Steen 91d82c1b32 Updated links 2014-11-14 13:48:39 +01:00
Fredrik Steen dcc49dbcbb Added link 2014-11-14 13:48:19 +01:00
Fredrik Steen 1c9664581e emphasize warning. 2014-11-14 13:47:39 +01:00
Fredrik Steen da395c0053 Links added 2014-11-14 13:47:17 +01:00
Fredrik Steen 27507d58f5 Links added 2014-11-14 13:46:55 +01:00
Fredrik Steen 05585669b9 Added gui image, added exit command and formatting 2014-11-14 13:46:24 +01:00
Fredrik Steen 8a026de27d Formatting, links added, added supported buzzer 2014-11-14 13:45:16 +01:00
Fredrik Steen 62a265118a Added link to Github issue handler 2014-11-14 13:44:17 +01:00
Fredrik Steen 17385d80e3 Formatting, links added 2014-11-14 13:43:35 +01:00
Fredrik Steen d35a3496ba Formatting 2014-11-14 13:42:48 +01:00
Fredrik Steen 32b807b0d3 Formatting 2014-11-14 13:42:17 +01:00
Dominic Clifton 1c22a94f92 Adding attomic barrier warning fix and documentation on how to verify
it.  See #167
2014-11-13 22:03:16 +00:00
Dominic Clifton 72cacdae74 Updating Serial.md based on feedback from hwurzburg
See
http://www.multiwii.com/forum/posting.php?mode=quote&f=23&p=58745#pr58745
2014-11-13 20:32:10 +00:00
Pierre-A 215d0fc7e3 Updating RSSI documentation 2014-11-13 11:47:18 +01:00
Dominic Clifton f5a0f9d3b2 Update RX & Battery OLED pages.
RX page shows up to 14 channels.
Battery page shows current and capacity information.
2014-11-13 01:29:07 +00:00
Dominic Clifton 876c976252 Updating GPS documentation with details on how to enable GPS. 2014-11-12 21:03:40 +00:00
Dominic Clifton 6529d274b8 Adding details of the new serial port scenario for SmartPort telemetry. 2014-11-12 01:00:46 +00:00
Dominic Clifton 662dcc2920 Updating telemetry documentation to cover SmartPort (S.Port). 2014-11-12 00:56:50 +00:00
Dominic Clifton 70c580b211 Updating serial documentation to cover new defaults, updated examples. 2014-11-11 23:41:21 +00:00
Dominic Clifton 6b92c50b6b Adding OpenTX SBus notes. 2014-11-11 11:10:50 +00:00
Dominic Clifton d2e895ac93 Cleanup pinout tables in CC3D documentation 2014-11-06 10:12:38 +00:00
Dominic Clifton 30c550b83d CC3D - Support 4 PWM inputs and 4 PWM outputs.
Avoid timer clashes on CC3D when using Parallel PWM input.

More work needs to be done on the PWM RX/Output code to negate timer
clashes.
2014-11-05 22:32:44 +00:00
Dominic Clifton 0ba2933611 Add MSP_SET_ADJUSTMENT_RANGE and MSP_ADJUSTMENT_RANGES commands. 2014-11-01 10:24:32 +00:00
Dominic Clifton 28f9fa629c Add rate profiles and inflight switching between them. See Profiles and
Inflight Adjustment documentation for details.
2014-10-29 23:36:34 +00:00
Dominic Clifton e22b37026c Updating CC3D docs. 2014-10-29 19:48:43 +00:00
Dominic Clifton 6dde141b66 CC3D - Correct the documentation. 2014-10-28 17:17:27 +00:00
Dominic Clifton af84800f21 Merge pull request #147 from Pierre-A/cc3d-updates-1
Update CC3D Softserial documentation
2014-10-28 16:24:36 +00:00
Pierre-A e9847075bb Update CC3D Softserial documentation 2014-10-28 16:19:39 +01:00
Kieran Moore 1377300481 Fixing spelling mistakes and using tables to make pin-outs easier to read 2014-10-27 00:37:56 +00:00
Kieran Moore dec12434ec Fixing Github MD formatting to show tables properly, including a bug which seems to stop 2 character columns from rendering 2014-10-27 00:23:14 +00:00
Dominic Clifton ba796b9ddb Merge pull request #138 from kjmoore/cmjcu-docs
CMJCU documentation, many thanks @kjmoore
2014-10-26 09:56:23 +00:00
Dominic Clifton 6e1c7ba184 Adding some developer documentation, work-in-progress. 2014-10-25 12:15:19 +01:00
Kieran Moore e1c77b33df Initial commit of the CMJCU documentation 2014-10-25 01:15:57 +01:00
Dominic Clifton 9fd1c82cf7 Tweak inflight adjustment documentation.
Thanks tobad.
2014-10-25 01:13:54 +01:00
Dominic Clifton 0daa3642ad Add documentation for inflight adjustments. 2014-10-25 00:57:12 +01:00
Dominic Clifton 2b02df8ba0 First cut of API documentation.
Note this is already out of date for current master branch.
2014-10-24 17:54:42 +01:00
Dominic Clifton b03df441f3 Updating serial port details for Naze board. 2014-10-18 16:40:21 +01:00
Dominic Clifton 8fef02fe8d Updating FrSky telemetry docs to match recent code changes. 2014-10-18 15:58:28 +01:00
Dominic Clifton d3fc10fd83 Mode documentation updates. 2014-10-15 19:26:03 +01:00
Dominic Clifton 80989c4bee Update Sonar docs. 2014-10-15 09:32:57 +01:00
Dominic Clifton 0589b29b84 Cleanup table formatting of modes. 2014-10-12 19:41:17 +01:00
Dominic Clifton 8ea267694a Updating baseflight migration note regarding aux configuration. 2014-10-12 19:33:42 +01:00
Dominic Clifton b0eab0cc9e Update the cli AUX command to take range parameters - see docs/Modes.md 2014-10-12 19:32:55 +01:00
Dominic Clifton 12b00c237f Updating example serial configuration scenarios. 2014-10-07 20:36:12 +01:00
Dominic Clifton 8a69077a7f Remove outdated note regarding MSP telemetry from documentation.
Thanks stronnag.
2014-09-29 22:01:19 +01:00
Gareth Wilkins 775d312a32 Minor documentation amends
Post proofing amends
2014-09-26 21:59:10 +01:00
pulsar256 beb52737da fixed formatting 2014-09-26 20:34:29 +02:00
pulsar256 de2cfd3060 added manual building guide 2014-09-26 20:33:47 +02:00
pulsar256 62d9781b4b do not include generated pdf in the repo 2014-09-26 20:12:06 +02:00
pulsar256 403119bfad using a fixed order of md files for pdf conversion 2014-09-26 20:07:31 +02:00
pulsar256 679a38c6ee dedicated folder for developer docs 2014-09-26 20:00:50 +02:00
pulsar256 04e97f5b35 dedicated folder for developer docs 2014-09-26 19:56:17 +02:00
pulsar256 e944e1dfd7 Replaced diagram image with a scaled down png 2014-09-26 19:38:56 +02:00
pulsar256 67728b1581 Manual-Generation (*.md -> pdf) via Gimli 2014-09-26 19:37:28 +02:00
pulsar256 9ca1775871 Embedded Crius CO-16 Modification Images 2014-09-26 19:04:46 +02:00
Dominic Clifton 366c7d2e2d Updating documentation. 2014-09-26 16:29:48 +01:00
Dominic Clifton a4c21b5e57 SUMH - Initial cut of support for Graupner SUMH Serial RX protocol. 2014-09-20 09:39:42 +01:00
Dominic Clifton 7225bd0f24 Updating example LED STRIP documentation config for Spider quad.
Left-front rear-facing LEDs were not configured correctly.
2014-09-20 01:32:36 +01:00
Dominic Clifton 9c87b99f5f CC3D - Add Buzzer support to PA15.
See Docs for details.
2014-09-19 21:35:30 +01:00
Dominic Clifton 41ff2e8d0e CC3D - Add support for battery voltage monitoring on S5_IN.
See docs for further details.
2014-09-19 21:16:40 +01:00
Dominic Clifton f591732aa9 Updated LedStrip docs for new thrust/throttle mode. 2014-09-19 20:16:07 +01:00
Dominic Clifton 74156fe18f Updating RX documentation. 2014-09-18 19:23:32 +01:00
Dominic Clifton f7daf5ade2 Add a a configuration section to the OLED display documentation. 2014-09-16 01:48:02 +01:00
Dominic Clifton d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton 876cf6bdd7 Merge branch 'master' into oled-ssd1306
Conflicts:
	src/main/common/printf.c
	src/main/main.c
	src/main/sensors/initialisation.c
	src/main/target/NAZE/target.h
2014-09-15 23:36:17 +01:00
Dominic Clifton a287f9247d Allow led strip to show failsafe state. Closes #76. 2014-09-15 23:24:08 +01:00
Dominic Clifton 99a296821a Update default led strip config so there is always an orientation light
on at the front when the battery alarm is on.
2014-09-15 20:24:00 +01:00
Dominic Clifton 460256cc23 Fix typo in led strip documentation. 2014-09-15 03:20:39 +01:00
Dominic Clifton 6ce5736990 Update LED strip code to allow configurable LED strips.
See documentation for details.
2014-09-15 03:15:11 +01:00
Dominic Clifton c1569d6319 Add OLED documentation. 2014-09-12 21:56:34 +01:00
Dominic Clifton c41d28c5dc Mention Flip32+ in sonar docs. 2014-08-13 22:04:48 +01:00
Dominic Clifton d0338eac19 Cleanup sonar support for Naze/Flip32/Olimexino. Add Sonar
documentation.
2014-08-13 22:01:39 +01:00
Dominic Clifton 5871f90465 Adding buzzer documentation. 2014-08-07 20:55:38 +01:00
Dominic Clifton de64e19db7 Adding CC3D and Naze32 preliminary docs. 2014-08-07 20:42:48 +01:00
Dominic Clifton 8c6c14b343 Update documentation. 2014-08-07 20:21:16 +01:00
Dominic Clifton 0ac2b51c60 Make ppm/pwm input filtering configurable. 2014-07-30 22:02:34 +01:00
Dominic Clifton f8a1ca55fc Updating todo list. 2014-07-16 01:37:16 +01:00
Dominic Clifton 6ea447b777 Update LED documentation to reflect the current implementation. 2014-07-16 01:36:51 +01:00
Dominic Clifton 9afcb20b7e Cleanup mismatch of buzzer/beeper terminology. Beep and Beeper should
be used from now on.
2014-06-21 23:32:58 +01:00
Dominic Clifton ed3e0769cf Renamed alt_hold_throttle_neutral to alt_hold_deadband for consistency. 2014-06-21 22:40:30 +01:00
Dominic Clifton 6f718757b1 Merge branch 'ws2811' 2014-06-09 19:12:37 +01:00
Dominic Clifton eea615c0aa Update developer TODOs. 2014-06-09 19:12:08 +01:00
Dominic Clifton 1730e3dfd3 Relocated led strip user code into separate file.
Added documentation.

Added LED_STRIP feature, can only be enabled under certain circumstances
depending on target due to pin/timer mappings - see documentation.
2014-06-09 19:11:31 +01:00
Dominic Clifton 5f4a464f50 Updating basflight migration instructions. 2014-06-06 21:42:28 +01:00
Dominic Clifton fabd376f41 Allow GPS SBAS mode to be configurable.
It was noticed that GPS startup time increased when the change was made
from using EGNOS by default to using AUTO by default.

The default is still AUTO but faster GPS startup times may be achieved
by telling the GPS receiver what region you are in.

This also removes more unfinished MTK gps provider support.
2014-06-03 13:38:41 +01:00
Dominic Clifton 3e0370ff09 Updating known issues. 2014-06-01 19:29:38 +01:00
Dominic Clifton 350b6a5864 Updating CLI commands for consistency. 2014-06-01 19:29:11 +01:00
Dominic Clifton dcbb82c845 Update Development.md 2014-05-28 20:13:06 +01:00
Dominic Clifton d0ec7e25ce Merge branch 'master' into autotune
Conflicts:
	obj/cleanflight_CHEBUZZF3.hex
	obj/cleanflight_NAZE.hex
	obj/cleanflight_OLIMEXINO.hex
2014-05-28 13:37:40 +01:00
Dominic Clifton 5484e5fddd Replace PWM RSSI with ADC RSSI.
The primary reason is to support the D4R-II with it's much faster PWM
frequency.  The PWM RSSI code could not keep up, and since there are no
timers free for using capture compare of PWM signals in hardware one
solution is to use the ADC at a slow sample rate.

RC2 is used as before and it expects a signal between 0 and 3.3v.  An
inline smoothing capacitor may help.

This commit also removes the cli command adc_power_channel since the
reading was never actually exposed anywhere.
2014-05-28 03:30:53 +01:00
Dominic Clifton bc84f6d5d4 Update autotune so it now actually changes the pid values.
This commit also fixes a few missing const keywords after the map file
was inspected.
2014-05-27 21:20:29 +01:00
Dominic Clifton f7c38af7fc Initial commit for implementation of autotune. 2014-05-27 18:11:55 +01:00
Dominic Clifton 49c283fe59 Update Failsafe.md
formatting.
2014-05-27 18:11:54 +01:00
Dominic Clifton f74a31f800 Update Failsafe.md 2014-05-27 18:11:54 +01:00
Dominic Clifton f61232de13 Update Failsafe.md
formatting.
2014-05-26 19:59:21 +01:00
Dominic Clifton 2bbbd05cc7 Update Failsafe.md 2014-05-26 19:54:30 +01:00
Dominic Clifton d5bb662139 Merge pull request #15 from nico-dh/master
adding doc for building in windows
2014-05-25 16:18:17 +01:00
grunbaum nicolas 9a085bebad addind doc for building in windows
Signed-off-by: grunbaum nicolas <grunbaum@gmail.Com>
2014-05-25 15:27:58 +02:00
Dominic Clifton 1df79e65fc Updating telemetry documentation. 2014-05-25 03:29:47 +01:00
Dominic Clifton 6dc88355b2 Updating developer docs. 2014-05-25 02:53:26 +01:00
Dominic Clifton 49781b5080 Updating documentation. 2014-05-24 21:04:30 +01:00
Dominic Clifton d928404919 Updating Development docs. 2014-05-24 17:55:48 +01:00
Dominic Clifton 1925df26ca Add RSSI PWM on CH2 input.
Also support FrSky 1khz RSSI.  See documentation also added in this
commit.

This commit also cleans up the PWM mapping code.  'mask' didn't need to
be a mask and it wasn't possible to add another 'type' since there were
only 4 possible values when it was a mask and they were already defined.  
Combined with switching to using 16 bits instead of 8 for the mapping
configurations, it's now possible to have 256 types instead of 4 at the
expense of a few bytes of flash.

Moved the RSSI calculation into rx_common.c, previously it was in the
main loop.
2014-05-24 00:01:59 +01:00
Dominic Clifton f232b831d2 Replace cli command gps_initial_baudrate_index with gps_baudrate.
The index is not really a user concern and leads to confusion.  gps
baudrate is not set like any other baud date and the determination of an
appropriate index is hidden from the user.

If the user specifies a baudrate that is not supported the default index
is used which is current the index for 115200.

This also allows GPS to work on softserial ports at up to 19200.
2014-05-23 11:54:00 +01:00
Dominic Clifton d6c1ce323d BUGFIX - Warning LED / arm prevention code fixes.
The old code was using f.ACC_CALIBRATED to mean 'flash the warning led'
and 'prevent arming'
There was another flag called f.OK_TO_ARM which really meant 'prevent
arming after failsafe unless using a switch to arm' - this meant the
comment in the code was incorrect since it did not mention the switch.
There was code which every ~71 minutes would set f.ACC_CALIBRATED to
FALSE and would toggle the LED, even when flying.
There was code that was run during every cycle that did not need to be
run when armed.
There was code that was run during every cycle which did not need to be
run when waiting for calibration to finish.
The warning light was toggled regardless of actual accelerometer
calibration state.

This commit fixes all that and prevents the user from arming after a
failsafe landing until the system is reset, regardless of wether a
switch is used to arm or not.

This commit also flashes the warning led during barometer calibration
and will not let you arm until it has completed.

Add a 5 second delay on startup to failsafe to prevent failsafe from
activating in the case of TX/RX gear with long bind procedures before
they send out valid data.

Failsafe now only prevents re-arming if a landing was forced.

In the case when you power on your RX without your TX on the beeper
sounds and failsafe warning ligts are activated.  When the FC then
detects a signal the lights go off and you can then arm.
2014-05-22 22:46:54 +01:00
Dominic Clifton b37bace5c1 HoTT update.
There's a number of changes in this commit, all related.

Improved efficiency of preparing HoTT messages.

All HoTT message data is no-longer reset each time, going forward old
data is re-used unless it is updated.  This should help with GPS
co-ordinates too since they were erased from subsequent responses when
ideally the last-known co-ordinates should be transmitted each time.

The previous update was sending one too many bytes due to the
aligned/padded uint16_t values in the HoTT data structures.  There were
two solutions, use #pragma to pack the structure or avoid larger types
in the structures, the latter made sense and results in more portable
code since it's a wire format.

Updated HoTT structures to use latest message structure from Ardupilot.
Currently the variables are in underscore_format, that will likely
change in future.

Cleaned up and deleted old ported code that was #ifdef'd out.  Some test
code still remains for now.  This will be deleted in due course.

Introduced bitmask for EAM alarm flags.

Corrected documentation.
2014-05-22 17:25:51 +01:00
Dominic Clifton a2531722f3 Adding Development documentation. 2014-05-22 12:42:39 +01:00
Dominic Clifton 1e357f7966 Moving telemetry documentation to it's own file. 2014-05-21 21:41:29 +01:00
Dominic Clifton 451b132764 Updating configuration examples to include HoTT via softserial. 2014-05-21 21:29:36 +01:00
Dominic Clifton 420ba7d2c9 Fix HoTT telemetry to use a 3ms delay between each transmitted byte.
This has fixed HoTT telemety data on my GR-24, previously it was a bit
intermittent.

This commit also marks a test-point, HoTT works on UART2.

Reference:
https://code.google.com/p/hott-for-ardupilot/source/browse/APM/Hott.pde#510
2014-05-20 17:33:39 +01:00
Dominic Clifton 032202ef8f BUGFIX - Cleanup failsafe system so it works correctly with Serial RX
systems and Parallel PWM/PPM systems.

Added setting for failsafe_max_usec.  Renamed failsafe_detect_threshold
to failsafe_min_usec.

Failsafe now detects when a PPM/PWM RX isn't sending ANY data out on
CH1-4.  See documentation notes regarding Graupner receivers in
Failsafe.md.

Documented failsafe system.
2014-05-15 14:28:57 +01:00
Dominic Clifton 21207ca940 Improvement: Add support for upto 18 channels. Allow RSSI to be read
from any channel, not just AUX1-4.

See documentation changes in this commit.
2014-05-14 19:23:27 +01:00
Dominic Clifton 4d572800ee Documentation formatting. 2014-05-13 15:08:33 +01:00
Dominic Clifton 22a5e4ceae Updating documentation. 2014-05-12 13:48:57 +01:00
Dominic Clifton 5d460766e9 RXMSP is no longer a serial rx provider since it uses MSP and not it's
own dedicated serial port.
Added a feature to enable/disable RX_MSP.
Renamed feature SERIALRX to RX_SERIAL.
Renamed feature PARALLEL_PWM to RX_PARALLEL_PWM
Renamed PPM to RX_PPM.

Update serial configuration checking to better support Serial RX and
telemetry by verifiying serial port features and supported baud rates.

It's now possible to use a low-speed serial rx provider via softserial -
only problem is all the current serial rx providers are 100000/115200
baud.  The code changes however open the door for using serial rx and
any capable serial port such as uart3-5 on the STM32F30x

It's also now possible to use GPS at low speeds on software serial
ports.
2014-05-12 13:23:20 +01:00
Dominic Clifton bf90246c95 Add callback support to software serial.
Also fixed problem with shared serial port detection.
2014-05-10 16:12:26 +01:00
Dominic Clifton 0fd127bf60 Allow the user to specify their serial port scenarios. 2014-05-10 14:11:01 +01:00