Grant Morphett
039ea59d7e
Rover: Whitespace/formatting change ONLY for Steering.cpp
9 years ago
Grant Morphett
3636b53313
Rover: Implementation of the ARMING functionality
9 years ago
lvale
a64689600f
Rover: text message severity uniformization
...
Global revision of message severity values.
Required also change to the low priority function gcs_send_text_fmt()
on GCS_Mavlink.cpp to disable the automatic setting of priority on
messages sent by this function
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
squilter
b4cf0ce2bb
Rover: update severity values
10 years ago
Grant Morphett
a2e9d0488c
Rover: Implemented loitering at a waypoint if Param1 is non-zero
...
Rover now honours the Param1 setting of a time in seconds for a
NAV_WAYPOINT and the Rover will loiter at that waypoint for that
period of time.
Note that as soon as the Rover reaches that waypoint the loiter timer
will start. If you enter a different mode during this time (HOLD for
instance) the timer resets. If you then switch back to AUTO
mode and the Rover returns to that waypoint it will wait for the
loiter time configured in param1.
10 years ago
Andrew Tridgell
b47a09b709
Rover: fixed build of .cpp files
10 years ago
Andrew Tridgell
2b6835d187
Rover: rename all .pde files to .cpp files
10 years ago
Andrew Tridgell
adbf9c362e
Rover: automatic substitution for class members
10 years ago
Andrew Tridgell
686d1e7548
Rover: revert AP_Math class change
10 years ago
Tom Pittenger
002d664ea0
APMrover2: compiler warnings: apply is_zero(float) or is_equal(float) and float to double
10 years ago
Andrew Tridgell
1721216019
Rover: fixed skid steering
...
the main issue was the use of the last throttle in the throttle slew
rate control, but manual skid steering was also broken
10 years ago
Andrew Tridgell
fc0d703b9b
Rover: much simpler SPEED_TURN_GAIN implementation
...
as soon as we hit the SPEED_TURN_DIST we lower target speed to the
specified gain
11 years ago
Andrew Tridgell
ac7f36494b
Rover: use the next navigation course to adjust steering gain in turns
...
this should make waypoints along a straight path not reduce speed
11 years ago
Andrew Tridgell
58cfdebcd0
Rover: added BRAKING_SPEEDERR parameter
...
this controls how much speed error you need before brakes are used
11 years ago
Andrew Tridgell
c6f9627782
Rover: use new channel output API
11 years ago
Andrew Tridgell
f4f04ead68
Rover: added BRAKING_PERCENT parameter
...
this allows for reverse throttle to be applied for braking in corners
11 years ago
Andrew Tridgell
ce3ed33649
Rover: support 14 RC channels on PX4
11 years ago
Randy Mackay
59555e8364
Rover: revert next_WP, prev_WP to location structures
11 years ago
Randy Mackay
4ca3a92655
Rover: Mission integration into command execution
11 years ago
Andrew Tridgell
7104bdf855
Rover: support k_steering channel
11 years ago
Andrew Tridgell
203073e3ba
Rover: only use pivot steering in AUTO modes
11 years ago
Andrew Tridgell
4e2d5043ba
Rover: added PIVOT_TURN_ANGLE parameter
...
this allows skid steering rovers to turn on the spot for sharp turns
11 years ago
Andrew Tridgell
37b8686f76
Rover: removed unused code
...
thanks to Mike for noticing this
11 years ago
Andrew Tridgell
7046f44443
Rover: added basic support for reverse in STEERING mode
...
this will allow for reverse in steering mode, while also fixing a
problem with AHRS yaw when reversing, and a problem with initial
throttle in steering mode
11 years ago
Andrew Tridgell
20ae1b7bc3
Rover: removed demo_servos()
...
doesn't do much good on rovers, and just slows boot
11 years ago
Andrew Tridgell
44eedd4abd
Rover: update for new AP_SteerController API
12 years ago
Andrew Tridgell
d000cd2320
Rover: switched to new steering controller
...
this uses a steering rate controller, based upon the planes roll
controller
12 years ago
Andrew Tridgell
887942471e
Rover: use Y accel computed from gyro and velocity
...
this should be less susceptible to noise and attitude errors,
hopefully leading to better learning
12 years ago
Andrew Tridgell
ecccc05eed
Rover: added STEERING_LEARN parameter
...
when enabled (set to 1) it will learn TURN_CIRCLE based on the
demanded and actual lateral acceleration
12 years ago
Andrew Tridgell
97ed733ada
Rover: use L1 controller for navigation
...
this uses the AP_L1_Control library for rover navigation
12 years ago
Andrew Tridgell
5b88334dbb
Rover: added full camera and mount support
12 years ago
Andrew Tridgell
5a9485a419
Rover: support RCMAP_* mapping for steering/throttle
12 years ago
Andrew Tridgell
b58d753344
Rover: make AUTO_TRIGGER_PIN be a push on/push off
12 years ago
Andrew Tridgell
b13406859f
Rover: replaced constrain() with constrain_float()
12 years ago
Andrew Tridgell
a8d6fa3107
Rover: fixed dataflash logs to be useful
...
added sonar and fixed other messages
12 years ago
Andrew Tridgell
a5fdbadcc2
Rover: use get_pid_4500() to prevent PID overflow
...
if users set much too large gains
12 years ago
Andrew Tridgell
ad7e8bd9c4
Rover: added SONAR_DEBOUNCE option
...
this allows us to debounce the sonar triggering, which will make it
handle noise better
12 years ago
Andrew Tridgell
caaf32211e
Rover: new failsafe logic
...
this obeys FS_TIMEOUT and FS_ACTION
12 years ago
Andrew Tridgell
7c4dfa6698
Rover: fixed speed scaling for steering
...
it was inverted!
12 years ago
Andrew Tridgell
c76f8a5242
Rover: fixed AUTO_KICKSTART GPIO pin handling
12 years ago
Andrew Tridgell
a88ac50e6c
Rover: log the X accel that triggers auto
12 years ago
Andrew Tridgell
3bed733f56
Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options
12 years ago
Andrew Tridgell
47890dfa72
Rover: added dual sonar support
12 years ago
Andrew Tridgell
0e8407ccbd
Rover: put obstacle detection in a structure
...
easier to extend for multiple sonars
12 years ago
Andrew Tridgell
0dde0b3551
Rover: initial implementation of skid steering for APMrover2
...
this adds SKID_STEER_IN and SKID_STEER_OUT parameters for controlling
skid skeering control and output
12 years ago
Andrew Tridgell
fc0b50dd82
Rover: reduce throttle more directly
...
this gives better throttle control in turns and waypoints
12 years ago
Andrew Tridgell
daa603552b
Rover: added new STEERING mode
...
this makes it easier to tune for auto mode
12 years ago
Andrew Tridgell
44a279811d
Rover: removed old LITE mode
...
this will be replaced with a AHRS_Lite backend later
12 years ago