Commit Graph

14034 Commits

Author SHA1 Message Date
Víctor Mayoral Vilches ce4c4c43dc AP_HAL_Linux: Scheduler reboot fix
exit from the autpilot when reboot is commanded.
The software assumes that the code is being
launched in an infinite loop thereby an exit
will make it reboot.
2014-11-14 10:27:19 +11:00
Andrew Tridgell ce4da9b09c autotest: raise timeout again 2014-11-14 10:26:18 +11:00
John Williams b1c6931ade Build: added zynq make target 2014-11-14 10:21:05 +11:00
John Williams ae87399919 HAL_Linux: Basic Zynq Linux platform support
Preliminary support for Zynq/Linux on the 'ZyboPilot' HW platform.

see https://github.com/trjw/ZyboPilot-bsp for the PetaLinux / Vivado project
files.

At this stage CPPM/Pulse in and PWM out work, and in CLI mode the passthru
test works correctly.

The platform has passed minimal smoke testing in HIL mode.

ZYNQ IS NOT FLIGHT TESTED YET!  FLY THIS PLATFORM AT YOUR OWN RISK!

Signed-off-by: John Williams <john@whelanwilliams.net>
2014-11-14 10:21:04 +11:00
Andrew Tridgell adcf994356 AP_HAL: added Zynq platform type 2014-11-14 10:21:04 +11:00
Staroselskii Georgii 7f00dd413f AP_Compass: fixed HMC5883's initialisation code 2014-11-14 10:21:04 +11:00
Craig Elder f7d0a930c2 Copter: Updated GCS_FAILSAFE Parameter Description 2014-11-13 13:10:06 -08:00
Dario Lindo Andres 18e4747a6f Added name to GIT_Success.txt 2014-11-13 10:55:58 -08:00
Andrew Tridgell 3b6c732b3b APM_Control: changed default I gain for roll/pitch controllers to non-zero
too many people are still not tuning. At least this will give them a
chance to get their aircraft back in a cross-wind
2014-11-13 22:13:25 +11:00
Andrew Tridgell 0d7ec0fbfe autotest: fixed buildlogs location for *.BIN 2014-11-13 21:52:48 +11:00
Andrew Tridgell 7f5cc97769 Plane: changed for new AP_Airspeed API 2014-11-13 21:12:59 +11:00
Andrew Tridgell 258542b939 AP_Airspeed: added ARSPD_SKIP_CAL parameter
allows airspeed calibration to be skipped for easier startup
2014-11-13 21:12:37 +11:00
Andrew Tridgell fa5bab2682 Plane: log raw pressure and offset 2014-11-13 17:49:14 +11:00
Andrew Tridgell 9c631944f7 AP_Airspeed: expose raw pressure for logging 2014-11-13 17:49:04 +11:00
Andrew Tridgell 75a517824b build: put elf file in current directory
makes it more obvious where the build ends up
2014-11-13 17:27:53 +11:00
Andrew Tridgell f04f8e226d SITL: abort on floating point error
this creates a core file
2014-11-13 17:27:20 +11:00
Andrew Tridgell e49cd68b83 autotest: save core and elf files
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell 7f82397467 autotest: ensure we get the BIN flight logs even on mission failure 2014-11-13 16:31:26 +11:00
Andrew Tridgell 1fc8116069 AP_L1_Control: update NAV_L1_PERIOD docs 2014-11-13 14:26:42 +11:00
Andrew Tridgell 3813bcb7ce Plane: small improvement to takeoff docs 2014-11-13 14:24:37 +11:00
Andrew Tridgell 135f9b2c54 Plane: added STALL_PREVENTION option
this will allow users to disable it if it proves to be a problem with
no airspeed sensor
2014-11-13 14:06:00 +11:00
Andrew Tridgell 1552278fa3 AP_TECS: use aparm.stall_prevention 2014-11-13 14:05:33 +11:00
Andrew Tridgell 04b63a61bf AP_Vehicle: added stall_prevention variable 2014-11-13 14:05:22 +11:00
Andrew Tridgell 58fd72944d Plane: honor TKOFF_THR_MAX in set_servos()
fixes issue #1555
2014-11-13 11:35:28 +11:00
Andrew Tridgell c8060cb9f7 Plane: use load factor to limit nav_roll_cd
this calculates the aerodymanic load factor from smoothed airspeed and
uses it to limit roll to keep it below the level where the load factor
would take us past the aerodymanic limit of the airframe
2014-11-12 13:36:02 +11:00
Andrew Tridgell 3667900e84 AP_SpdHgtControl: added load_factor in update_pitch_throttle() 2014-11-12 13:36:02 +11:00
Andrew Tridgell bf591b0008 AP_TECS: take load factor into account in min airspeed
this will push up minimum airspeed when turning
2014-11-12 13:36:02 +11:00
Andrew Tridgell ba312856ea Plane: provide a temperature to baro from the airspeed sensor 2014-11-12 13:36:02 +11:00
Andrew Tridgell d404cc6542 AP_Baro: add set_external_temperature()
this allows the use of an external temperature sensor for calibration
purposes, such as the sensor built in to the digital airspeed sensor.

The main affect this has is on the EAS2TAS calculation

The get_calibration_temperature() is used to choose either an external
temperature or an internal one. If an internal one is used then it is
clamped at no higher than 25 degrees C, to prevent hot electronics
on startup affecting altitude scaling and EAS2TAS
2014-11-12 13:36:01 +11:00
Andrew Tridgell 8b794602d1 AP_Baro: make get_temperature() a const function 2014-11-12 13:36:01 +11:00
Brandon Basso 74232fd74a Tools: CHDK SX260 script update
changes default Tv to be 1/1600 (higher) and ISO to be lower 200/800
Max1/Max2.  Should produce more crisp images in low light.
2014-11-11 18:04:26 -08:00
Brandon Basso 136c358c24 Tools: Added initial support for Canon S100
initial commit
2014-11-11 18:03:57 -08:00
Arthur Benemann 5e2d7b1eaa Plane: Implement MSG_CAMERA_FEEDBACK on planes 2014-11-11 10:31:58 -08:00
Arthur Benemann fe9e68f88c Plane: send feedback to the GCS of pictures taken 2014-11-11 10:31:54 -08:00
Arthur Benemann 92ead67d99 Copter: remove call to camera.configure and control
The do_take_picture() function must be called for logging to occur.
configure_msg is empty at the moment so the call to this is remove
2014-11-11 10:31:52 -08:00
Arthur Benemann f24f5a6a32 Copter: remove call to camera.configure and control
The do_take_picture() function must be called for logging to occur.
configure_msg is empty at the moment so the call to this is remove
2014-11-11 10:31:49 -08:00
Andrew Tridgell 8ee677cfce Plane: fixed CLI build again
thanks to John Williams for pointing it out
2014-11-11 21:54:25 +11:00
Andrew Tridgell 986b7bf894 AP_InertialSensor: fixed frequency to 16 bit in LDM303D and L3GD20 drivers 2014-11-11 17:06:22 +11:00
Andrew Tridgell c750cbebfb GCS_MAVLink: prevent asan errors in send_text_all 2014-11-11 15:16:26 +11:00
Andrew Tridgell a566ebe4ec HAL_SITL: prevent array overruns in RCInput/RCOutput 2014-11-11 15:16:26 +11:00
Randy Mackay ed099a73a3 Copter: minor rename of ACRO circular limits variable 2014-11-10 18:36:17 -08:00
Randy Mackay 83051c306d Copter: minor rename of a circular limits variable 2014-11-10 18:36:15 -08:00
Jolyon Saunders a9205e1032 Copter: Add circular limits to ACRO 2014-11-10 18:36:13 -08:00
Jolyon Saunders d46c659d0f Copter: Add circular limits pilot's roll/pitch inputs 2014-11-10 18:36:10 -08:00
Andrew Tridgell ef62a2c697 Rover: fixed CLI sonartest 2014-11-11 11:33:51 +11:00
Randy Mackay b2badee172 Copter: reset baro glitch after baro init 2014-11-09 13:34:17 -08:00
Randy Mackay 67690553c5 BaroGlitch: add reset method 2014-11-09 13:34:15 -08:00
Andrew Tridgell 2eeec3fabe AP_RangeFinder: fixed oversized parameter RNGFND2_SETTLE_MS 2014-11-10 08:09:41 +11:00
Andrew Tridgell ec17c5806e AP_Param: check parameter tables for bad suffix lengths 2014-11-10 08:09:08 +11:00
Andrew Tridgell 44ee1fcd3c Plane: prevent large G_Dt_max report on startup 2014-11-10 07:09:31 +11:00