Grant Morphett
bd92febe77
Rover: Removed superfluous speed-type parameter
...
Unlike Plane, Rover only understands ground speed so there is no need
to specify the speed type parameter for Rover.
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
b731ebfd9e
Rover: coversion to class now complete
10 years ago
Andrew Tridgell
adbf9c362e
Rover: automatic substitution for class members
10 years ago
Grant Morphett
0f13bc6d2a
Rover: Updates to guided mode to work correctly on Rover
10 years ago
Tom Pittenger
002d664ea0
APMrover2: compiler warnings: apply is_zero(float) or is_equal(float) and float to double
10 years ago
Jaime Machuca
7330b5e91b
Rover: add call to send digicam configure messages from a mission item
...
Also add log_picture to separate the triggering of a picture
from the dataflash logging and feedback message to the GCS
10 years ago
Randy Mackay
1ab405bf88
Rover: integrate mount frontend-backend restructure
...
rename mount.set_roi_cmd to set_roi_target
10 years ago
Grant Morphett
5b4443a137
Rover: Improved message when AUTO selected but no commands loaded.
...
I updated the message when you select AUTO mode but you haven't put
any waypoints in. It now says "No commands so can't set AUTO- setting
HOLD instead"
10 years ago
Andrew Tridgell
f400f39f08
Rover: fixed build warnings
10 years ago
Randy Mackay
3790b3aa82
Rover: add support for DO_SET_ROI within mission
11 years ago
Randy Mackay
4d93dd47ee
Rover: use common Log_Write_Camera
...
pair programmed with Craig Elder
11 years ago
Andrew Tridgell
a1b94bf852
Rover: prevent unsupported command messages
...
this prevents errors on DO_CHANGE_SPEED
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
f4079f57b2
Rover: convert to new GPS API
11 years ago
Andrew Tridgell
3d167b5420
Rover: use should_log() for more log msgs
11 years ago
Randy Mackay
9ff5ba3c3f
Rover: integrate Mission cmd field changes
11 years ago
Randy Mackay
de119e07bb
Rover: remove do_takeoff, do_change_alt support
11 years ago
Randy Mackay
59555e8364
Rover: revert next_WP, prev_WP to location structures
11 years ago
Randy Mackay
204eb8b7d3
Rover: use mission command specific structure
11 years ago
Randy Mackay
4ca3a92655
Rover: Mission integration into command execution
11 years ago
Andrew Tridgell
eac4b1ec96
Rover: fixed EKF usage for rover
...
added barometer object, and use shared home object from AHRS. This
gives basic EKF operation.
11 years ago
Andrew Tridgell
0828c40870
Rover: converted to AP_ServoRelayEvents
11 years ago
Andrew Tridgell
a595272e38
Rover: fixes for AP_Relay API change
11 years ago
Andrew Tridgell
72ce7f5827
Rover: only log when armed
11 years ago
Andrew Tridgell
5acc372f40
Rover: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 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
ee19b09e9f
Rover: fixes for new AP_Math location API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
5b88334dbb
Rover: added full camera and mount support
12 years ago
Andrew Tridgell
f76fab299b
Rover: fixed change of speed command
...
m/s not cm/s
12 years ago
Andrew Tridgell
0ed3061d32
Rover: added waypoint passed logic to RTL
...
this prevents circling around home
12 years ago
Andrew Tridgell
caf5e5b7c5
Rover: added HOLD mode
...
used when RTL completes
12 years ago
Andrew Tridgell
4991ea73fe
Rover: fixed CH_2 and CH_4 RC pass through
...
fixes issue #158
12 years ago
Andrew Tridgell
582d1c47b3
Rover: added filter to auto steering, and fixed throttle pid
12 years ago
Andrew Tridgell
f1ff27ed08
Rover: major restructuring
...
this removes a lot of the old arduplane code, and renames a lot of
variables.
This will need a lot more testing and fixup before being usable
12 years ago
Andrew Tridgell
b284d4c21e
Rover: first cut at porting rover to AP_HAL
12 years ago
Andrew Tridgell
ff9628accf
Rover: removed some more plane specific variables
12 years ago
Andrew Tridgell
5768244671
Rover: more cleanups
...
get rid of flight_mode_strings and cleanup unused code
switch to using ahrs for have_position
12 years ago
Andrew Tridgell
aac088dc5b
Rover: removed closed loop nav
...
use a jump in the mission instead
12 years ago
Andrew Tridgell
691d19dd98
Rover: more cleanup, and fixed navigation code
...
removed loiter code
12 years ago
Andrew Tridgell
24adc1aaa3
Rover: make it possible to run the CLI over a radio link
12 years ago
Andrew Tridgell
283fb7e606
Rover: added support for finish line waypoints
...
this ensures waypoints complete, even with bad yaw from mag
interference
12 years ago
Andrew Tridgell
abc0a1cd38
Rover: major update, fixing lots of bugs
...
This removes a lot of the ArduPlane specific cruft left over from the
initial Rover import from ArduPlane, plus fixes a bunch of serious
bugs. For example, the rover was unable to use either compass or gps
for heading - it used just gyros!
There is still a lot of cruft left, but this at least gives a bit
better basis for future work
12 years ago
Andrew Tridgell
4939d67a1b
Rover: updates for new GPS detection
13 years ago
Andrew Tridgell
93de111837
Rover: fixed the build for MAVLink 1.0
...
I have no idea if it will actually work, but at least it builds
13 years ago
Jean-Louis Naudin
4a4402556b
APMrover v2.1.3 :
...
Added option (hold roll to full right + SW7 ON/OFF) to init_home during the wp_list reset
Add ROV_SONAR_TRIG (default = 200 cm) - tested by Franco
Restart_nav() added and heading bug correction, tested OK in the field
RTL then stop update - Tested OK in the field
Added SONAR detection for obstacle avoidance
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Jean-Louis Naudin
77eea3a893
APMrover v2.0 - tested on Traxxas Monster Jam Grinder XL-5 3602
...
Signed-off-by: Jean-Louis Naudin <jlnaudin@gmail.com>
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Andrew Tridgell
c14097ffa1
APM: changed hold_course for landing to be based on yaw_sensor
...
when we are in the final stages of a landing (less than 2 seconds from
landing waypoint, or less than 3m above landing altitude) we switch
the navigation to use a fixed course. The code previously used the
crosstrack_bearing for this, but this can lead to a large nav_roll in
this final stage of the approach, which can put a wing into the
runway. In autotest we were seeing a nav_roll value of -45 degrees as
we crossed the transition point for the landing, which often led to a
crash.
This changes the code to use the current yaw_sensor value instead,
which is much less likely to lead to large rolls in the final landing
stages.
13 years ago