Andrew Tridgell
89c99ce145
Rover: enable AP_BoardConfig
2014-01-20 17:06:28 +11:00
Randy Mackay
3e8e02e9e8
Rover: typo in mode stearing should be steering
2014-01-20 11:22:34 +09:00
Andrew Tridgell
ef57306311
Rover: log PX4 and NuttX versions in logs
2014-01-14 15:38:42 +11:00
Andrew Tridgell
72ce7f5827
Rover: only log when armed
2014-01-14 15:10:13 +11:00
Andrew Tridgell
33acce71c8
Rover: prevent log corruption during log creation
2014-01-14 14:40:10 +11:00
Andrew Tridgell
8d4f89b77e
Rover: use uppercase names on SD card where possible
2014-01-14 12:46:26 +11:00
Bill Bonney
2bfcb93cb1
Rover: Fix SYSID ranges to support GCS display of param correctly
2014-01-14 10:32:40 +09:00
Andrew Tridgell
9b7a837553
Rover: try changing GPS setting to AIRBORNE_4G
...
this may reduce the GPS latency and improve chicane performance
2014-01-13 10:20:40 +11:00
Andrew Tridgell
d7d6ae97de
Rover: prepare for 2.44 release
2013-12-30 10:33:48 +11:00
Andrew Tridgell
7578839667
Rover: split up GPS update into 10Hz and 50Hz parts
2013-12-30 10:33:48 +11:00
Andrew Tridgell
870ec8a9bb
Rover: added RC in/out logging
2013-12-30 10:24:01 +11:00
Andrew Tridgell
90e4b16462
Rover: use file based logs in SITL
2013-12-29 07:14:11 +11:00
Andrew Tridgell
3b2ef31cc0
Rover: use common available_memory()
2013-12-28 16:02:45 +11:00
Randy Mackay
4fd2d2885e
Rover: replace APM with board in cli
2013-12-28 10:42:22 +09:00
Andrew Tridgell
e926f11ec3
Rover: initialise scheduler callback after logging
...
prevents possible log corruption
2013-12-28 10:25:45 +11:00
Andrew Tridgell
647cc84e00
Rover: fixed logs directory
2013-12-28 10:17:47 +11:00
Andrew Tridgell
ac2f3da5ca
Rover: ensure fly_forward is set in AUTO
2013-12-21 23:30:21 +11:00
Andrew Tridgell
b72ea5435b
Rover: check for failed RC input
...
loss of RC for 2s is considered a throttle failsafe
2013-12-20 09:48:36 +11:00
Andrew Tridgell
daa0a7346e
Rover: removed common functions
2013-12-17 12:00:46 +11:00
Andrew Tridgell
8054843e73
Rover: updates for DataFlash API changes
2013-12-17 11:51:36 +11:00
Andrew Tridgell
fbd2f7f880
Rover: support log download over MAVLink
2013-12-17 11:51:36 +11:00
Andrew Tridgell
774e4c8885
Rover: moved ap_message into GCS.h
2013-12-17 11:51:35 +11:00
Andrew Tridgell
e80308882e
Rover: use common GCS.h
2013-12-17 11:51:34 +11:00
Andrew Tridgell
24cf0a55ea
Rover: added timestamps to logging and new STER logging
...
much more accurate logging for better analysis
2013-12-16 11:17:26 +11:00
Andrew Tridgell
beb9bffcf2
Rover: added logging of 2nd compass
2013-12-10 13:34:53 +11:00
Andrew Tridgell
563e5f71ff
Rover: changes for compass API
2013-12-09 17:46:57 +11:00
Andrew Tridgell
562c353bd7
Rover: report both sets of sensors in MAVLink
2013-12-09 17:34:07 +11:00
Andrew Tridgell
615e718524
Rover: updates for compass API change
2013-12-09 17:34:06 +11:00
Andrew Tridgell
d2abf3d170
Rover: release new beta
2013-12-02 10:19:50 +11:00
Randy Mackay
0b00f4d065
Rover: disable external leds
2013-11-30 22:54:05 +09:00
Andrew Tridgell
a5b0dcc6d9
Rover: log system ID if available
2013-11-26 13:00:03 +11:00
Andrew Tridgell
fe0e627304
Rover: changed SERIAL3_BAUD to SERIAL1_BAUD
...
and add SERIAL2_BAUD for systems that have it
2013-11-26 13:00:03 +11:00
Andrew Tridgell
41cf8d91c3
Rover: fixed VFR_HUD.throttle for reverse
2013-11-25 11:50:50 +11:00
Andrew Tridgell
14a0f8f46d
Rover: added support for uartD
2013-11-25 11:21:52 +11:00
Andrew Tridgell
2c840547fa
Rover: fixed throttle control in reverse
...
throttle nudge was being miscalculated
2013-11-25 11:21:52 +11:00
Randy Mackay
e7d5d9a2b7
Rover: log INS errors in PM message
2013-11-18 13:08:53 +09:00
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
2013-11-18 10:58:22 +11:00
Andrew Tridgell
cae3d3b378
Rover: show git and firmware version in tlog
2013-11-09 10:09:20 +11:00
Andrew Tridgell
9748e72b3e
Rover: report INS health
2013-11-07 12:48:17 +11:00
Andrew Tridgell
7546ae9ab5
Rover: update for AHRS API changes
2013-11-04 21:21:42 +11:00
Andrew Tridgell
023957967c
Rover: fixed PM message
2013-11-02 21:41:33 +11:00
Andrew Tridgell
787fd018b5
Rover: fixed performance monitoring
...
now the same as plane
2013-10-28 17:21:35 +11:00
Andrew Tridgell
54ab96fe16
Rover: removed fast_loop() and use scheduler for all tasks
...
this also fixes a parameter download speed issue
2013-10-28 10:34:32 +11:00
Andrew Tridgell
c8e21c194d
Rover: set system time on GPS lock
2013-10-24 14:22:48 +11:00
Andrew Tridgell
7a9048f225
Rover: added MAVLink SYSTEM_TIME message
2013-10-24 14:22:48 +11:00
Andrew Tridgell
20ae1b7bc3
Rover: removed demo_servos()
...
doesn't do much good on rovers, and just slows boot
2013-10-23 09:40:41 +11:00
Andrew Tridgell
cd5b24bf02
Rover: slow parameter send check to 5Hz
...
this solves an issue with current MP
2013-10-21 09:56:01 +11:00
Andrew Tridgell
8f9315f047
Rover: bring MAVLink stream handling inline with plane
2013-10-21 09:56:00 +11:00
Andrew Tridgell
c20d0e8152
Rover: added SKIP_GYRO_CAL option
2013-10-21 09:56:00 +11:00
Andrew Tridgell
f62c53502d
Rover: fixes for AP_Mount API
2013-10-13 11:03:28 +09:00
Andrew Tridgell
5acc372f40
Rover: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
2013-10-11 21:42:13 +11:00
Andrew Tridgell
6a93e0cae4
Rover: remove some unused functions
2013-10-11 21:36:50 +11:00
Andrew Tridgell
2a4e11a572
Rover: prepare for 2.43 release
2013-10-10 15:53:28 +11:00
Andrew Tridgell
bf5aef7119
Rover: enable logging on Linux
2013-10-08 19:20:34 +11:00
Andrew Tridgell
eef966c5fb
Rover: use ins.wait_for_sample()
2013-10-08 19:20:34 +11:00
Andrew Tridgell
6304be1f5a
Rover: avoid delay_microseconds until fixed on PX4
2013-10-08 14:55:26 +11:00
Andrew Tridgell
42255ebbc6
Rover: improved loop() latency
2013-10-08 11:50:54 +11:00
Andrew Tridgell
1e7af3e101
Rover: switched to L3G4200D driver for Linux
2013-10-08 11:50:54 +11:00
Andrew Tridgell
752d1503b9
Rover: release beta7
2013-10-07 09:32:23 +11:00
Andrew Tridgell
44eedd4abd
Rover: update for new AP_SteerController API
2013-10-05 07:42:48 +10:00
Andrew Tridgell
03aca1bd8d
Rover: allow throttle nudging in STEERING mode
...
this better matches what AUTO does
2013-10-05 07:42:48 +10:00
Randy Mackay
ed7f831c18
Rover: mavlink ext status to use SYS_STATUS_SENSOR enum
2013-10-04 13:21:03 +09:00
Randy Mackay
121e4932ea
Rover: integrate BattMonitor
2013-10-03 11:16:29 +09:00
Andrew Tridgell
3538e1190c
Rover: updates for AP_HAL::MemberProc
2013-09-30 21:06:42 +10:00
Andrew Tridgell
56d33cd3a7
Rover: prep for 2.45beta6
2013-09-30 09:06:25 +10:00
Andrew Tridgell
c7ac864af9
Rover: smooth steeing at low speed in STEERING mode
...
use the G limit from the turn radius as the steering limit
2013-09-30 09:05:37 +10:00
Andrew Tridgell
9679faae3b
Rover: ported to Linux
2013-09-28 22:04:16 +10:00
Andrew Tridgell
0c99a1bbbb
Rover: be friendly to multi-tasking OSes
2013-09-28 22:04:15 +10:00
Andrew Tridgell
20d1ddb5ba
Rover: update for Stub -> HIL
2013-09-28 22:04:15 +10:00
Andrew Tridgell
19651373d0
Rover: use new scheduler API
2013-09-28 21:24:03 +10:00
Andrew Tridgell
0518fd5d56
Rover: update for new INS API
2013-09-27 10:49:00 +10:00
Andrew Tridgell
3589c07d09
Rover: added support for the flymaple board
2013-09-24 13:51:28 +10:00
Andrew Tridgell
1b200b30f4
Rover: create 2.43beta5
2013-09-24 07:39:13 +10:00
Andrew Tridgell
06a9624a72
Rover: make the default period 8
...
thanks Tom!
2013-09-24 07:37:24 +10:00
Andrew Tridgell
8f8711b137
Rover: removed SLIDE_SWITCH and PUSHBUTTON defines
...
not used anywhere
2013-09-23 18:10:22 +10:00
Andrew Tridgell
53f35dee57
Rover: fixed build with print() changes
2013-09-23 18:10:22 +10:00
Andrew Tridgell
aff274f9f4
Rover: make compat functions static
2013-09-23 18:10:22 +10:00
Andrew Tridgell
b52b6ce121
Rover: only send RC_CHANNELS_SCALED in HIL
...
saves a bit of telemetry bandwidth
2013-09-21 09:30:30 +10:00
Andrew Tridgell
7e589017b3
Rover: fixed baud rates on APM1
2013-09-21 09:30:29 +10:00
Andrew Tridgell
95c2e11b5a
Rover: removed flash_leds() calls
2013-09-19 18:38:28 +10:00
Andrew Tridgell
481429de61
Rover: use new HAL usb_connected() function
2013-09-19 16:24:59 +10:00
Andrew Tridgell
e0d44ed31a
Rover: prevent arming tone on startup
2013-09-18 10:55:54 +10:00
Andrew Tridgell
3878d9d09e
Rover: fixed typo
2013-09-16 09:17:00 +10:00
Andrew Tridgell
a1cbcc5e23
Rover: update to 2.43beta4
2013-09-16 08:24:16 +10:00
Andrew Tridgell
df66dc1889
Rover: honor the FS_GCS_ENABLE parameter
...
GCS failsafe was always enabled
2013-09-16 08:23:35 +10:00
Andrew Tridgell
8b2c9557c7
Rover: changed to AP_Vehicle.h
2013-09-13 11:47:13 +10:00
Andrew Tridgell
5c639b8b9f
Rover: update battery pin docs
2013-09-12 13:42:48 +10:00
Andrew Tridgell
6ab9b0b91b
Rover: fixed Vcc
2013-09-12 13:26:12 +10:00
Andrew Tridgell
d20644e664
Rover: added SR0 and SR3 stream rates to auto docs
2013-09-12 09:51:36 +10:00
Andrew Tridgell
3d6e76a050
Rover: changed default L1 period to 11
2013-09-12 07:48:57 +10:00
Andrew Tridgell
983ca71796
Rover: moved override of defaults to load_parameters()
2013-09-09 19:55:11 +10:00
Andrew Tridgell
fc1228eb48
Rover: set a default filter frequency of 5Hz
...
this should help rovers on rough surfaces
2013-09-09 19:19:11 +10:00
Andrew Tridgell
d000cd2320
Rover: switched to new steering controller
...
this uses a steering rate controller, based upon the planes roll
controller
2013-09-09 18:04:41 +10:00
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
2013-09-09 18:04:40 +10:00
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
2013-09-09 18:04:40 +10:00
Andrew Tridgell
6c2f623df2
Rover: send y accel in m/s/s as nav_pitch
...
this allows for easier tuning in MissionPlanner
2013-09-09 18:04:40 +10:00
Andrew Tridgell
7789f0d133
Rover: don't use throttle_nudge in steering mode
2013-09-09 18:04:40 +10:00
Andrew Tridgell
97ed733ada
Rover: use L1 controller for navigation
...
this uses the AP_L1_Control library for rover navigation
2013-09-09 18:04:40 +10:00
Craig3DRobotics
630095adaa
Revert "Copter: Corrected SR0 & SR3 parameter descriptions"
...
This reverts commit 6568234018
.
2013-09-06 09:58:19 -07:00
Craig3DRobotics
a6efe45bf5
Rover: Correction on SR0 & SR3 parameter description.
2013-09-05 22:27:17 -07:00
Andrew Tridgell
cfeecdae46
Rover: raise GPS serial buffer size
2013-09-04 13:17:02 +10:00
Andrew Tridgell
1ca1b1e36e
Rover: support reboot to bootloader
2013-09-04 11:58:41 +10:00
Andrew Tridgell
38bf6b8587
Rover: change to 2.43beta3
2013-08-30 14:02:49 +10:00
Andrew Tridgell
ad8c5925e8
Rover: fixed build with AP_AHRS changes
2013-08-30 13:01:35 +10:00
Andrew Tridgell
1646b9c815
Rover: updates for new notify API
2013-08-30 13:01:35 +10:00
Randy Mackay
814ddcd787
Rover: integrate AP_Notify
2013-08-30 13:01:35 +10:00
Andrew Tridgell
56e6e28949
Rover: fixed license text
...
rover is under GPL, not LGPL
2013-08-30 13:01:32 +10:00
Andrew Tridgell
4f6bd0e3c9
Rover: support new RADIO_STATUS msg
2013-08-24 17:59:13 +10:00
Andrew Tridgell
ee19b09e9f
Rover: fixes for new AP_Math location API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
2013-08-05 10:24:16 +10:00
Andrew Tridgell
9f49b8fa48
Rover: use the new load_average() API
2013-08-02 18:46:38 +10:00
Andrew Tridgell
a5ede20cb1
Rover: update to 2.43beta2
2013-07-15 10:31:52 +10:00
Andrew Tridgell
6e52a09e50
Rover: fixed HIL build
2013-07-15 10:30:10 +10:00
Andrew Tridgell
e96d0f745c
Rover: fixed dead-zone on throttle
2013-07-15 10:25:30 +10:00
Andrew Tridgell
8c7619a837
Rover: moved camera parameter indexes
...
this prevents a conflict with some old parameters
2013-07-15 10:25:04 +10:00
Andrew Tridgell
5b88334dbb
Rover: added full camera and mount support
2013-07-15 09:57:00 +10:00
Randy Mackay
32b5169bb9
Rover: set_dead_zone renamed to set_default_dead_zone
...
Change in use of parameter means value passed in should be 1/2 what it
was previously
2013-07-12 11:44:20 +09:00
Andrew Tridgell
b5db3288ae
Rover: changes for GPS field changes
2013-07-10 14:04:22 +10:00
Andrew Tridgell
a9a192a0fd
Rover: changed to 2.43beta1
2013-07-01 10:11:24 +10:00
Andrew Tridgell
135146c735
Rover: added LEARN_CH parameter
...
this allows the learning channel to be set, for transmitters where
setting up channel 7 is difficult
2013-07-01 10:10:38 +10:00
Andrew Tridgell
d0c69b36b6
Rover: update version for new release
2013-07-01 09:14:02 +10:00
Andrew Tridgell
a5586ec394
Rover: enable RELAY_* parameters
2013-06-25 12:48:58 +10:00
Randy Mackay
35175ae371
Rover: update FS_THR_VALUE parameter description
2013-06-18 15:57:11 +09:00
Andrew Tridgell
6c29a3cd23
Rover: make GPS UART blocking again
...
until we have support for non-blocking config packets in uBlox
2013-06-11 18:50:26 +10:00
Andrew Tridgell
8db34dec64
Rover: fix VOLT_DIVIDER docs
2013-06-07 08:40:45 +10:00
Andrew Tridgell
07587222a3
Rover: tweaks to new scheduler code
2013-06-04 13:34:09 +10:00
Andrew Tridgell
feb539bade
Rover: fixed HIL operation
...
only HIL sensors - removed HIL_MODE_ATTITUDE as it didn't exercise
enough of the code
2013-06-04 11:57:59 +10:00
Andrew Tridgell
bfa9e04aef
Rover: tweak scheduling timing
...
move to beta3
2013-06-04 10:54:42 +10:00
Andrew Tridgell
2d795ac85a
Rover: convert to use AP_Scheduler
...
this gives us better timing information and scheduling, while also
making the code easier to read
2013-06-04 10:37:05 +10:00
Andrew Tridgell
537d0032a8
Rover: update servo ranges on change of RCMAP_*
2013-06-03 22:22:47 +10:00
Andrew Tridgell
5a9485a419
Rover: support RCMAP_* mapping for steering/throttle
2013-06-03 19:33:59 +10:00
Andrew Tridgell
5b3bfe3d38
Rover: auto-generate docs for more parameters
2013-06-03 17:55:22 +10:00
Andrew Tridgell
be3c80127a
Rover: make it possible to change board orientation at runtime
2013-06-03 16:53:10 +10:00
Andrew Tridgell
7c0e0e6b85
Rover: use RC_Channel::rc_channel()
2013-06-03 16:23:48 +10:00
Andrew Tridgell
d22d75d329
Rover: move to beta2
2013-06-02 14:53:46 +10:00
Andrew Tridgell
a0bf49ab42
Rover: updated AUTO_TRIGGER_PIN docs
2013-06-02 07:55:49 +10:00
Andrew Tridgell
2db8e15964
Rover: update docs on volt/current pin
2013-05-31 07:57:15 +10:00
Andrew Tridgell
2b370cdfc8
Rover: fixed indent-tabs-mode
2013-05-30 09:55:37 +10:00
Andrew Tridgell
1a32406f9d
Rover: fixed logging of sonar distance
2013-05-29 11:36:48 +10:00
Andrew Tridgell
f76fab299b
Rover: fixed change of speed command
...
m/s not cm/s
2013-05-27 13:37:34 +10:00
Andrew Tridgell
f2575e790c
Rover: added @User: Standard for battery capacity
2013-05-21 17:02:13 +10:00
Randy Mackay
74bca32ab4
Rover: add parameter description for LOG_BITMASK
2013-05-21 11:21:38 +09:00
Randy Mackay
31e3f32930
Rover: send_text_P bug fix for short messages
2013-05-20 12:51:29 +09:00
Andrew Tridgell
80582df4be
Rover: started on 2.42beta
2013-05-17 08:35:31 +10:00
Andrew Tridgell
b5f2b4db8a
Rover: don't do crosstrack in last 3m
...
this reduces the weaving at waypoints
2013-05-17 08:33:02 +10:00
Andrew Tridgell
ca8e4519cc
Rover: use get_projected_position()
...
this will make for more accurate turns in missions
2013-05-17 08:32:36 +10:00
Andrew Tridgell
697d17a229
Rover: add doc links for SONAR2_* parameters
2013-05-17 07:38:52 +10:00
Andrew Tridgell
e1ac097e0e
Rover: use voltage_average() for RSSI
...
this allows it to work on PX4
2013-05-13 15:19:05 +10:00
Andrew Tridgell
3438316288
Rover: use library gcs_severity
2013-05-09 09:28:42 +10:00
Andrew Tridgell
087a428360
Rover: prepare for 2.41 release
2013-05-07 13:03:18 +10:00
Andrew Tridgell
ef4198bcb4
Rover: don't do failsafe if throttle is below failsafe level
2013-05-03 09:45:19 +10:00
Andrew Tridgell
b58d753344
Rover: make AUTO_TRIGGER_PIN be a push on/push off
2013-05-03 09:20:40 +10:00
Andrew Tridgell
8361cd31f2
Rover: send all mavlink string messages to flash log
2013-05-03 09:18:33 +10:00
Andrew Tridgell
3f9ade2b1f
Rover: added INITIAL_MODE option
...
this should be useful for sparkfun comp
2013-05-03 08:08:30 +10:00
Andrew Tridgell
5594e4d9bc
Rover: use new HIL compass API
2013-05-02 14:59:48 +10:00
Andrew Tridgell
44dd9ddf74
Rover: updates for new compass API
2013-05-02 12:48:14 +10:00
Andrew Tridgell
b13406859f
Rover: replaced constrain() with constrain_float()
2013-05-02 10:26:12 +10:00
Randy Mackay
6857b8e4f4
Rover: use renamed RCInput valid_channels
2013-04-29 15:07:22 +09:00
Andrew Tridgell
e8c71c1449
Rover: log mode number as well as mode string
...
this makes graphing mode changes easier
2013-04-28 14:58:43 +10:00
Andrew Tridgell
a64d067749
Rover: log GPS packets as they come in
2013-04-28 14:57:19 +10:00
Andrew Tridgell
18444d3ac3
Rover: show modes as strings in log
2013-04-28 14:47:59 +10:00
Randy Mackay
95e83314ac
Rover: add I2C error count to PM message
2013-04-26 22:40:09 +09:00
Andrew Tridgell
81b9dad1cd
Rover: mark new beta version
2013-04-24 16:20:12 +10:00
Andrew Tridgell
f50fe7a77a
Rover: made a bit test clearer
2013-04-24 08:32:01 +10:00
Bill Bonney
14eca30456
Rover: Enable CURRENT logging by default to dataflash
2013-04-21 07:24:16 +10:00
Andrew Tridgell
fb6b736c78
Rover: print mode as string in logs
2013-04-20 15:18:42 +10:00
Andrew Tridgell
c45f90fb06
Rover: log board voltage
2013-04-20 13:52:36 +10:00
Andrew Tridgell
cabef0ef6c
Rover: cleanup build warnings
2013-04-20 13:52:36 +10:00
Andrew Tridgell
7717cc1450
Rover: added compass logging
2013-04-20 13:52:36 +10:00
Andrew Tridgell
8c7a7928d4
Rover: use new StartNewLog() interface
2013-04-20 13:52:36 +10:00
Andrew Tridgell
90f70707b1
Rover: convert to new logging system
2013-04-20 13:52:36 +10:00
Andrew Tridgell
947b64dfc4
Rover: fixed turn time in flash logs
2013-04-19 11:03:43 +10:00
Andrew Tridgell
a8d6fa3107
Rover: fixed dataflash logs to be useful
...
added sonar and fixed other messages
2013-04-19 10:23:57 +10:00
Andrew Tridgell
0bbddbb877
Rover: added PX4 flash logging
2013-04-17 21:35:40 +10:00
Andrew Tridgell
df27b8b35d
Rover: fixed logging for new API
2013-04-17 21:34:20 +10:00
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00
Andrew Tridgell
a5fdbadcc2
Rover: use get_pid_4500() to prevent PID overflow
...
if users set much too large gains
2013-04-01 22:17:05 +11:00
Andrew Tridgell
645bd87b63
Rover: minor parameter documentation updates
2013-03-29 22:46:58 +11:00
Andrew Tridgell
12c35da9aa
Rover: fixed SKID_STEER_IN calculations
2013-03-29 19:43:28 +11:00
Andrew Tridgell
3a1e9e43a1
Rover: use new angle wrap code
2013-03-29 13:14:14 +11:00
Andrew Tridgell
a8bd8950c8
Rover: enable HOLD with throttle failsafe by default
...
this is the safest combination
2013-03-29 11:34:42 +11:00
Andrew Tridgell
9eaa764f42
Rover: report smaller of two sonar distances
2013-03-29 11:00:41 +11:00
Andrew Tridgell
ad7e8bd9c4
Rover: added SONAR_DEBOUNCE option
...
this allows us to debounce the sonar triggering, which will make it
handle noise better
2013-03-29 10:49:08 +11:00
Andrew Tridgell
caaf32211e
Rover: new failsafe logic
...
this obeys FS_TIMEOUT and FS_ACTION
2013-03-29 10:25:53 +11:00
Andrew Tridgell
0ed3061d32
Rover: added waypoint passed logic to RTL
...
this prevents circling around home
2013-03-29 10:24:59 +11:00
Andrew Tridgell
d02a127b7e
Rover: change version to 2.40
2013-03-29 09:54:06 +11:00
Andrew Tridgell
e4a4cb59e0
Rover: fixed timeout for obstacle detection
2013-03-29 09:36:54 +11:00
Andrew Tridgell
7c4dfa6698
Rover: fixed speed scaling for steering
...
it was inverted!
2013-03-29 09:14:58 +11:00
Andrew Tridgell
caf5e5b7c5
Rover: added HOLD mode
...
used when RTL completes
2013-03-29 08:53:20 +11:00
Andrew Tridgell
d968a7c7ed
Rover: log obstacle events
2013-03-29 08:53:02 +11:00
Andrew Tridgell
7b04747366
Rover: identify as a rover in MAVLink heartbeat message
2013-03-29 08:16:29 +11:00
Andrew Tridgell
829a000aa5
Rover: fixed sonar reset after the turn time
...
thanks to Tom for finding this
2013-03-29 08:08:14 +11:00
Andrew Tridgell
a25fede6bb
Rover: added range of sonar distances and voltages
2013-03-29 08:07:24 +11:00
Randy Mackay
6cb47cee6b
Rover: add support for GPS fix type 2D
2013-03-27 11:41:58 +09:00
Andrew Tridgell
c76f8a5242
Rover: fixed AUTO_KICKSTART GPIO pin handling
2013-03-22 12:31:35 +11:00
Andrew Tridgell
a88ac50e6c
Rover: log the X accel that triggers auto
2013-03-22 11:54:04 +11:00
Andrew Tridgell
ed6d4a1495
Rover: fixed AUTO_KICKSTART parameter markup
2013-03-22 11:22:02 +11:00
Andrew Tridgell
3bed733f56
Rover: added AUTO_KICKSTART and AUTO_TRIGGER_PIN options
2013-03-22 09:38:25 +11:00
Andrew Tridgell
47890dfa72
Rover: added dual sonar support
2013-03-22 08:49:51 +11:00
Andrew Tridgell
065cac76c0
Rover: use new sonar enabled flag in object
2013-03-22 07:53:16 +11:00
Andrew Tridgell
0e8407ccbd
Rover: put obstacle detection in a structure
...
easier to extend for multiple sonars
2013-03-22 07:41:36 +11:00
Andrew Tridgell
1c52de5f20
Rover: fixed GPS test (detection of uBlox needs 10Hz poll)
2013-03-21 22:45:29 +11:00
Andrew Tridgell
24094252fd
Rover: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
2013-03-21 21:58:12 +11:00
Andrew Tridgell
83d5a64ca8
Rover: change CLI timeout to 20s
2013-03-21 17:34:23 +11:00
Andrew Tridgell
89c85f9c5a
Rover: added shell command in CLI test menu
2013-03-20 12:35:56 +11:00
John Stäck
c9576e59f9
Add set command to setup menu (and changed show command), same as for ArduCopter. Not included when building for 1280.
2013-03-19 11:40:25 +09:00
Andrew Tridgell
4991ea73fe
Rover: fixed CH_2 and CH_4 RC pass through
...
fixes issue #158
2013-03-18 18:06:45 +11:00
Andrew Tridgell
bb14672dab
Rover: fixed PX4 MPU6000 driver for rover
2013-03-16 19:47:09 +11:00
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
2013-03-15 11:04:33 +11:00
Andrew Tridgell
5ddbad6ccb
Rover: remove scaling of voltage pin
2013-03-15 08:40:32 +11:00
Andrew Tridgell
af141c2487
Rover: implement RSSI_PIN
...
route RSSI value from receiver to MAVLink
2013-03-15 08:08:35 +11:00
Andrew Tridgell
2294de85ac
Rover: removed INPUT_VOLTS parameter
...
no longer needed
2013-03-08 10:01:51 +11:00
Andrew Tridgell
cf2d99847e
Rover: use voltage_average() interface
2013-03-03 16:16:01 +11:00
Andrew Tridgell
fc0b50dd82
Rover: reduce throttle more directly
...
this gives better throttle control in turns and waypoints
2013-03-02 13:51:50 +11:00
Andrew Tridgell
daa603552b
Rover: added new STEERING mode
...
this makes it easier to tune for auto mode
2013-03-01 22:33:11 +11:00
Andrew Tridgell
e228bbfebf
Rover: implement SONAR_TURN_TIME
...
keep turning for at least that time
2013-03-01 22:33:11 +11:00
Andrew Tridgell
6dd549dea8
Rover: removed SONAR_TYPE option
...
now set the values in the object
2013-03-01 12:59:31 +11:00
Andrew Tridgell
d0f27f8830
Rover: comment/maintainer cleanup
2013-03-01 12:32:48 +11:00
Andrew Tridgell
0873f8d00d
Rover: cleanup some old code
2013-03-01 12:29:43 +11:00
Andrew Tridgell
3aeb836bc0
Rover: allow sonar test with sonar disabled
...
useful for initial config
2013-03-01 12:29:29 +11:00
Andrew Tridgell
12d73a8662
Rover: use new AP_RangeFinder_analog class
2013-03-01 12:00:48 +11:00
Andrew Tridgell
be3b2ee9f8
Rover: cleaned up sonar_trigger_cm parameter
2013-03-01 07:47:26 +11:00
Andrew Tridgell
4de635aa48
Rover: change sonar_dist to sonar_dist_cm
...
make units clearer
2013-03-01 07:43:51 +11:00
Andrew Tridgell
44a279811d
Rover: removed old LITE mode
...
this will be replaced with a AHRS_Lite backend later
2013-03-01 07:40:47 +11:00
Andrew Tridgell
c4e9d0961a
Rover: updates for new dataflash API
2013-03-01 07:18:26 +11:00
Andrew Tridgell
66abee5544
Rover: added more sonar parameters
...
better control over obstacle avoidance
2013-03-01 07:18:25 +11:00
Andrew Tridgell
06dd6c2790
Rover: always build sonar code
...
can use enabled/disabled parameter for runtime control
2013-03-01 07:18:25 +11:00
Andrew Tridgell
36da75aacd
Rover: fixes for new DataFlash API
2013-03-01 07:18:25 +11:00
Andrew Tridgell
bf6198be40
Rover: tweaked parameters and added SPEED_TURN_GAIN and SPEED_TURN_DIST
2013-02-22 08:38:13 +11:00
Andrew Tridgell
52800e52b9
Rover: added 'level' CLI and reboot command
2013-02-22 07:49:07 +11:00
Andrew Tridgell
1cb9f71370
Rover: fixed comments
2013-02-22 07:48:52 +11:00
Andrew Tridgell
882f058e7d
Rover: don't override declination on startup
2013-02-22 07:14:54 +11:00
Andrew Tridgell
06ccf8495b
Rover: default magnetometer to enabled
...
will be disabled by auto-detect code if not attached
2013-02-22 07:14:38 +11:00
Andrew Tridgell
b9a204419a
Rover: removed obsolete files
2013-02-22 07:14:07 +11:00
Andrew Tridgell
7e4d4b07c3
Rover: change PX4 main baud rate back to 115200
...
we now use USB console
2013-02-22 07:03:52 +11:00
Andrew Tridgell
0f239ae92c
Rover: reset AHRS trim after levelling
2013-02-20 11:56:38 +11:00
Randy Mackay
b7a4814e22
Rover: integrate automatic roll and pitch trims
2013-02-19 13:31:03 +09:00
Andrew Tridgell
6cf4d11e33
Rover: cleanup parameter names and remove dead parameters
2013-02-09 20:36:26 +11:00
Michael Oborne
c2fd7617e1
Send FS state to gcs for AR
2013-02-09 10:11:43 +08:00
Andrew Tridgell
582d1c47b3
Rover: added filter to auto steering, and fixed throttle pid
2013-02-08 10:21:30 +11:00
Andrew Tridgell
5ee7abd892
Rover: rename Attitude.pde to Steering.pde
2013-02-08 09:32:23 +11:00
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
2013-02-08 09:21:22 +11:00
Andrew Tridgell
32d702e912
Rover: fixed logging build errors
2013-01-27 13:04:41 +11:00
Randy Mackay
72414085b2
Rover: logging changes to use new faster packet method
2013-01-26 18:46:16 +09:00
Randy Mackay
bb21194fd7
Rover: CUR and CURR renamed to CURRENT in dataflash
...
Based on user complaint re inconsistency of disabling/enabling and
output in dataflash
2013-01-26 17:41:38 +09:00
Randy Mackay
648caff1c6
Rover: make dataflash output all csv format
2013-01-26 17:37:34 +09:00
Randy Mackay
7bfe659626
Rover: rename RAW dataflash message to IMU
2013-01-26 17:35:18 +09:00
Andrew Tridgell
0b03df4e69
Rover: run serial0 at 57600 on PX4
2013-01-22 09:50:12 +11:00
Andrew Tridgell
6fa5837f71
Rover: fixed mavlink fetch of 16 character parameter
2013-01-21 16:51:50 +11:00
Andrew Tridgell
aff5b1559d
Rover: added SERIAL0_BAUD parameter
2013-01-20 22:12:57 +11:00
Andrew Tridgell
583ec2b236
Rover: fixed PX4 mag orientation
2013-01-17 17:23:34 +11:00