Ian Hua / Quadcopter-mbedRTOS

Revisions of RTOS-Threads/src/Task3.cpp

Revision Date Message Actions
44:4be5c01c6de2 2014-05-16 Changed a few variables that were not declared volatile but are accessed by multiple threads File  Diff  Annotate
40:27e344adfdb9 2014-05-14 PID stable again. Quadcopter lifting almost straight (off by 0.5deg max on back and left for rate; off by 2deg max on back and left for attitude); Need LPF or better deadbanding since transmitter has noisy sticks; Need Euler instead of YPR angles File  Diff  Annotate
39:02782ad251db 2014-05-14 PID tuned; Frequency of Attitude and Rate PID decreased; ESC frequency decreased; RTOS back to stable; Increased stick gains File  Diff  Annotate
38:ef65533cca32 2014-05-13 Quadcopter unstable again. ; Working on KP and KI for Rate and Attitude.; Still experimenting with frequency of Rate and Attitude loop. File  Diff  Annotate
37:29feef05d848 2014-05-13 Fixed some bugs causing RTOS to crash, due to printfs being too long File  Diff  Annotate
36:d95e3d6f2fc4 2014-05-13 Telemetry output completely changed; Code tidied File  Diff  Annotate
34:228d87c45151 2014-05-12 Code tidied File  Diff  Annotate
33:f88a6ee18103 2014-05-12 Tidied code File  Diff  Annotate
32:7a9be7761c46 2014-05-12 Increased PID and ESC update frequency.; ; Thread1: Only services ypr telemetry output; Thread2: Cascaded PI-PI control; Thread3: Changed UART control; Thread4: Changed calibration output and throttle, removed ESCpower output File  Diff  Annotate
31:3dde2201e54d 2014-05-12 Rearranged threads and approach File  Diff  Annotate
30:d9b988f8d84f 2014-05-12 WIP File  Diff  Annotate
27:18b6580eb0b1 2014-05-10 Alternative1: Run Master only when YPR is updated File  Diff  Annotate
25:a7cfe421cb4a 2014-05-08 Added RATE and STABLE mode switch.; Tuned Primary and Secondary PID loops.; Quadcopter can now be flown stably indoors.; Need to add in Integral Control, and then clean up to move away from Bluetooth arming. File  Diff  Annotate
24:54a8cdf17378 2014-05-08 Stable mode works. Already begun to start implementing MODE SWITCHING File  Diff  Annotate
22:ef8aa9728013 2014-05-08 Commented and tidied entire code for release File  Diff  Annotate
21:b642c18eccd1 2014-05-08 Primary PID disabled. Secondary (rate) PID enabled. P gain tuned File  Diff  Annotate
20:b193a50a2ba3 2014-05-03 Added in ability to control PID; fixed PID initialisation bug File  Diff  Annotate
18:af657c4c3944 2014-05-03 Better FIFO handling: Only keep max of 2 packets in FIFO, read all of FIFO each time FIFO is read File  Diff  Annotate
17:18c3bd016e49 2014-05-03 Got rid of extra debug printfs. ; Implemented RCCommand restrain: 1000-2000us File  Diff  Annotate
15:10edc6b12122 2014-05-03 Next major change: Handling FIFO overflow File  Diff  Annotate
12:953d25061417 2014-05-02 Added in all sensors. Need to add in EEPROM to complete control of Tilty. Finished all telemetry output and appropriate data rates. File  Diff  Annotate
10:ef5fe86f67fe 2014-05-01 Fixed quaternion stability: FIFO was not serviced fast enough, and lacked correct tidying after each read File  Diff  Annotate
6:1a5654c14b5b 2014-04-30 Added in AUX for RC Command File  Diff  Annotate
5:4879ef0e6d41 2014-04-30 Fixed bug with gyro and plane axis, added in corrected PID SP and PV File  Diff  Annotate
4:01921a136f58 2014-04-30 Included RX Module read File  Diff  Annotate
3:605fbcb54e75 2014-04-29 Fully implemented system. Need to test stability of RTOS, and to make sure that values are correct. ; Rate Mode only. File  Diff  Annotate
2:ab967d7b4346 2014-04-29 Added in simple ESC initialise File  Diff  Annotate
1:43f8ac7ca6d7 2014-04-29 Tidy file structure: threads in separate files for easy navigation File  Diff  Annotate