Patrick José Pereira
b8360a08c7
AP_Vehicle: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
f15a1fbd62
AP_Vehicle: move control_mode_reason up to AP_Vehicle
4 years ago
Andrew Tridgell
66297bd061
AP_Vehicle: added ExternalAHRS param tree and object
...
using EAHRS param prefix
4 years ago
yaapu
edf2291fb0
AP_Vehicle: added getters for waypoint info, refactored osd publish_nav_info()
4 years ago
Andrew Tridgell
a1c05e74b5
AP_Vehicle: call init_safety after first loop has run
...
this fixes a bug where servos can be driven to an out of range value
if PWM output happens before first loop has completed
thanks to Kris for reporting
4 years ago
Gone4Dirt
d25f9d5d3a
AP_Vehicle: Move AP_Generator to all vehicles
4 years ago
Andrew Tridgell
790a5ffa38
AP_Vehicle: added bootloader vehicle type
4 years ago
Andrew Tridgell
0700ca4882
AP_Vehicle: added DAL standalone vehicle type
4 years ago
Andrew Tridgell
ae56f554b9
AP_Vehicle: send watchdog reset msg at startup
...
this helps if the watchdog will happen within 10s of startup
4 years ago
Mark Whitehorn
5f8b4968ec
AP_Vehicle: add instructions for config_error loop
4 years ago
yaapu
0012b83d86
AP_vehicle: added support for frsky bidirectional telemetry
4 years ago
Patrick José Pereira
75e9550bce
AP_Vehicle: Define APM_BUILD_DIRECTORY as UNKNOWN if not defined
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
3aabb45059
AP_Vehicle: move orderly rebooting code from GCS into AP_Vehicle
...
Several places we reboot the vehicle we should probably do several of
the things done in this code - flushing parameters, forcing safety on
etc.
4 years ago
Tatsuya Yamaguchi
fb27dbbd4f
AP_Vehicle: replace message indicating that initialisation has completed
4 years ago
Peter Barker
0d396f4235
AP_Vehicle: don't do any GCS stuff in delay callback if we're Replay
...
We haven't initialised the GCS at all, so it's not a great idea to
update_receive() and the like.
4 years ago
Peter Barker
29d042dbc7
AP_Vehicle: Replay now creates vehicle singleton reference
4 years ago
ashvath100
9248272baa
Rover: walking_height input sent to motors
4 years ago
Andrew Tridgell
7ae64d20aa
AP_Vehicle: init MSP earlier
...
this allows for MSP sensors (baro, compass) to be ready during probe
4 years ago
yaapu
7f789fb443
AP_Vehicle: added support for the MSP protocol
4 years ago
ashvath100
df42618e0e
AP_Vehicle: add get_control_outputs() for lua motor drivers
5 years ago
Siddharth Purohit
bb460647a5
AP_Vehicle: use new CANIface drivers and CANManager
5 years ago
Peter Barker
38f4de9aac
AP_Vehicle: move generator to before scheduler and parameter objects
5 years ago
Peter Barker
34be953085
AP_Vehicle: add is_crashed method to AP_Vehicle
5 years ago
Tom Pittenger
88d28460f5
AP_Vehicles: add more ModeReasons
5 years ago
Andy Piper
820d6654af
AP_Vehicle: add VideoTX
5 years ago
Peter Barker
4296f6ed4b
AP_Vehicle: add instance for RichenPower generator
5 years ago
Randy Mackay
473b027e03
AP_Vehicle: minor formatting fix
5 years ago
Randy Mackay
73508564f7
AP_Vehicle: add set_steering_and_throttle
...
only for use with scripting on rover
5 years ago
Andy Piper
cb524b7d3d
AP_Vehicle: add function to log dynamic notch frequencies
...
move harmonic notch update here
5 years ago
Iampete1
98d5aa91a8
AP_Vehicle: add scripting guided mode set angle
5 years ago
Andy Piper
d873ec4533
AP_Vehicle: separate gyrofft gyro sampling from fft initiation
...
move FFT gyro sampling into fast loop for all vehicles
rename FFT update method
5 years ago
Andrew Tridgell
77b8f88289
AP_Vehicle: report thread name in watchdog mavlink msg
5 years ago
Peter Barker
1b99cfb10a
AP_Vehicle: rename APMrover2 to Rover
5 years ago
Randy Mackay
d1aa3858f0
AP_Vehicle: add visual odometry
5 years ago
Samuel Tabor
013628bd1d
Plane: Soaring - better reporting of exit due to drift.
5 years ago
Tom Pittenger
f6396d7a6d
Plane: add reason to exit Thermal loiter and adjust LOW alt reaon to cause RTL
5 years ago
Peter Barker
ec460b4244
AP_Vehicle: send statustext at regular intervals after watchdog reset
5 years ago
Randy Mackay
849adcd678
AP_Vehicle: add start_takeoff and set_target_velocity_NED for use in scripting
5 years ago
Andrew Tridgell
d192544107
AP_Vehicle: added get_target_location() method
...
for scripting
5 years ago
Peter Barker
621d029207
AP_Vehicle: add warning about get_scheduler_task implementations
...
We don't initialise these values we pass in. Considering how few times
we need to get this right, requiring it of the implementation would seem
to make sense and save a few bytes.
5 years ago
Peter Barker
1db081b095
AP_Vehicle: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
...
Common to all vehicles now, including Tracker
5 years ago
Randy Mackay
8d12c25555
AP_Vehicle: formatting fixes
5 years ago
Randy Mackay
6f5d733ba9
AP_Vehicle: add set_target_location method
5 years ago
Peter Barker
2ede027635
AP_Vehicle: move initialisation of serial and gcs to AP_Vehicle
5 years ago
Peter Barker
2b7af4d70b
AP_Vehicle: fold init_vehicle back into AP_Vehicle init method
5 years ago
Andy Piper
6613d4da3d
AP_Vehicle: add FFT configuration and initialization
...
add arming checks to validate FFT performance
allow gyros to be sampled at either the fastloop rate or gyro rate.
add gyro and parameter update loops for GyroFFT
add GYRO_FFT aux function
save FFT results on disarm
5 years ago
Randy Mackay
72612d3cb9
AP_Vehicle: add AP_ESC_Telem
5 years ago
Peter Barker
de2cf89b60
AP_Vehicle: initialise scheduler early
...
So the loop rate gets clamped before we memoise it and the loop period
in AP_Scheduler
5 years ago
Peter Barker
a523bb4b68
AP_Vehicle: let AP_Vehicle handle loop()
5 years ago
Peter Barker
07c7a98269
AP_Vehicle: move some common init_ardupilot code up to AP_Vehicle
5 years ago