Commit Graph

199 Commits (8ffcb25375bdf55214ab7140278947f3f85bf46e)

Author SHA1 Message Date
Dominic Clifton a5de593da7 Allow LED strip colors to be used. Requires new firmware.
At the moment colors are only used by the thrust ring mode.
2015-01-23 02:12:20 +01:00
Dominic Clifton 8c10f39606 Add support for backup and restore of led strip config.
Various minor code cleanups.
2015-01-19 20:41:41 +01:00
Dominic Clifton 519de30f6e Allow saving of LED Strip configuratiion via MSP. Requires firmware
with new MSP_SET_LED_STRIP_CONFIG.

Remove some .toUpperCase() duplication since it was only needed for the
CLI commands panel.
Minor CSS cleanups.
Some variable and class renaming to align with firmware code.
2015-01-16 00:15:41 +00:00
Dominic Clifton 683e68b036 Add support for MSP_LED_STRIP_CONFIG. 2015-01-08 23:21:17 +00:00
Dominic Clifton 835e665017 Fix 'unknown code' messages in console log. 2015-01-07 20:15:21 +00:00
Dominic Clifton eda54f13db Update RSSI channel configuration. 2015-01-07 13:51:08 +00:00
Dominic Clifton d671bff583 First cut of functional 'Ports' tab. Support backup and restore of
serial port scenarios and baud rates.  Add note to 'features' tab.
2015-01-03 00:58:52 +00:00
Dominic Clifton 32820853ce Updating to use API version 1.1. 2015-01-02 19:31:50 +00:00
Dominic Clifton 502cf718ab Update backup/restore functionality so that it restores adjustments,
auxiliary settings and channel forwarding (per-profile).  Add "Warning
Cell Voltage" to the UI.
2014-12-21 12:29:36 +00:00
Dominic Clifton 7692b7354a Update configuration for Cleanflight settings. 2014-12-20 02:50:36 +00:00
Dominic Clifton a8cf910f51 Merge remote-tracking branch 'multiwii/master'
Conflicts:
	README.md
	_locales/en/messages.json
	changelog.html
	js/backup_restore.js
	js/data_storage.js
	js/msp.js
	js/protocols/stm32.js
	js/serial_backend.js
	main.css
	main.html
	main.js
	manifest.json
	tabs/auxiliary_configuration.css
	tabs/default.css
	tabs/firmware_flasher.js
	tabs/initial_setup.css
	tabs/initial_setup.html
	tabs/initial_setup.js
	tabs/modes.html
	tabs/modes.js
	tabs/motor_outputs.css
	tabs/motors.html
	tabs/receiver.css
	tabs/servos.js
2014-12-18 22:40:03 +00:00
cTn e87c0ca4ee experimental bugfix for backup/restore failing under certain conditions 2014-12-05 10:24:20 +01:00
jaahaavi b2cb677869 Updated GPS settings
- Added SBAS disabled (-1) to configuration tab
- Fixed GPS signal strength bars
2014-11-23 11:41:24 +02:00
Dominic Clifton 902da2f91d Add 'Adjustments' tab.
Cleanup 'Auxilary' tab code.
Rename other tabs to have shorter titles.
2014-11-09 00:46:12 +00:00
cTn a31282c6a3 fix vbatmincellvoltage and vbatmaxcellvoltage scale factors inside output cruncher 2014-11-03 18:36:29 +01:00
Dominic Clifton 2733f4832e Retrieve and display MSP API Version from new MSP_API_VERSION command.
Requires latest firmware.
2014-10-18 16:58:49 +01:00
Dominic Clifton b03ae309fb Update to match recenly renumbered MSP commands for cleanflight MSP commands. 2014-10-14 01:02:46 +01:00
Dominic Clifton 428a00e651 Update AUX config UI to use new MSP commands for mode ranges. 2014-10-12 23:47:20 +01:00
cTn 782cc916bd store request buffer content inside callback object 2014-10-10 00:33:19 +02:00
cTn 437fbe2cd0 cleanup eventPage, small optimizations and stricter rules for msp send callbacks 2014-10-07 17:40:52 +02:00
cTn cd4c7a8160 add SERVO_CONFIG to backup file, restoring old version will throw compatibility error 2014-10-06 15:24:34 +02:00
cTn fe4240deb7 rssi_aux_channel support in receiver tab, hybrid box bugfixes 2014-09-24 16:01:23 +02:00
cTn 4719d1562d implement build info 2014-09-24 15:35:20 +02:00
cTn c24b8fb482 MSP_BUILDINFO placeholder code 2014-09-24 15:19:22 +02:00
cTn 16a68557c3 add multiwiicurrentoutput and rssi_aux_channel to data storage and msp read/write 2014-09-24 15:09:09 +02:00
cTn 6d44499f99 handle impossible default state since that's what we do now 2014-09-21 20:40:33 +02:00
cTn a0ed27c161 reorganization of several MSP methods, small optimizations 2014-09-21 20:31:57 +02:00
cTn 5d9b28c5c7 add MSP_SET_RCMAP to cruncher 2014-09-19 16:11:26 +02:00
cTn 0c175725b1 support for currentscale and currentoffset, ui fully working both read and write 2014-09-18 13:21:48 +02:00
cTn 800bfd59c8 support for multiwiicurrentoutput 2014-09-18 12:24:38 +02:00
cTn fee5219a73 move index to ascii conversion for rcmap out of msp protocol, define feature index array (will get a proper text polish in the future)
updating mixer select with missing names
2014-09-17 11:23:31 +02:00
cTn e9c4a533af finishing touches to the crunching mechanism, backup and restore is all cleaned up now 2014-09-17 09:27:54 +02:00
cTn e626fbeb7b utilizing the new data cruncher in various tabs (aux, pid, receiver) and in restore routines, unfinished (looking solid) 2014-09-16 23:07:52 +02:00
cTn bfb6e17187 removing obsolete code 2014-09-16 21:17:53 +02:00
cTn 8a951acb82 new generic crunching mechanism that will be used with all of the future set messages 2014-09-16 19:24:10 +02:00
cTn c37b9ff0f1 merging MISCv2 into MISC since its both data structure and old fw/new fw compatible 2014-09-16 15:43:04 +02:00
cTn 7e8b1781da add RC_MAP, BF_CONFIG for storing new info that is now available, working channelLetter mapping, unfinished MISCv2 2014-09-16 14:48:36 +02:00
cTn 97d3a24787 update msp layer with new transmission codes, add transparent methods to handle the incoming data (temporary) 2014-09-16 13:36:10 +02:00
cTn d4f4d619cf another run on undefined comparators 2014-08-24 23:38:42 +01:00
cTn b78395d639 corrections of inline functions 2014-08-24 23:36:17 +01:00
cTn d9c315338d turning on strict mode for various js files 2014-08-24 23:36:17 +01:00
cTn dbf528345e another run on undefined comparators 2014-08-14 16:41:49 +02:00
cTn f16b3a479a corrections of inline functions 2014-08-09 20:40:40 +02:00
cTn 36f456d2e7 turning on strict mode for various js files 2014-08-09 19:38:46 +02:00
Dominic Clifton 1688b41eb2 Merge remote-tracking branch 'multiwii/master'
Conflicts:
	changelog.html
	main.js
2014-07-20 01:01:25 +01:00
cTn 8a52551671 request and store MSP_BOXIDS (for reasons unknown at the moment) 2014-07-11 17:52:56 +02:00
Dominic Clifton 58f933e92c Merge remote-tracking branch 'multiwii/master'
Conflicts:
	_locales/en/messages.json
	tabs/auxiliary_configuration.html
	tabs/auxiliary_configuration.js
	tabs/receiver.css
2014-07-07 19:45:33 +01:00
Dominic Clifton 9c6fdf81c8 Update servos tab to support cleanflight's cleaner implementation of
channel forwarding which doesn't re-use 'middle'

This essentially removes the legacy multiwii hack support.
2014-07-06 12:26:41 +01:00
cTn 8273081fdd moving kinematics data to array 2014-06-20 12:39:42 +02:00
cTn f70b6f64ff add i2c error counter in status bar 2014-06-16 14:13:30 +02:00
cTn b09620b6ae remove obsolete needle, cleanup 2014-06-07 17:54:51 +02:00
Dominic Clifton 7e62e98bac Support AUX1-8 on the 'Auxiliary Configuration' tab. 2014-06-04 19:33:24 +01:00
cTn 5abe7473f8 moving send_message routine to MSP object 2014-06-01 14:10:18 +02:00
cTn 46cf844e7e display current draw in A not mA 2014-05-30 01:41:27 +02:00
cTn d68bd29191 initial support for current sensor code from Lux 2014-05-29 20:16:32 +02:00
cTn 5f07390d45 stuff rcData to array (allocating up to 32 chan) 2014-05-15 13:12:13 +02:00
cTn 7e82e96114 add support for MSP_PIDNAMES 2014-05-03 22:42:11 +02:00
cTn 74e9256e75 correcting MSP implementation, optimizations 2014-04-11 15:11:59 +02:00
cTn e0510603d8 info box with voltage & rssi on initial setup 2014-04-03 14:33:30 +02:00
cTn 8d6702c15e lowering MSP_STATUS pull speed to 250ms 2014-03-30 11:51:16 +02:00
cTn 13ce2dc11b polish 2014-03-29 22:27:21 +01:00
cTn 58d43c381b removal of char_counter, new port_usage, i18n
added bitrate to serial object, removed last bits of 'port_handler'
interval code forgotten in the kill routines, new port_usage is now
saved in a separate file
2014-03-29 00:59:39 +01:00
cTn b11a84217b performance boost 2014-03-12 00:07:27 +01:00
cTn 9b29f78e3e whitespace trimming run 2014-03-08 06:25:15 +01:00
cTn 0607ccbff4 no need to reverse itter over here 2014-03-07 18:37:21 +01:00
cTn 2d1099a3a9 rework & tiny optimizations 2014-03-02 18:36:28 +01:00
cTn 6e9ac33cba bugfixes 2014-02-28 20:34:11 +01:00
cTn bf3a6b40b3 callbacks_cleanup bugfix 2014-02-28 17:38:08 +01:00
cTn 9a0fbbe96b initial work on callbacks_cleanup 2014-02-28 15:44:07 +01:00
cTn 927589e22f clear callbacks the smarter way 2014-02-28 14:07:11 +01:00
cTn e1a15b2bb4 deploying callback/timeout system for all MSP
commands, i am currently using static timeout (interval) of 1000ms, this
might be changed in the future
2014-02-20 12:16:00 +01:00
cTn 65555b224c added profile select in PID tab 2014-02-14 15:41:36 +01:00
cTn 88ed454169 bugfix / cleanup routine for delayed data
requests that could leak into CLI and cause corruption
2014-02-10 16:26:43 +01:00
cTn a9f73b6384 no more playing nice with official msp 2014-02-04 19:00:53 +01:00
cTn 2ce29db887 more dynamic approach to pid parsing 2014-02-02 03:23:44 +01:00
cTn e5041c233e adjusting MSP according to the latest bf changes 2014-01-28 01:33:01 +01:00
cTn cbf4db1efe debug message for timed out MSP commands 2014-01-26 20:01:18 +01:00
cTn 2579b7d394 MSP - on fail retry codes that requested callback
#close 11
2014-01-26 18:46:36 +01:00
cTn 21af65567c created MSP disconnect cleanup routine 2014-01-26 18:24:46 +01:00
cTn 384502eb3a rename 2014-01-26 15:20:38 +01:00
Lukas S 5040bca974 fix mag scale factor 2014-01-26 00:59:01 +01:00
cTn 8c95ee1ca7 changing scale factors 2014-01-26 00:30:07 +01:00
cTn c0937ddbd4 splitting MSP and CLI integration, new serial api 2014-01-22 20:35:37 +01:00
cTn 64fe1d7b05 updating msp 2014-01-18 12:02:59 +01:00
cTn edbf03aa3f support for mag_declination and UI polish 2014-01-15 12:34:23 +01:00
cTn 467b228b34 MISC UI implementation for battery
fixes #15
2014-01-13 17:43:22 +01:00
cTn f72a99f327 get MISC implementation 2014-01-13 16:16:16 +01:00
cTn d635fe0bde *christmas evening commit*
fixes #17
2013-12-24 19:17:59 +01:00
cTn 01a5c753aa bugfixes & tiny optimizations 2013-12-15 02:28:12 +01:00
cTn fd62b8568c validation 2013-12-12 17:10:10 +01:00
cTn ac85aeff8a adding packet error indicator in status bar
fixes #8
2013-12-05 10:34:10 +01:00
cTn 42101ec791 initial tab init moved to serial backend
#10
2013-12-05 10:17:49 +01:00
cTn 56251916aa handle connecting failure more gracefully 2013-11-22 12:11:20 +01:00
cTn e99cbcecee polishing connect UI 2013-11-22 11:59:38 +01:00
cTn 1bc89ae22a adding latest stuff to MSP 2013-11-11 13:33:50 +01:00
cTn edc7df490c motor testing implementation (needs to be polished) 2013-11-11 12:57:22 +01:00
cTn 2bcb19fd42 also log MSP.code when crc fails 2013-11-10 19:08:40 +01:00
cTn 0cc045317b fixing datatype and adding new property 2013-11-09 09:28:37 +01:00
cTn fbc886787d strongly refactored MSP with callback support 2013-11-09 03:52:06 +01:00