Gustavo Jose de Sousa
4af2a9a9cc
AP_HAL_Linux: SPI: adapt to the new signature of transaction()
10 years ago
Gustavo Jose de Sousa
e05928a7e8
AP_HAL: make SPIDeviceDriver::transaction() return success or failure
10 years ago
Gustavo Jose de Sousa
53b5b70960
AP_Scheduler: use also task name besides the id for logging
...
This makes it easier to identify for which task a log line is.
10 years ago
Gustavo Jose de Sousa
b59154103f
AP_Scheduler: use function name for AP_Scheduler task name
...
That makes it easier to identify tasks when debug is enabled in AP_Scheduler.
10 years ago
Gustavo Jose de Sousa
8fe466ce27
AP_Scheduler: add initializer for task field "name"
...
We use define it as an empty macro if on AVR board.
10 years ago
Gustavo Jose de Sousa
8018748fe2
AP_Scheduler: add field "name" to task structure for logging purposes
...
That field will be useful for logging as it is easier to know what task a log
is related to by using the task's name rather than using the number.
10 years ago
Gustavo Jose de Sousa
2e6074c108
AP_Scheduler: use designated initializers for tasks structs
...
Makes code less prone to break build and semantics (e.g., when a new field is
added).
10 years ago
Andrew Tridgell
a3d7156f28
SITL: raise default simulation rate to 1200Hz
...
this greatly improves things for the heli sim
10 years ago
Randy Mackay
6701d53d49
GPS: add GNSS_MODE parameter bitmask
10 years ago
Randy Mackay
2351e84592
IRLock: replace tabs with spaces
...
No functional change
10 years ago
Randy Mackay
bf08fc317c
AC_PrecLand: correct include paths
10 years ago
Randy Mackay
c06593f987
AC_PrecLand: precision landing lib for IR-Lock and companion computer
10 years ago
Randy Mackay
7706102d1e
AC_WPNav: add shift_loiter_target method
...
Shift the loiter target and freeze the feedforward if necessary
10 years ago
Randy Mackay
6f3ff0866f
IRLock: adjust to px4 lib calculating bf angles
10 years ago
Randy Mackay
04c682542c
IRLock: correct include paths
10 years ago
bstone04
cf8ce867e6
IRLock: many changes to integrate with PrecLand library
...
irlock_center_x_pos calculates the lateral x position of the marker in cm. relative to the quad
irlock_x_pos_to_latlon rotates the frame based x position to latitude/longtitude based coordinates
same case for the y position
add get_angle_to_target method
get_angle_to_target replaces pixel to position calculations
Also removed ahrs reference (now in AC_PrecLand lib), unused references
to orb and commented out parameter declaration
reduce max objects to 5
remove ahrs reference
add timeout
return true if new sample found
bug fix get_angle_to_target
remove unused get_frame
10 years ago
Michael Landes
59928ed677
IRLock: Initial implementation
...
Define the IRLock sensor object using PX4 level driver
10 years ago
Grant Morphett
1595c137f8
AC_PID_test: fixed AC_HELI_PID constructor
10 years ago
Randy Mackay
e3ff4ed9c4
MotorsHeli: integrate RotorControlState
10 years ago
Randy Mackay
cb47311416
MotorsHeli_RSC: add RotorControlMode enum
10 years ago
Randy Mackay
72efc85ee8
MotorsHeli_RSC: RotorControlState enum
10 years ago
Robert Lefebvre
bde43412d8
AP_MotorsHeli: Fix RSC Mode 3
10 years ago
Robert Lefebvre
38ccd6e04f
AP_MotorsHeli_RSC: Fix tail_type control
10 years ago
Robert Lefebvre
535da1d79a
AP_MotorsHeli_Single: DDVPT to use it's own ramp and runup times
10 years ago
Robert Lefebvre
28318c4116
AP_MotorsHeli: Move Output functions into parent class
10 years ago
Robert Lefebvre
84102c3e3f
AP_MotorsHeli: Rework how servo setup is done.
10 years ago
Robert Lefebvre
345663f705
AP_MotorsHeli: Simplify servo init/reset
10 years ago
Robert Lefebvre
b11600aebe
AP_MotorsHeli: Move set_delta_phase_angle into _Single class
10 years ago
Robert Lefebvre
3756c6b3f3
AP_MotorsHeli: Create RSC Throttle Curve mode for controlling gas engines.
10 years ago
Robert Lefebvre
f853979816
AP_MotorsHeli: run RSC Control function in Output Min function
...
Move Output_Min() function into Heli_Single class as it will eventually be overloaded by other helicopter class types.
10 years ago
Robert Lefebvre
315f0408ae
AP_MotorsHeli: RSC controller to use speed ramp as simple float scalar
10 years ago
Robert Lefebvre
91c7663ca2
AP_MotorsHeli: Set range of new RSC Servo object.
10 years ago
Robert Lefebvre
cefa0c28a6
AP_MotorsHeli: RSC Mode 0 no longer a valid mode
10 years ago
Robert Lefebvre
981c96d8bc
AP_MotorsHeli: Add more parameter checks
10 years ago
Robert Lefebvre
ed08e9d531
AP_MotorsHeli_RSC: Split out rotor speed estimate into it's own function
10 years ago
Robert Lefebvre
064cc63512
AP_MotorsHeli: Colyaw function to check if rotor speed control is above idle
10 years ago
Robert Lefebvre
77e4bf39aa
AP_MotorsHeli: rework RSC output() function to implement idle speed function
...
Also, split out speed_ramp function
10 years ago
Robert Lefebvre
c3e7eed299
AP_MotorsHeli_Single: Fix recalc_scalars function
10 years ago
Robert Lefebvre
214d60abb9
AP_MotorsHeli: Create RSC_IDLE param
10 years ago
Robert Lefebvre
27f8d6bcd5
AP_MotorsHeli: Change RSC output() function into a state machine.
10 years ago
Robert Lefebvre
10b0be9e75
AP_MotorsHeli: Fully detail tradheli output functions and move manual servo handling
10 years ago
Robert Lefebvre
7dda0f651a
AP_MotorsHeli: Rename tradheli servo objects for clarity
10 years ago
Robert Lefebvre
457d939e77
AP_MotorsHeli: Update includes so that it builds
10 years ago
Fredrik Hedberg
e6119cf51f
AP_Motors: Fix param indices in AP_MotorsHeli.
10 years ago
Fredrik Hedberg
411947ea7c
AP_Motors: Rename output_yaw to move_yaw in AP_MotorsHeli_Single.
10 years ago
Fredrik Hedberg
1e8be73a27
AP_Motors: Fix formatting in AP_MotorsHeli_RSC.
10 years ago
Fredrik Hedberg
e6957df54a
AP_Motors: Fix param range comment in AP_MotorsHeli.
10 years ago
Fredrik Hedberg
97e09fa9b0
AP_Motors: Move traditional helicopter controls into AP_MotorsHeli_Single.
...
Original commit by fhedberg, had to fix merge conflicts and now it appears I did the commit?
10 years ago
Fredrik Hedberg
af69a20ba5
AP_Motors: Break out yaw output in AP_MotorsHeli.
10 years ago
Fredrik Hedberg
feb32f40ed
AP_Motors: Break out servo init and reset in AP_MotorsHeli.
10 years ago