Dominic Clifton
5a079063c0
Merge pull request #517 from sherlockflight/servo-cli
...
Add "servo" CLI command to get/set servo conf, and include in dump
2015-02-20 13:21:07 +00:00
Dominic Clifton
6d9d2e14bb
Merge pull request #516 from sherlockflight/master
...
Avoid reading uninitialised memory during battery unit tests
2015-02-20 13:17:48 +00:00
Nicholas Sherlock
092b4fe62b
Merge remote-tracking branch 'upstream/master'
2015-02-20 13:37:53 +13:00
Nicholas Sherlock
6c30f879be
Merge remote-tracking branch 'upstream/master' into servo-cli
2015-02-20 13:37:01 +13:00
Dominic Clifton
242a7e65a8
Merge pull request #526 from MJ666/Harakiri_PID
...
Fix for Harakiri PID drift.
2015-02-19 21:57:19 +00:00
Dominic Clifton
1de72b11ce
Update the cli `status` command to show all detected sensors (Except on
...
CJMCU).
Further cleanup of sensor initialisation.
2015-02-19 21:08:30 +00:00
Michael Jakob
257c7e092e
Harakiri PID controller variables cleanup
...
Flight tested
2015-02-19 21:28:26 +01:00
Dominic Clifton
c45efac812
Cleanup sensor detection. Less code required and a similar pattern is used for each type of sensor.
2015-02-19 16:15:14 +00:00
Konstantin Sharlaimov
77e5be5002
Fixed external barometer & magnetometer detection
2015-02-19 13:43:47 +00:00
Michael Jakob
cd94377651
Latest Crashpilot1000 update
2015-02-19 09:00:20 +01:00
Michael Jakob
6548c90ca8
Align Harakiri PID with Crashpilot1000 updates
2015-02-19 08:30:41 +01:00
Michael Jakob
6c92ea8ee8
Harakiri PID fix
...
Change errorGyroI and errorAngleI from int32 to float
2015-02-18 22:55:05 +01:00
Dominic Clifton
e554f73f5c
Update the sensors page to show inclination, heading, estimated G and
...
the value for small angle. The latter is to help get field reports to
help with a problem where sometimes the aircraft won't arm because the
FC thinks it's tilted over too much.
2015-02-18 19:29:47 +00:00
Dominic Clifton
8c1d9c37d9
Add comment regarding observations made on the Futaba SBus receivers.
2015-02-18 00:36:05 +00:00
Nicholas Sherlock
155a369491
Reduce code size of serial_cli by 104 bytes with some small tweaks:
...
Avoid calling strlen() just to check if a string is empty
Shorter error messages and reuse messages for cliServo
Use cliPrint rather than printf when not using placeholders
2015-02-18 13:07:26 +13:00
Nicholas Sherlock
716ee9f5c4
Add "servo" CLI command to get/set servo conf, and include in dump
2015-02-17 23:33:12 +13:00
Nicholas Sherlock
1bd091a031
Avoid reading uninitialised memory during battery unit tests
2015-02-17 22:50:10 +13:00
Dominic Clifton
70fbeb22ba
Disable SBUS debug on CJMCU to reduce code size.
2015-02-16 23:06:46 +00:00
Dominic Clifton
c05b4c639b
Ensure sbus debug output is reset after failsafe/signal loss conditions.
2015-02-16 23:02:14 +00:00
Dominic Clifton
24ce82b280
Improve SBus compatibility by timing the entire frame instead of the gap
...
between received bytes of data. Add support for the two SBus digital
channels.
2015-02-16 22:50:39 +00:00
Dominic Clifton
6e258a62ac
Disable alt-hold debugging.
2015-02-16 22:45:47 +00:00
Dominic Clifton
36c7d5d30d
SPRACINGF3 - Fix typo in UART3 configuration.
2015-02-16 19:42:24 +00:00
Dominic Clifton
02166a4fd0
Ensure mixer is configured so that PWM initialisation is correct.
...
The isMixerUsingServos() was returing the wrong value in 9a7de3cf3c
2015-02-15 09:20:33 +00:00
Dominic Clifton
cd73c25352
PORT103R - Update default hardware support.
2015-02-14 23:50:51 +00:00
Dominic Clifton
9a7de3cf3c
Improve ESC compatibility by enabling PWM output as soon as possible.
...
A user reported a problem where if the board was powered up before
connecting the main battery the ESCs would work, however when the board
and ESCs were powered at the same time the ESCs would not initialise
correctly.
2015-02-14 23:49:55 +00:00
Dominic Clifton
d12d1952eb
Fix PWM/UART2 clash on F1 targets caused by using wrong #define value.
2015-02-12 01:58:59 +00:00
Dominic Clifton
519cc5f238
CC3D - Updating docs regarding inverter.
2015-02-11 19:44:00 +00:00
tricopterY
3272b44410
Update inverter.c
...
Fixes #494
2015-02-11 19:06:34 +00:00
Dominic Clifton
2dc09cd24b
Merge pull request #457 from dave-pitman/patch-1
...
Update PID tuning.md
2015-02-06 14:08:11 +00:00
Dominic Clifton
b4b16fa28c
SPRACINGF3 - Set sensor alignments.
2015-02-05 17:49:32 +00:00
Dominic Clifton
012e8fac31
SPRACINGF3 - Configure beeper GPIO correctly.
2015-02-05 17:06:32 +00:00
Dominic Clifton
ed51428989
SPRACINGF3 - Enable DISPLAY. Specify serial port I/O in target.h.
2015-02-05 02:08:37 +00:00
Dominic Clifton
fdb81ed3b9
SPRACINGF3 - Enable ADC for VBAT, Current and RSSI.
2015-02-04 21:51:23 +00:00
Dominic Clifton
430ccd2338
STM32F3DISCOVERY/CHEBUZZF3 - Move ADC pin definitions to target.h files
2015-02-04 21:51:04 +00:00
Dominic Clifton
8aee0b25e2
Fix bug where current meter didn't work unless VBAT feature was enabled.
2015-02-03 16:20:14 +00:00
Dominic Clifton
6de42dd0de
Display version on the OLED display.
2015-02-02 22:30:59 +00:00
Dominic Clifton
395a1bb9a3
Update cli version command to show the version number now that there is
...
one available.
2015-02-02 22:05:30 +00:00
Dominic Clifton
973efdd5fc
Temporary workaround for CC3D non-functional VCP when using OpenPilot
...
bootloader that some users have reported. This allows MSP connection via
USART so the board can be reconfigured.
2015-02-02 00:31:35 +00:00
Dominic Clifton
7ff15b0ea7
Updating sparky state in TODO list now that baro is confirmed working on
...
a board with a good baro.
As of this commit the following was observed:
* Baro's on Sparky boards supplied by Witespy / RTF Quads are bad (very
very noisy).
* Baro's on Sparky boards supplied by RadioC are fine.
2015-02-02 00:16:07 +00:00
Dominic Clifton
5512ff08c3
Allow thrust color to be combined with throttle.
2015-02-01 18:34:37 +00:00
Dominic Clifton
0fd7a2568c
Fix for BaroAlt resetting to 0.
...
This needs a little more investigation since it only seems to happen on
the Sparky (F3 target). The BaroAlt resets to 0 because of floating
point divide by 0 when calculating accZ_tmp which results in accAlt
becoming not-a-number (NaN).
2015-02-01 17:18:20 +01:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +01:00
Dominic Clifton
8cc9e8ca37
More relocation of variables.
2015-02-01 00:03:46 +01:00
Dominic Clifton
53406a7ac7
Relocate some structures and code to the right places.
...
This cleans up the include file order somewhat and fixes a couple of
dependencies.
The goal of this is to rename flight.c/flight.h to pid.c/pid.h.
2015-01-31 23:47:51 +01:00
Dominic Clifton
a9b2c39872
printf naming cleanup
2015-01-31 22:29:17 +01:00
Dominic Clifton
2a37e26715
Use correct flag for GPIOC IDR check.
2015-01-31 22:27:45 +01:00
Dominic Clifton
01b2ce0b36
IMU naming cleanup.
2015-01-31 22:23:38 +01:00
Dominic Clifton
8b0a982931
Telemetry naming cleanup.
2015-01-31 22:12:11 +01:00
Dominic Clifton
7c2c5eb152
Removing TODOs.
...
If it needs to be done it will be done.
2015-01-31 22:08:03 +01:00
Dominic Clifton
a0cca0c889
Updating sparky state in TODO list.
2015-01-31 21:59:13 +01:00