Commit Graph

247 Commits

Author SHA1 Message Date
KipK 7bd2db04be Added a mcfg.telemetry_switch for CLI
If telemetry_switch=1 it change baudrate and protocol using aux channel, either it switch  when armed/disarmed.

This allows to keep MSP serial while armed for BT dongle if needed.
2014-01-16 19:36:54 +01:00
KipK 0d974e2882 reverting previous fix. This doesn't solve all conditions.
I need to add a telemetry_switch conf or feature to solve enabling MSP over FRSKy with switch not activated when armed ( i.e. using bt serial for tuning sessions ), but it will break when not using telemetry switch.
Better to keep it like this for now.
2014-01-16 17:18:43 +01:00
KipK b55496b13f Telemetry switch: fix stupid mistake 2014-01-16 16:18:36 +01:00
KipK e6889aea12 Start Frsky telemetry using a switch without beeing armed.
This adds a Telemetry checkbox in the gui.
2014-01-15 14:53:03 +01:00
dongie 699dc00332 Merge branch 'fix' of https://github.com/treymarc/baseflight into treymarc-fix 2014-01-15 22:04:19 +09:00
dongie a206965854 adding support for maxthrottle and mincommand in MSP_SET_MISC now that all the tools can use it. 2014-01-15 19:37:31 +09:00
dongie 9a7ff04422 adding untested (and needing work) fixedwing althold implementation.
see comments in code for things to fix. added new variable to cli, fixedwing_althold_dir (though its value isn't really clear, I think it should always be positive since servo direction mix is done later).
2014-01-06 21:38:36 +09:00
treymarc b2e7c8d8fc THROTTLE ANGLE CORRECTION , "*" "/" operator priority bug
http://www.multiwii.com/forum/viewtopic.php?f=8&t=4433
2014-01-04 22:19:51 +01:00
treymarc bf5b70f4e2 remove newlib stub , add mixer correction 2014-01-01 10:23:48 +01:00
treymarc 01f079c254 ed 2014-01-01 10:18:18 +01:00
treymarc 239120ba4e ignore white space 2014-01-01 10:14:23 +01:00
treymarc 2caa1fbb20 add newlib stubs 2014-01-01 09:42:14 +01:00
treymarc d885e39a90 type float 2014-01-01 09:24:12 +01:00
treymarc c76a9669f6 mixer coorection for hexa6x and hexa6p 2014-01-01 09:17:13 +01:00
treymarc 033a8fbe3f ident/format 2014-01-01 09:16:41 +01:00
dongie 13324c9f88 build binary for the previous GPS baud rate index fix 2013-12-27 08:37:17 +09:00
Kemal Hadimli b74b9f182b gps: use gpsData.baudrateIndex all around 2013-12-26 22:17:05 +02:00
dongie ac3b1fab64 Merge pull request #25 from disq/gps_baudfix
GPS Autoconfigure fix
2013-12-24 06:40:18 -08:00
Kemal Hadimli d9c9cbfb9f another formatting fix 2013-12-24 16:15:08 +02:00
Kemal Hadimli ab49f4efd2 fix formatting 2013-12-24 02:20:17 +02:00
Kemal Hadimli 11abec88ed gps nmea: reset error counter on init hardware 2013-12-24 01:48:51 +02:00
Kemal Hadimli 51b8a9e365 gps autoconfigure: wait 100ms between baud changes 2013-12-24 01:48:47 +02:00
dongie 4972770907 correction of calculation for throttle angle correction (should really just replace with cosf() at some point 2013-11-26 11:31:23 +09:00
Moritz Ulrich 5c733665de Telemetry: Send opentx variometer values.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-11-25 03:07:36 +01:00
Moritz Ulrich b12e98316c Fix telemetry altitude.
Frsky assumes a positive after-decimal uint16.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-11-25 02:18:50 +01:00
dongie 1cbbe0b110 airplane mixer will now actually output servo data 2013-11-14 20:28:33 +09:00
dongie 7a4cdec0e5 limit thr_expo to 100 for previous commit 2013-11-09 08:29:29 +09:00
Johannes Kasberger 26aa644999 Fixes array out of bound access for lookupPitchRollRC and lookupThrottleRC. 2013-11-07 16:59:36 +01:00
dongie b2f163d2ac whitespace fixes in previous commit 2013-11-07 22:12:28 +09:00
dongie b7db6a04d1 Merge pull request #14 from schugabe/typepunnedwarning
fixed gcc compiler warning in cliset
2013-11-07 05:07:19 -08:00
fiendie 6ab48fc438 Revert new PID stuff and move it to a separate branch for now. 2013-11-07 13:15:31 +01:00
Johannes Kasberger 733f1ef51b fixed compiler warning in cliset
Warning was warning: dereferencing type-punned pointer will break strict-aliasing rules
2013-11-07 11:38:12 +01:00
Lukas S 2d029105a5 fixed rotation fail 2013-11-04 00:26:54 +01:00
dongie c14e7cf59f whitespace and formatting cleanups from latest commit 2013-11-03 12:21:22 +09:00
Lukas S b996b26cbb new Baseflight PID
full gyro scale is used now
and a new pid with float calculations was added based on PIDrewrite
eeprom size was also increased from 1kB to 2kB
2013-11-03 03:48:45 +01:00
dongie bff260c7c6 logic and whitespace fixes in gps passthrough 2013-11-02 22:51:56 +09:00
dongie ab6df2e317 Merge pull request #8 from disq/gps_passthrough
GPS passthrough cli command
2013-11-02 06:45:16 -07:00
dongie 33de2191df fuck git 2013-11-02 16:59:32 +09:00
dongie 29a9507c15 adding untested (and probably non-working) airplane mixer from mwc 2.3
flaperons not implemented (too hacky)
flaps should work
2013-11-02 16:22:30 +09:00
dongie f4eea64805 Merge pull request #6 from disq/gps_nodelay
init GPS one byte at a time
2013-11-02 00:01:42 -07:00
Kemal Hadimli da0669ef22 increment state_position later, get rid of lte in favor of lt comparisons 2013-11-02 08:55:27 +02:00
dongie bd8b1a1c8f cleaned up cliMotor(), added MSP_SET_MOTORS and enabled CAP_DYNBALANCE so the motors can be controlled from GUI 2013-11-02 15:09:46 +09:00
dongie d7b99e7938 Merge branch 'upstream' of https://github.com/davibe/baseflight into davibe-upstream 2013-11-02 14:40:50 +09:00
dongie e1087cf921 fix returned size in MSP_MISC, should correct CRC errors in other GUIs and correctly work with MSP_SET_MISC in MultiWiiConf 2013-11-02 12:40:56 +09:00
dongie 1990c6a67e add new gps type 2013-11-02 11:14:25 +09:00
Kemal Hadimli c4dd556f3d gps passthrough cli command 2013-11-02 02:16:40 +02:00
Kemal Hadimli 091c77592a gps: wait for gps write buffer to empty before writing more 2013-11-02 02:07:14 +02:00
Kemal Hadimli 567e7f7cc8 gps: keep state position use it to execute partial initialization code, get rid of delay() calls 2013-11-02 02:07:06 +02:00
dongie 7eec3aec9e add untested mixers - HEX6H, dual/single copter, to match mixer IDs with MultiWiiConf 2013-11-02 08:17:31 +09:00
Davide Bertola 786d727705 Add cli 'motor' command
It allows to get and set single motor output
value.
2013-11-01 11:28:29 +01:00