Shiv Tyagi
dfd7dfc1af
Rover: set failsafe_radio flag when RC failsafe is triggered/cleared
...
This sets failsafe_radio flag when RC failsafe is triggered/cleared which is further used in AP_Arming::manual_transmitter_checks to fail pre-arm checks if failsafe is on
3 years ago
Iampete1
72b821d9da
Rover: remove trim radio functionality
3 years ago
ashvath100
9248272baa
Rover: walking_height input sent to motors
4 years ago
ashvath100
485eb3fa88
Rover: roll and pitch input sent to motors
...
added get desired roll and pitch
Motors library adds set and get methods for roll and pitch
added roll and pitch to get_control_output
get_control_output returns roll and pitch values
4 years ago
Peter Barker
d31700c310
Rover: rename directory from APMrover2
5 years ago
Peter Barker
98c999d0de
APMrover2: log disarm method
5 years ago
Tatsuya Yamaguchi
5ec1f95ee4
Rover: display the type of failsafe on GCS
5 years ago
Randy Mackay
48c0651df5
Rover: minor comment change
5 years ago
Peter Hall
3308a84acc
Rover: sailboat add motor-sailing
6 years ago
Tom Pittenger
692bf1c931
Rover: null check for unconfigured RCMAP_YAW which is not use don all vehicle types
6 years ago
Peter Barker
9851ec1ddb
Rover: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Tom Pittenger
b3c5971538
Rover: increase RC timeout failsafe from 200ms to 500ms.
...
- this allows for a smoother MAVLink_RC_Override over nasty lossy links
6 years ago
Patrick José Pereira
e8b5fd4c70
Rover: Fix typos
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Peter Barker
5bd0db4117
Rover: use enum class for ArmingMethod and ArmingRequired
6 years ago
Peter Barker
9105284a7d
Rover: remove rc out initialisation wrappers
6 years ago
Randy Mackay
380884e175
Rover: shorten radio/throttle failsafe to 0.2 sec min
6 years ago
Randy Mackay
ed8feda5b9
Rover: shorten failsafe timeouts
...
radio failsafes may trigger within 1sec (previously was 2 seconds)
default failsafe set to 1.5sec (was 5sec)
also minor improvement to FS_TIMEOUT parameter description
6 years ago
Randy Mackay
fa5de31cb9
Rover: rename control_failsafe to radio_failsafe_check
...
although this makes the name inconsistent with plane it is more precise because control can also come from rc-overrides which are covered by the GCS failsafe
6 years ago
Randy Mackay
0665ac5229
Rover: rename rudder_arming to get_rudder_arming_type
7 years ago
Randy Mackay
b1a4cd55fd
Rover: support disabling rudder arming
7 years ago
Peter Barker
5d923aed85
Rover: remove dead gcs failsafe code
...
Also use rc().has_valid_input() before using radio for trim
7 years ago
Peter Barker
1f0908bba2
Rover: move handling of RC Switches into RC_Channel
...
Rover: use base-class auxsw handling
Rover: factor out do_aux_function_change_mode
Rover: move mode number enumeration to be in Mode:: namespace
Rover: move mode switch handling to RC_Channel
Rover: rename control_modes.cpp to RC_Channel.cpp
Rover: move motor_active() to be a method on the motors class
7 years ago
Michael du Breuil
c85f8c7bf5
Rover: Simplify radio trimming, improve MAVLink report
7 years ago
Peter Barker
cf1f2f9aeb
Rover: move motors_active to be motors.active
...
This will help when we come to subclass the Motors library.
7 years ago
Ammarf
26c25daa36
Rover: add support for lateral control input
7 years ago
Michael du Breuil
da9053655b
Rover: Support new RC_Channels::read_input()
7 years ago
Michael du Breuil
05173f24c6
Rover: Use RC_Channels instead of hal.rcin
7 years ago
Randy Mackay
5cd500847b
Rover: rename auto_throttle to allows_arming_from_transmitter
...
This method is only used to determine whether we can arm from the transmitter so better to make its purpose more clear
Also minor comment fix to is_autopilot_mode method
7 years ago
Randy Mackay
241456f55f
Rover: remove auto trim at startup
...
Also add additional checks to auto trim
7 years ago
Randy Mackay
8043c0f638
Rover: reduce arming delay to 2 sec
7 years ago
Randy Mackay
26f50f6055
Rover: PILOT_STEER_TYPE replaces SKID_STEER_IN
...
new options allow controlling vehicle's heading while reversing
skid-steering vehicles rotate in opposite direction when backing up
7 years ago
Randy Mackay
14d9e932ab
Rover: allow disarming from transmitter on skid-steering vehicles
7 years ago
Randy Mackay
fb944322c7
Rover: minor fix to disarm logic
...
check should use logical and instead of bitwise and
7 years ago
Randy Mackay
524fe4cd82
Rover: aux switch saves waypoint in manual or steering modes
...
Also refactor aux switch methods
rename LEARN_CH to AUX_CH
8 years ago
Randy Mackay
3adfb0e77d
Rover: replace int with uint8_t
...
non-functional change
8 years ago
Randy Mackay
82e61d7198
Rover: remove unused throttle_failsafe_active method
8 years ago
khancyr
7c3374668e
Rover: formatting fixes and const local variables
8 years ago
Randy Mackay
6626c2e12e
Rover: only mode manual directly copies rc input to motors
8 years ago
Randy Mackay
f17f56dea4
Rover: move throttle nudge to Mode class
8 years ago
Peter Barker
07f4603533
Rover: integrate mode class
8 years ago
Randy Mackay
208607d668
Rover: remove output_trim_all during initialisation
...
MotorUGV library now outputs the proper values on the motor channels. Other libraries are also responsible for initialising their outputs on startup.
8 years ago
khancyr
b28656eb11
Rover: reoder rc and servo init
8 years ago
Randy Mackay
774e484869
Rover: remove servo channel failsafe from vehicle code
...
This is now handled by the MotorsUGV library
8 years ago
Randy Mackay
03d04c934e
Rover: improve skid-steer input processing
...
limit the steering input
reverse commanded steering value if reversing to be consistent with separate steering-throttle frames
8 years ago
khancyr
8ab3e83a3c
Rover: use float qualifier and functions
8 years ago
khancyr
1f0c985dec
Rover: add setup_servo_output to allow ouput reconfiguration
8 years ago
Pierre Kancir
38dcc2eb12
Rover: minor formatting fix
8 years ago
khancyr
9b97ad0fc0
Rover: solve skid steer in value
8 years ago
Pierre Kancir
267a1532b9
Rover: integrate motors library
...
move throttle_slew_limit and THR_SLEWRATE parameter
move have_skid_steering to library
move mix_skid_steering to library's output_skid_steering method
move radio.cpp's output channel initialisation to motor's init method
use motors.get_throttle and get_steering instead of getting from Servo objects
use motors.set_throttle and set_steering instead of setting to Servo object
AP_Arming::arming_required is replaced with SAFE_DISARM parameter
8 years ago
Pierre Kancir
41e18f089e
Rover: remove g.skid_steer_out in favor of have_skid_steering()
8 years ago