Andrew Tridgell
18d4286166
AP_InertialSensor: fixed pixfalcon 9250 detection
8 years ago
Andrew Tridgell
78b73d659f
PX4Firmware: update bl_update and flash config
...
fixed to setup and use correct flash config for FMUv2 and FMUv4
8 years ago
Peter Barker
e72f5a6240
ArduCopter: enable/disable precision loiter on a switch
...
A switch MUST be assigned for precision loiter to be enabled
8 years ago
Peter Barker
2fd6be8ccb
ArduCopter: neaten reading of aux switches
8 years ago
Peter Barker
9e4628af58
Copter: precision loiter
8 years ago
Peter Barker
fd5f79b238
AC_PrecLand: a pure-ArduPilot simulated SITL precision land backend
8 years ago
Peter Barker
4df4ba1956
AC_PrecLand: make SITL_Gazebo an alternate backend
...
Preprocessor directives were used to hack in the use
of AP_IRLock_SITL. Instead, make it a full backend itself.
8 years ago
Peter Barker
d2285ace6c
AC_PrecLand: remove unneeded empty handle_msg
8 years ago
Peter Barker
03710beb18
AC_PrecLand: make handle_msg impure and do nothing
8 years ago
Peter Barker
b9808662b8
Copter: remove dead code
8 years ago
Peter Barker
469f0f0bf0
Copter: remove incorrect comment from PRECISION_LANDING block
8 years ago
Peter Barker
1eca4e128d
AC_WPNav: method to retrieve current desired pilot accels
8 years ago
Andrew Tridgell
cb1a5d4c74
AP_InertialSensor: take semaphore for update of accumulators
...
this fixes a race in update of delta angle and delta velocity between
backend and frontend
8 years ago
Pierre Kancir
84aaca7c6e
SITL: add missing break
8 years ago
Lucas De Marchi
6c9f46bafb
Replay: fix shadowed declaration
...
../../Tools/Replay/Replay.cpp: In member function ‘FILE* Replay::xfopen(const char*, const char*)’:
../../Tools/Replay/Replay.cpp:485:60: warning: declaration of ‘filename’ shadows a member of ‘Replay’ [-Wshadow]
FILE *Replay::xfopen(const char *filename, const char *mode)
^
8 years ago
Peter Barker
cf5ed25c9e
AP_HAL_Linux: do not attempt realtime when compiling Replay
8 years ago
Peter Barker
78d7a144b1
Replay: add close-on-exec to fopen flags
8 years ago
Peter Barker
4543f1c548
Replay: check return value from fopen() of output files
8 years ago
HP\isamu
1ec7d9befe
Tools: add new name to Git_Success
8 years ago
Julien Beraud
ac3f49b06f
RPIOUART_Driver: fix warning
...
cast PKT_MAX_REGS to uint32_t to be able to compare without a warning
8 years ago
Julien Beraud
dc86a53862
OpticalFlow: move onboard alloc to init()
...
No reason to keep it in the constructor
8 years ago
Andrew Tridgell
f3f1f6b0b6
AP_InertialSensor: fixed gyro orientation on l3gd20H on pixhawk
8 years ago
Michael Oborne
fbeafa0d0a
Update AP_BoardConfig.cpp
8 years ago
Michael Oborne
e7e3478a58
AP_BoardConfig: add extra uavcan options
...
this enables the display of dynamic id assignment, which prevents the need for a serial connection to the esc, for first config.
8 years ago
Julien Beraud
c6107d812d
waf: Don't use lttng in static builds
...
already done for libiio and libdl
8 years ago
Francisco Ferreira
32cd49264e
travis: revert commit 52854a
...
Travis has fixed the issues with space so we can go back to building PX4 with make and waf
8 years ago
Randy Mackay
7f6ecfca3d
Copter: 3.4.2 release notes
8 years ago
Peter Barker
37c2c0a822
AP_Stats: fix variable reset time bug
...
Use Jan 1st 2016 as epoch time rather than Unix epoch.
PixHawk's 32-bit floats can't store a 32-bit timestamp.
8 years ago
Peter Barker
e94c23e0a1
mk: stop ignoring exit status of mavlink header generation
...
Accept a 0 exit status, or a status >127 (indicating a signal
caused the process to exit) as success.
The original intent of ignoring the exit status was that
the python executable was segfaulting after successfully
building headers.
Recently builds have been failing because people have not been
doing recursive submodule updates, and the mavlink header generation
has failed. Since we are ignoring the error the build rumbles on
and fails later with a failed #include.
This patch tightens our ignoring of a bad exit status to just
signals.
Note that the waf build system does the same check.
8 years ago
Andrew Tridgell
c3cbd7c6f4
mavlink: submodule update
...
fixed hash for master
8 years ago
Andrew Tridgell
6af00027ab
AP_InertialSensor: removed unused variables
...
thanks to Francisco for noticing
8 years ago
Pierre Kancir
86c8145bd9
SITL: Change Flighgear port with instance number
8 years ago
Pierre Kancir
c4b5bd4bd9
SITL: revert fg view to activate by default and use flag to disable it
8 years ago
Pierre Kancir
e2b939df39
SITL: rename simin to rcin for better readability
8 years ago
Pierre Kancir
59c84c637e
SITL: make fg view optional
8 years ago
Francisco Ferreira
bfbb275577
AP_InertialSensor: on accel cal failure don't save values to zero
...
When the accel calibration fails leave the previous values saved but set them to defaults (scale default is ones, not zeros) and notify the GCS
This fixes an arithmetic exception when doing a second accel cal after the first one failed
8 years ago
Francisco Ferreira
a3fcebc501
AP_Param: add set_and_notify to vectors
8 years ago
Francisco Ferreira
4c8d151190
Plane: support MAV_CMD_ACCELCAL_VEHICLE_POS
8 years ago
Francisco Ferreira
84436ff5ae
Copter: sipport MAV_CMD_ACCELCAL_VEHICLE_POS
8 years ago
Francisco Ferreira
2879e78230
Tracker: support MAV_CMD_ACCELCAL_VEHICLE_POS
8 years ago
Francisco Ferreira
e870c4bf99
Rover: support MAV_CMD_ACCELCAL_VEHICLE_POS
8 years ago
Francisco Ferreira
e763896b6a
AP_AccelCal: send and receive MAV_CMD_ACCELCAL_VEHICLE_POS
...
Message is sent at a maximum of 1Hz
Status text is sent, but if command is received it stops and only uses commands
8 years ago
Francisco Ferreira
7463d4c8f7
GCS_MAVLink: add function to send command requesting vehicle position during accel cal
8 years ago
Francisco Ferreira
bc661f013e
AP_AccelCal: use vehicle position values from MAVLink enum
8 years ago
Francisco Ferreira
c07f377eb1
AP_AccelCal: make collect_sample responsible for state changes
...
Also only set the snoop if the step has changed
8 years ago
Francisco Ferreira
34649ef66a
mavlink: submodule update
...
add MAV_CMD_ACCELCAL_VEHICLE_POS
8 years ago
Grant Morphett
b507679630
CPUInfo: Updated the Makefile to use WAF commands
8 years ago
Andrew Tridgell
624178f3be
AP_InertialSensor: added INS_FAST_SAMPLE parameter
...
this allows enable/disable of fast sampling per IMU, making
experimentation easier.
It also fixes the fast sampling to always average over 8 samples, and
fixes the 9250 to use the correct accumulator when not doing fast
sampling
8 years ago
Lars Kellogg-Stedman
95134d87b0
add support for a user locations.txt file to sim_vehicle
...
it is inconvenient to modify locations.txt in the source, because this
will lead to the file being constantly marked as modified by git (and
potentially included in pull requests by accident).
this commit adds support for a user-maintained list of locations.
This file lives by default in
`$XDG_CONFIG_DIR/ardupilot/locations.txt` (aka
`$HOME/.config/ardupilot/locations.txt`), but may also be specified in
the `ARDUPILOT_LOCATIONS` environment variable.
8 years ago
Peter Barker
cd67c4c75c
Tools: sim_vehicle.py strips comments in locations.txt
8 years ago