Commit Graph

5923 Commits

Author SHA1 Message Date
Andrew Tridgell a3bd61cfb8 DigitalWriteFast: fixed example build 2012-11-24 21:08:36 +11:00
Andrew Tridgell 7761195f64 RangeFinder: fixed example build 2012-11-24 21:08:25 +11:00
Andrew Tridgell cbef768b69 AP_PID: fixed example build 2012-11-24 21:08:14 +11:00
Andrew Tridgell 18fbcdf9e6 AP_InertialSensor: fixed example build 2012-11-24 21:08:06 +11:00
Andrew Tridgell cb7979d5fd AP_GPS: fixed examples build 2012-11-24 21:07:53 +11:00
Andrew Tridgell 510d01b1c2 AP_Baro: fixed example build 2012-11-24 21:07:41 +11:00
Andrew Tridgell a83e22181f AC_PID: fixed example build 2012-11-24 21:07:34 +11:00
Andrew Tridgell e29eb42bcf scripts: added build_example.sh script
used to test the build of all our example code
2012-11-24 21:06:52 +11:00
Andrew Tridgell 901a5326a4 Copter: fixed build error
thanks to Marco for pointing this out
2012-11-24 20:39:35 +11:00
Andrew Tridgell 62edd146a3 Copter: added reboot in CLI and over MAVLink
useful for getting out of CLI
2012-11-24 18:20:37 +11:00
Andrew Tridgell e5e6131085 Plane: allow reboot on APM1, and add reboot to main CLI menu 2012-11-24 18:20:37 +11:00
John Arne Birkeland 3783d0b6de ArduPPM v2.3.12 ATMega32u2 (APM 2.x)
---------------------------------------------
- New improved fail-safe detection and handeling for single or multible signal loss and receiver malfuntion
- Improved LED status for APM 2.x
- Improved jitter performance (PPM output using nested interrupts)

-------------------------------------------------------------
ARDUPPM OPERATIONAL DESCRIPTION
-------------------------------------------------------------

APM 2.x LED STATUS:
-------------------
RX - OFF         = No input signal detected
RX - SLOW TOGGLE = Input signal OK
RX - FAST TOGGLE = Invalid input signal(s) detected
RX - ON          = Input signal(s) lost during flight and fail-safe activated
TX - OFF         = PPM output disabled
TX - FAST TOGGLE = PPM output enabled
TX - SLOW TOGGLE = PPM pass-trough mode

SERVO INPUT (PWM) MODE:
 -----------------------
- PPM output will not be enabled unless a input signal has been detected and verified
- Verified inputs are lost during operaton (lose servo wire or receiver malfunction):
  + The PPM output channel for the lost input will be set to the default fail-safe value
  + PPM throttle output (ch3) will be permanently set to fail-safe (900us)
- Lost channel signal is restored:
  + PPM output for the restored channel will be updated with the valid signal
  + PPM throttle output (ch3) will not be restored, and will continue to output fail-safe (900us)

PPM PASS-THROUGH MODE (signal pin 2&3 shorted):
-----------------------------------------------
- PPM output will not be enabled unless a input signal has been detected
- Active signal on input channel 1 has been detected:
  + Any input level changes will be passed directly to the PPM output (PPM pass-trough)
  + If no input level changes are detected withing 250ms:
    + PPM output is enabled and default fail-safe values for all eight channels transmitted
    + Input level change detected again, PPM fail-safe output is terminated and normal PPM pass-through operation is restored
2012-11-23 21:53:35 +01:00
John Arne Birkeland 6d7eb2a0db ArduPPM(experimental): bug fix
- Removed compiled firmware files to prevent acidentally spreading of experimental firmware.
2012-11-22 17:07:05 +01:00
John Arne Birkeland f5a3274590 Merge remote-tracking branch 'origin/master' 2012-11-22 16:54:19 +01:00
John Arne Birkeland 147fb8c17a ArduPPM(experimental): Active input channel detection during init 2012-11-22 16:54:04 +01:00
rmackay9 21d72bb49b AP_InertialSensor: increase acceptable Z accel offset to be 3.0 G
Note: Z offsets do tend to be larger than x and y offsets
2012-11-23 00:34:42 +09:00
John Arne Birkeland 6372e8591e Merge remote-tracking branch 'origin/master' 2012-11-22 14:25:27 +01:00
John Arne Birkeland 222c9cfca3 ArduPPM: Experimental PPM encoder to test possible fail-safe detection improvements. 2012-11-22 14:24:53 +01:00
Andrew Tridgell 386ef45fbb Copter: ported RSSI_PIN option from ArduPlane
this is useful for OSD users
2012-11-22 20:59:33 +11:00
Andrew Tridgell 24c0413b7e AP_GPS: added in two more dynamic model enums 2012-11-22 16:23:29 +11:00
Andrew Tridgell 9317cb6925 APM_RC: fixed APM1 example sketch 2012-11-22 15:42:33 +11:00
Andrew Tridgell a8edc27849 APM_RC: added a test for ISR masking in APM_RC 2012-11-22 15:42:33 +11:00
rmackay9 79bcdf3625 ArduCopter: remove commented out remnants of roll_scale_d and pitch_scale_d 2012-11-22 12:50:39 +09:00
rmackay9 8c1088807c DigitalWriteFast: added keywords for syntax colouring in Arduino IDE 2012-11-22 12:25:57 +09:00
rmackay9 ed38440f5b ArduCopter: added ReleaseNotes.txt 2012-11-22 09:51:04 +09:00
Robert Lefebvre 211f964553 Changes to get_throttle_rate()
Commented out a bit of code that is not used currently
Change the output constrains to #defines so they can be easily changed, particularly for use in TradHeli.
2012-11-21 17:11:38 -05:00
Andrew Tridgell f9892fac60 ACM: allow fetch of parameters by index
this makes it more efficient to re-fetch parameters that are missing
2012-11-22 00:16:57 +11:00
Michael Oborne 9d336679e6 firmware build 2012-11-21 19:33:46 +08:00
Andrew Tridgell db357c932c APM: preparing for 2.67 release 2012-11-21 22:28:30 +11:00
Andrew Tridgell 0cec543610 SITL: run the timer_scheduler() when there are no SITL packets
otherwise we can block in the ADC code
2012-11-21 22:20:14 +11:00
Andrew Tridgell b103b94950 Revert "APM_RC: Modified get_last_update() to be more interrupt friendly"
This reverts commit 50ba0ce4fa41c6d4101dff8da17c267a65750522.

It didn't build, and I want to do a release based on tested code
2012-11-21 21:48:02 +11:00
Andrew Tridgell 4e415424a2 Rover: make it possible to run the CLI over a radio link 2012-11-21 21:41:34 +11:00
Andrew Tridgell 76e9adb8d4 ACM: make it possible to run CLI on radio port in ArduCopter 2012-11-21 21:41:34 +11:00
Andrew Tridgell 937c485f91 APM: make it possible to run the CLI on any serial port 2012-11-21 21:41:34 +11:00
Andrew Tridgell 655446feec INS: make it possible to do accel cal on a different serial port 2012-11-21 21:41:34 +11:00
Andrew Tridgell 8aa8f81b2f FastSerial: added a vprintf_P() function
used by CLI on UART2
2012-11-21 21:41:34 +11:00
Andrew Tridgell aeb39dabb9 AP_Menu: allow menus to work on ports other than UART0 2012-11-21 21:41:34 +11:00
John Arne Birkeland 3adaffd783 APM_RC: Modified get_last_update() to be more interrupt friendly 2012-11-21 10:34:04 +01:00
Andrew Tridgell 7436974e2f MAVLink: make it possible to enter the CLI over the radio
this only works on the APM2, where UART0 is also the radio port
2012-11-21 14:11:05 +11:00
Andrew Tridgell 68ae91a729 APM: added AMP_OFFSET option
thanks to Alexey Kozin!
2012-11-21 13:34:27 +11:00
Andrew Tridgell 1232075f83 APM: allow ailerons to move fully during servo demo 2012-11-21 13:34:27 +11:00
Andrew Tridgell 3cf492a637 APM: added a new type of auxilary aileron, with rc input
a AileronWithInput assumes you have setup your RC transmitter to give
the right trim and input on the secondary aileron
2012-11-21 13:34:26 +11:00
Andrew Tridgell 5eeb6638f2 RC_Channel: added aileron_with_input aux function 2012-11-21 13:34:26 +11:00
Michael Oborne 9ba3dd735b remove cli planner mode - no longer used 2012-11-21 07:45:45 +08:00
Michael Oborne a9531082e0 fix unit max. and unit type 2012-11-21 07:42:53 +08:00
Andrew Tridgell a66da57d0a SITL: added in recursion check in timer_handler() 2012-11-21 09:10:10 +11:00
Andrew Tridgell d6d7e2674f Semaphore: switch to SREG = oldSREG pattern for interrupt mask/restore 2012-11-20 22:31:23 +11:00
Andrew Tridgell da6f6f3e41 PeriodicProcess: switch to SREG = oldSREG pattern for interrupt mask/restore 2012-11-20 22:31:23 +11:00
Andrew Tridgell 3646b4b846 INS: switch to SREG = oldSREG pattern for interrupt mask/restore 2012-11-20 22:31:23 +11:00
Andrew Tridgell 4673ecfdf2 AP_Baro: switch to SREG = oldSREG pattern for interrupt mask/restore 2012-11-20 22:31:17 +11:00