Peter Barker
62f7acff52
SITL: reduce max accel of simulated rover
7 years ago
Andrew Tridgell
e340fac2e0
AP_Motors: avoid float exception for small expo
...
very small values of the thrust expo cause a floating point
exception. As zero is a documented value meaning linear we need to
handle this.
7 years ago
Jacob Walser
d5896287b7
AP_Param: Add set_by_name and set_and_save_by_name helpers
7 years ago
hiro2233
7d304073ed
SITL: fixed include case sensitive
...
On case sensitive cygwin feature enabled, this build ok.
7 years ago
Andrew Tridgell
381e2fd69a
SRV_Channel: added get_motor_function()
...
for correct handling of motors 8 and above
7 years ago
Andrew Tridgell
45d6f3bf75
AP_Motors: fixed motor channel handling
7 years ago
Patrick José Pereira
9693da751e
AP_common: Add stdio.h when using SITL_printf
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
c7c2c4ff2c
AC_AttitudeControl: use floating-point multiplication instead of a more expensive floating-point division
7 years ago
Andrew Tridgell
fc237ee9a0
AP_Motors: merge fixed from rebase
7 years ago
Andrew Tridgell
efea83e424
AP_Motors: fixed MotorsMatrix set_update_rate()
7 years ago
Andrew Tridgell
0682d30ebd
SRV_Channel: ensure channel_mask is setup
7 years ago
Andrew Tridgell
1e62b5d5c7
AP_Motors: many to one mapping of motors
...
this allows multiple outputs for one motor number
7 years ago
Andrew Tridgell
39fd25bb36
SRV_Channel: added get_output_channel_mask()
...
will be used by AP_Motors
7 years ago
Andrew Tridgell
03e1f6967f
AP_Motors: removed enable() API
...
all output channels are already enabled by SRC_Channels::enable_aux_servos()
7 years ago
Andrew Tridgell
ed272833c3
SRV_Channel: don't treat k_motorN specially
7 years ago
Michael du Breuil
b0e18de576
AP_GPS: Remove detect helpers for MTK/SIRF when minimizing the build
...
Removes 16 bytes
7 years ago
Andrew Tridgell
5bd92b4b7e
AP_TECS: improved support for VTOL transitions
7 years ago
Andrew Tridgell
c5cd1b873c
SITL: use thread for FlightAxis comms
...
this allows us to run SITL at a much higher framerate than RF can
provide, and results in the EKF being much happier
7 years ago
Andrew Tridgell
7def86ae96
HAL_SITL: don't run IO at more than 100Hz
...
save some CPU for faster frame rates
7 years ago
Georgii Staroselskii
8a28556ae1
AP_Notify: use RCOutputRGBLedInverted for Edge
7 years ago
Georgii Staroselskii
03ac8621bf
AP_BattMonitor: add Edge PM preset
7 years ago
Georgii Staroselskii
4e2028c32f
AP_HAL: Edge: enable Heat PWM
7 years ago
Georgii Staroselskii
79c14a92a9
AP_HAL_Linux: adapt Heat_Pwm for Edge
7 years ago
Alexey Bulatov
069c98b8a9
AP_InertialSensor: Edge: add sensor's rotation YAW_90
7 years ago
Georgii Staroselskii
710594eee3
AP_Compass: enable compass on Edge
7 years ago
Georgii Staroselskii
db9f427617
AP_HAL: Edge: add compass settings
...
Use HMC5883L as default before UAVCAN Linux support is in place
7 years ago
Georgii Staroselskii
ac6f7511bd
AP_InertialSensor: examples: print temperature
7 years ago
Georgii Staroselskii
4f2d8f8df4
AP_InertialSensor: use ICM backend for Edge
7 years ago
Georgii Staroselskii
4e6fab228c
AP_HAL_Linux: add SPI devices for Edge
7 years ago
Staroselskii Georgii
3ade179700
AP_HAL_Linux: make use of RCInput_Navio2 in Edge
7 years ago
Staroselskii Georgii
2a99bb0c95
AP_HAL: use Raspberry Pi GPIO and Util classes for Edge
...
As it's a yet another Raspberry Pi based board, we may reuse the code.
7 years ago
Staroselskii Georgii
2a7e8d66ee
AP_HAL_Linux: add Edge support
...
Just some usual boilerplate code.
7 years ago
Georgii Staroselskii
2dd68243a2
AP_HAL: add Edge support
7 years ago
Georgii Staroselskii
ef3cad7833
AP_Notify: add RCOutputRGBLedInverted
...
Some RGB leds controlled with an inverted logic. This class addresses
this.
7 years ago
Peter Barker
bb2573f945
GCS_MAVLink: send mission item requests to correct destination
...
The correct destination is the GCS which last set the mission count,
not the last GCS that requested it!
7 years ago
Michael du Breuil
2b4cf54797
AP_Landing: Deepstall: Small style fixes
7 years ago
Michael du Breuil
d166832de4
AP_Landing: Deepstall implement log(), reset all integrators
7 years ago
Michael du Breuil
2909f77235
DataFlash: Remove PIDL and a DSTL for a deepstall specific message
7 years ago
Michael du Breuil
f8ac4efb1d
PID: Add a full reset method
7 years ago
Michael du Breuil
df8049778e
AP_Landing: Support CCW deepstall
7 years ago
Michael du Breuil
a0a16b8369
AP_Mission: Load yaw heading for landing commands
7 years ago
Michael du Breuil
0007e5eb80
AP_Landing: Support scaling aileron controls
7 years ago
Georgii Staroselskii
d214a36e0a
AP_HAL_Linux: reset duty cycle before setting period
...
On kernels 4.7+ duty_cycle should always be less than period.
Otherways, we'll get a EINVAL.
It makes sense to set duty_cycle to 0, as
duty_cycle doesn't really make sense without a proper period.
A proper way to handle these errors might be to call pwm_adjust_config
in every pwmchip backend but it's unrealistic to hope that all vendors
will do it quickly.
7 years ago
Michael du Breuil
dbf67aa38a
AP_Mission: Remove duplicated code associated with copy the waypoint location
7 years ago
Peter Barker
6536bf39b3
DataFlash: add DataFlash_AllTypes sample output
7 years ago
Peter Barker
466d6e619e
DataFlash: correct nanf log output
7 years ago
Andrew Tridgell
c8b6be6736
AP_Motors: fixed scaling of servo outputs
...
thanks to bnsgeyer for noicing this in issue #6977
this will break existing dual-heli setups, but there are so few people
flying them so far that I think it is a worthwhile change
7 years ago
Tom Pittenger
39dc608bea
AP_L1: update constraint Nu comment to match sourcecode
...
fixes https://github.com/ArduPilot/ardupilot/issues/7054
7 years ago
Andrew Tridgell
74265f523a
SITL: support -roll180 option to frames
7 years ago
Andrew Tridgell
6a6f9681ab
AP_InertialSensor: allow for 1,1,1 accel scaling
...
this supports simple accel calibration
7 years ago