Commit Graph

27314 Commits

Author SHA1 Message Date
murata
4dc3833a4e AP_Avoidance: Change the determination place of the index value. 2017-06-15 10:10:06 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
f97c76cbd9 AC_WPNav: correct min limit 2017-06-15 10:08:48 +09:00
Randy Mackay
a1654fa83d Copter: update AC3.5.0-rc7 release notes 2017-05-25 12:04:55 +09:00
Michael du Breuil
78a463472d AP_Mission: Prohibit resuming mission waypoints that are no longer in the mission 2017-05-25 12:02:45 +09:00
Randy Mackay
b081e8c04e Copter: version to 3.5.0-rc7 2017-05-25 11:56:58 +09:00
Randy Mackay
1484c248ae Copter: 3.5.0-rc7 release notes 2017-05-25 11:56:52 +09:00
Andrew Tridgell
6ce42a429b AP_BoardConfig: drop target temperature for cube to 45
getting to 60 was taking far too long (15 minutes or so). 45 is more
achievable.

This is a result of the fix to the invensense temperature detection
code
2017-05-25 11:30:40 +09:00
Andrew Tridgell
5616dc32d2 Frame_params: drop target temp for Solo to 45 2017-05-25 11:30:37 +09:00
Andrew Tridgell
0ce9b9ded4 AP_BoardConfig: cope with bad config of pixhawk2
don't allow FMUv2 firmware on cube, and force temperature if incorrect
2017-05-25 11:30:32 +09:00
Andrew Tridgell
ae209ed2b5 PX4Firmware: detect pixhawk2 and cope with header 2017-05-25 11:30:26 +09:00
Randy Mackay
7150dfd5f2 Copter: sport and acro trainer limits based on target attitude
previously the trainer used the vehicle's actual attitude meaning that the target could get far past the limits if there was an attitude error
2017-05-25 11:29:16 +09:00
Randy Mackay
cffd5e0f0b Copter: fix compassmot for oneshot ESCs 2017-05-25 11:29:01 +09:00
Andrew Tridgell
a9ec4c3422 Copter: adjust autotune poshold
only reset position on pitch or roll input

also increases the max angle error for twitching in autotune. When a
vehicle is not well tuned the limit can prevent twitching
2017-05-25 11:28:57 +09:00
Lucas De Marchi
d062b5b8f2 AP_HAL_Linux: RCInput_RPI: ignore unwanted signals
We are setting a termination handler for some signals which are of not
interest.  Just ignore them.  Ignoring SIGWINCH allows for example to
run on a screen and change the window size later without killing
ardupilot.
2017-05-25 11:28:41 +09:00
Lucas De Marchi
c1984451e7 AP_HAL_Linux: Scheduler: increase stack for scheduler threads
RPI-based boards that use RCInput_RPI need more stack space otherwise we
end up with stack corruption. This leads to crash particularly when also
using GPIO_RPI since it may change what that driver is poking on memory.

This increases stack size to 1M which is overkill for most of other
boards with a more controllable stack usage. However this exposes that
on multiple different HWs a single point for stack size decision may not
be the best.  This can be improved in future.
2017-05-25 11:28:38 +09:00
Randy Mackay
5fad98078f Copter: fix esc calibration for one-shot
the cork and push need to be done from the vehicle level
2017-05-25 11:27:58 +09:00
Randy Mackay
f618359041 AC_WPNav: sanity check wpnav-radius
Occasionally users accidentally set the wpnav-radius to 0 and the vehicle gets stuck at waypoints
2017-05-25 11:27:28 +09:00
Randy Mackay
945a7bfaed AP_Beacon: minor formatting fixes for marvelmind 2017-05-25 11:26:38 +09:00
Karthik Desai
4daba8e98a AP_Beacon: order the stationary beacons in ascending order of address 2017-05-25 11:26:35 +09:00
Karthik Desai
677aa88e33 AP_Beacon: transform Marvelmind ENU to ArduPilot NED coordinates
Cache beacon positions to speed-up distance calculations
Only pass data to EKF after both hedgehog and beacon positions are known
Add license and credit Marvelmind
Re-order code around to minimize diff with upstream marvelmind code
Integrated review requests
2017-05-25 11:26:33 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
43f22cf502 AP_Beacon: added units in the comments documentation, to make the API easier to use 2017-05-25 11:26:31 +09:00
karthik.desai
653ecfc4cb AP_SerialManager: Rename Pozyx Beacon to Beacon 2017-05-25 11:26:28 +09:00
Randy Mackay
efab409b6e Copter: version to AC3.5.0-rc6 2017-05-15 14:32:14 +09:00
Randy Mackay
539d009de3 Copter: AC3.5-rc6 release notes 2017-05-15 14:31:46 +09:00
Randy Mackay
2a7a0788db Copter: respond to param list request after motor init 2017-05-15 14:26:42 +09:00
Pierre Kancir
30243ed5fc ArduCopter: radio fix passthrough range on heli/coax/single 2017-05-15 14:26:39 +09:00
Randy Mackay
f0d5017b43 Copter: move esc calibration startup check to after servo function initialisation 2017-05-15 14:23:42 +09:00
Randy Mackay
84946ca668 Copter: fix esc calibration is safety switch has been disabled 2017-05-15 14:23:40 +09:00
Randy Mackay
b0311c4ef3 Copter: ensure esc calibration only occurs on next reboot
It was possible for a board with no safety switch attached to get stuck waiting for the user to press the non-existance switch.  Rebooting now resolves the problem because the ESC_CAL parameter is reset to zero regardless of whether the calibration completes or not.
2017-05-15 14:23:38 +09:00
Randy Mackay
5915439c4e Copter: fix LED notify during auto esc calibration 2017-05-15 14:23:36 +09:00
Peter Barker
6105452ccb GCS_MAVLink: count parameters in param thread
This helps avoid counting parameters on the main thread,
avoiding long-loops
2017-05-15 14:23:34 +09:00
Luis Vale Gonçalves
201de74fec Copter: minor fix to release notes 2017-05-03 17:16:19 +09:00
Randy Mackay
f070a8d016 Copter: version to AC3.5.0-rc5 2017-05-03 14:15:05 +09:00
Randy Mackay
f2131ed2d0 Copter: AC3.5-rc5 release notes 2017-05-03 14:08:45 +09:00
Andrew Tridgell
37166301c9 HAL_PX4: use sensor_config_error() 2017-05-03 11:37:02 +10:00
Andrew Tridgell
cbea29ad71 AP_Baro: use sensor_config_error() 2017-05-03 11:37:01 +10:00
Andrew Tridgell
e32e2f5b5d AP_BoardConfig: added sensor_config_error()
used to notify user of fatal sensor setup error
2017-05-03 11:37:01 +10:00
Randy Mackay
bffc5daeb0 AC_WPNav: unset yaw when setting new origin and destination
This ensures that old yaw targets are not used in the short interval before they are initialised in advance_wp_target_along_track or advance_spline_along_track
2017-05-03 09:15:01 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
1691a39b36 AP_GPS: spell in comments 2017-05-03 08:45:08 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
23b7f1e645 AP_NavEKF3: Improve comments, typos 2017-05-03 08:45:01 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ce37517268 AP_NavEKF2: Improve comments, typos 2017-05-03 08:44:49 +09:00
Pierre Kancir
a6eb337438 AP_Notify: remove unused variables 2017-05-02 18:14:40 +01:00
Andrew Tridgell
bfd8d151c8 AP_InertialSensor: lower slave rate with fast sampling
On an invensense IMU with fast sampling we need to lower the slave
sample rate for slave sensors such as the built-in AK8963 compass on a
MPU9250.

The slave rate is set as a multiple of the main rate, so it needs to be
much lower for fast sampling. If we leave it high then it greatly
impacts on IMU sample rate.

Without this change a MPU9250 with fast sampling and a compass enabled
will give a gyro rate of around 7200Hz. With this change it gets 7760Hz
2017-05-02 12:11:08 +10:00
Peter Barker
ece0e84ddf AP_Notify: reindent (NFC) 2017-05-02 08:50:41 +10:00
Peter Barker
ce5739f1a0 AP_Notify: remove semaphores protecting pixels
The semaphore-take-forevers were absolutely killing performance.

We can take some random pixel corruption to avoid vehicles crashing.
2017-05-02 08:50:41 +10:00
Andrew Tridgell
519a293af9 AP_InertialSensor: fixed instance usage in set_gyro_oversampling()
thanks Francisco!
2017-05-02 08:27:11 +10:00
Andrew Tridgell
112b22516a AP_InertialSensor: fixed use of accel2_noise
thanks Francisco!
2017-05-02 08:24:50 +10:00
Peter Barker
a3f4a523b2 AP_Notify: convert unknown characters to spaces 2017-05-01 16:21:55 +01:00
Peter Barker
b3ce03bfb0 Sub: stop appending lf to PERF message 2017-05-01 16:21:55 +01:00
Peter Barker
378015691b Plane: stop appending lf to PERF message 2017-05-01 16:21:55 +01:00