Grant Morphett
304c9b6e72
Rover: Fixed a bug in reverse
...
If a user was driving in reverse and when into an auto mission the
rover would try to do the whole mission in reverse. This fixes that.
2017-03-15 17:24:35 +11:00
Andrew Tridgell
93d6b012c2
Rover: convert to new SRV_Channel API
2017-01-12 17:39:37 +11:00
Peter Barker
61430a51b3
Rover: correct compilation when camera disabled
2017-01-02 16:17:43 +11:00
Pierre Kancir
0c420f931f
Rover: commands_logic.cpp correct whitespace, remove tabs
2016-12-30 09:20:24 +09:00
Grant Morphett
378bd84b29
Rover: Fixed a bug in the wp loiter functionality
...
Had a bug where the rover would loiter for ever and not resume even
though its loiter time had expired. This resolves that.
2016-12-20 14:35:28 +11:00
Grant Morphett
515ceb3ccd
Rover: Added logging of the guided commands
2016-11-28 12:00:03 +11:00
Grant Morphett
5b411aef65
Rover: Fixed LOITER_UNLIM to be an active loiter
...
This changes brings the LOITER commands in line so both LOITER_UNLIM
and LOITER_TIME are actively loitering.
2016-11-13 08:26:33 +11:00
Grant Morphett
86d4fcfb32
Rover: Station Keeping is implemented via NAV_LOITER_COMMAND
...
It is a very simply form of station keeping. If a boat is
loitering on a waypoint and it gets blown off a distance
past the WAYPOINT_RADIUS it will automaticlly drive back to
the waypoint.
2016-10-30 22:50:03 +11:00
Grant Morphett
960fd58c9c
Rover: Whitespace change only
...
Ran astyle over commands_logic.cpp because the file was all over the
place. Used the Tools/CodeStyle/astylerc as the options.
2016-10-30 21:10:33 +11:00
Grant Morphett
2d09db4ecb
Rover: added a new form of GUIDED mode
...
Rover now accepts a new message MAV_CMD_NAV_SET_YAW_SPEED
which has an angle in centidegrees and a speed scale and the rover
will drive based on these inputs.
2016-10-25 08:04:01 +11:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Pierre Kancir
c08584d219
APMrover2: simply invalid cmd msg
2016-09-27 07:45:48 -07:00
Pierre Kancir
6cb71fef0c
APMrover: uniformize verify_command
...
Add better gcs message,
Add all handle message,
Reformate comments,
2016-09-27 07:45:48 -07:00
Grant Morphett
b8011fd46c
Rover|Plane: Just fixing a spelling mistake.
2016-07-22 08:23:07 +10:00
Grant Morphett
57c23c7fe3
Rover: Adding support for rovers driving in Reverse.
2016-07-17 08:15:34 +10:00
Grant Morphett
d1799884b2
Rover: Implemented MAV_CMD_NAV_LOITER_UNLIM
2016-07-14 11:34:22 +10:00
Ricardo de Almeida Gonzaga
63f2ab38dd
APMrover2: Fix typos
2016-05-13 19:20:07 -03:00
Tom Pittenger
64315bfed8
Revert "APMRover2: clipped param cmd float to zero"
...
This reverts commit cbbee1149d
.
2016-04-23 23:51:33 -07:00
Tom Pittenger
cbbee1149d
APMRover2: clipped param cmd float to zero
2016-04-23 23:45:48 -07:00
Randy Mackay
381b5c8f5d
Rover: remove unnecessary abs
2016-04-23 23:06:19 -07:00
Andrew Tridgell
39b9ae7e91
APMrover2: log a picture if AP_Camera::control() returns true
2016-01-29 10:01:51 +11:00
Andrew Tridgell
eed575886c
APMrover2: update for changed AP_Camera API
2016-01-29 09:19:43 +11:00
Dario Lindo Andres
f731a0dc53
APMrover2: Added precise camera trigger logging
...
included update_trigger function
added camera trigger precise time mark
detect camera feedback pin status
added support for TRIGGER MSG
corrected according to defines.h
2016-01-29 09:19:43 +11:00
Luis Vale Gonçalves
999e99c6f3
Rover: revise text messages
...
Text revisions on Rover. Uniformization on messages severity.
2015-11-25 20:50:00 +09:00
Grant Morphett
2d1745ab6a
Rover: Implemented the HOME state update from Plane
2015-11-11 13:39:38 +11:00
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
2015-11-05 12:33:56 +09:00
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
2015-10-30 14:35:07 +09:00
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.
2015-10-30 14:35:04 +09:00
Randy Mackay
836fff2119
Rover: send home position when home is set or get-home msg received
2015-10-03 12:56:21 +09:00
squilter
97b901a5fb
Rover: Support do_digicam_x via command_long
2015-09-16 13:06:55 +09:00
squilter
b4cf0ce2bb
Rover: update severity values
2015-08-25 14:04:40 +09:00
Tom Pittenger
2319bdb068
Rover: queue MISSION_ITEM_REACHED
...
clean up unreachable code
2015-08-19 15:42:08 +10:00
Tom Pittenger
545d926d20
Rover: bring rover mission callback inline with copter and plane
2015-08-19 15:26:32 +10:00
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.
2015-07-29 10:08:04 +10:00
Randy Mackay
5ef4f8e90a
Rover: log ahrs home and ekf origin
2015-07-06 13:28:10 +09:00
Peter Barker
4b0495bb15
Rover: use common mission logging code
2015-06-30 16:23:35 +10:00
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.
2015-06-01 20:22:33 +09:00
Andrew Tridgell
b47a09b709
Rover: fixed build of .cpp files
2015-05-21 07:48:49 +10:00
Andrew Tridgell
2b6835d187
Rover: rename all .pde files to .cpp files
2015-05-21 07:48:49 +10:00