Lucas De Marchi
9e538632b3
AP_HAL_Linux: use AP_HAL_STORAGE_DIRECTORY
...
Add mkdir_p implementation copied from kmod and create the directory
with all possible components.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
a56106cccb
AP_HAL: use buildsystem for default directories
2018-05-24 08:00:33 -07:00
Lucas De Marchi
2916a3f40c
build: add --apstatedir for Linux boards
...
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
2018-05-24 08:00:33 -07:00
Lucas De Marchi
1e7ad72909
AP_HAL: use default storage for more boards
...
Boards from Emlid, Erle Robotics and BBB-like ones were agreed to be
changed #7100 . Here I'm also change some more, just because they appear
to be using the old default just because of copy and paste. We can
always revert back if we get complains and it seems something trivial.
Almost all boards now are using the the default path for logs, terrain
and params, except those that have restrictions to do so, like ones
using custom distros.
2018-05-24 08:00:33 -07:00
Ammarf
b95ac72d35
Rover: add LOITER to ch7 options
2018-05-24 17:59:45 +09:00
Randy Mackay
85efab1ec8
AP_RangeFinder: reduce MaxsonarI2C update to 10hz
2018-05-24 13:37:03 +09:00
Randy Mackay
fd2e5741ce
AP_RangeFinder: MaxsonarI2C formatting fixes
2018-05-24 13:37:00 +09:00
Randy Mackay
25475b65d9
Copter: proximity sensor reports laser unhealthy when no data
2018-05-24 12:46:38 +09:00
Randy Mackay
e1d80e547d
Rover: proximity sensor sets laser unhealthy when no data
...
previously it would set laser to unhealthy if proximity sensor wasn't present which interfered with a single downward facing range finder
2018-05-24 12:46:38 +09:00
Randy Mackay
60b9f6f9c0
Rover: report laser as healthy even if not used for avoidance
...
this allows downward facing lidar to be used on boats
2018-05-24 12:46:38 +09:00
Randy Mackay
3f749051d3
AP_RangeFinder: NMEA sonar driver
2018-05-24 12:46:38 +09:00
Randy Mackay
51a0cbc1da
Rover: loiter slows using attitude control get_desired_speed_accel_limit
2018-05-24 11:06:20 +09:00
Randy Mackay
fc35e74821
Rover: pass dt to attitude controller
2018-05-24 11:06:20 +09:00
Randy Mackay
a7fbfe7767
AR_AttitudeControl: caller provides dt instead of calculated internally
...
This allows the vehicle's main loop rate to be used instead of an internally calculated dt which suffers from jitter
2018-05-24 11:06:20 +09:00
Randy Mackay
c032095c80
AR_AttitudeControl: reduce default accel max to 2m/s/s
2018-05-24 11:06:20 +09:00
Randy Mackay
856d592b1d
AR_AttitudeControl: accel limit stops
2018-05-24 11:06:20 +09:00
Randy Mackay
444e64a3d0
Rover: slow before pivot turns
2018-05-24 11:06:20 +09:00
Tom Pittenger
4dca1c48f2
Plane: update vehicle max_speed to ADSB library
2018-05-23 14:02:45 -07:00
Tom Pittenger
657f515f40
AP_ADSB: add cfg_out passthrough parsing
...
- add param ADSB_SQUAWK
- add param ADSB_RF_CAPABLE
2018-05-23 14:02:45 -07:00
Tom Pittenger
3653ba61d7
AP_Math: add is_valid_octal helper function.
...
returns true if valid
2018-05-23 14:02:45 -07:00
Tom Pittenger
c59be8bafe
Tools: add "octal" param unit
2018-05-23 14:02:45 -07:00
Karthik Desai
0a04a2a8c2
AP_Beacon_Marvelmind: Relax the precision of the position of Hedge
...
But we are conservative here and use 20cm instead (until MM provides us with a proper accuracy value)
2018-05-23 14:51:23 +01:00
Karthik Desai
4f26bc7cad
AP_Beacon_Marvelmind: Record the timestamp once, on success.
2018-05-23 14:51:23 +01:00
Karthik Desai
372fba2152
AP_Beacon_Marvelmind: Added some debug messages
2018-05-23 14:51:23 +01:00
Karthik Desai
64fdefe7cf
AP_Beacon_Marvelmind: Refactor variables
2018-05-23 14:51:23 +01:00
Karthik Desai
358b3d222b
AP_Beacon_Marvelmind: Simplify the Marvelmind structure.
...
This removes pointless pointer inits and removes the buffer.
The new incoming data is now injected as and when they are received by the driver.
2018-05-23 14:51:23 +01:00
Karthik Desai
8957111f26
AP_Beacon_Marvelmind: Remove unused variables
2018-05-23 14:51:23 +01:00
Karthik Desai
b0e4a57a93
AP_Beacon_Marvelmind: Remove unnecessary structures.
...
This incorporates the distance into the stationary beacon structure.
2018-05-23 14:51:23 +01:00
Karthik Desai
ad05a5c694
AP_Beacon_Marvelmind: Add function to find beacon's instance for the given address.
...
This function returns the instance number of a particular beacon's address.
It is needed because the MM sends the distances between the hedge and beacon in a random order so they have to be sorted by address before setting it.
The address of a beacon can be between 0 and 99.
2018-05-23 14:51:23 +01:00
Karthik Desai
fa575e2a9a
AP_Beacon_Marvelmind: Update the link to Marvelmind's repo
2018-05-23 14:51:23 +01:00
Peter Barker
63b0883b38
DataFlash: correct structures debug method
2018-05-23 19:12:15 +09:00
Peter Barker
1844ccdab8
DataFlash: correct labels for NKT1 and NKT2 messages
2018-05-23 19:12:15 +09:00
Peter Barker
420b9869f7
Sub: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
d705dbcfc1
Tracker: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
8101f2b573
Rover: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
ef77bea4eb
Plane: move sending of simstate up
2018-05-23 18:36:50 +10:00
Peter Barker
81e9edd80a
Copter: move sending of sim state up
2018-05-23 18:36:50 +10:00
Peter Barker
e9d2be143a
GCS_MAVLink: moving sending of sim state up
2018-05-23 18:36:50 +10:00
Peter Barker
a137afd11b
SITL: add singleton
2018-05-23 18:36:50 +10:00
Randy Mackay
24dd9a1c2c
Rover: update GPS at 50hz
2018-05-23 17:17:29 +09:00
Randy Mackay
cc53b9c39d
Rover: update current_loc in update_ahrs
...
this ensures the current_loc is updated before any of the flight mode code runs
2018-05-23 17:17:29 +09:00
Ammarf
d7821635c0
Rover: seperate acceleration/deceleration limits
2018-05-23 17:17:29 +09:00
Ammarf
832778e471
AR_AttitudeControl: add separate decel limit
2018-05-23 17:17:29 +09:00
Peter Barker
b36f1c558d
DataFlash: use const char * rather than fixed array lengths in LogStructure
...
Previously tridge found that using const char * here meant that the
data segment (and thus RAM usage) would increase.
This doesn't seem to be a problem now.
2018-05-23 17:35:17 +10:00
Jesse Millwood
014702fc64
Changed Argument Parsing for sim_vehicle.py
...
The arguments now properly pare the arguments passed through to the
ardupilot instance and to mavproxy.
2018-05-23 17:34:24 +10:00
Patrick José Pereira
b014b6c857
AP_Baro: Use SSL variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
237101a50e
AP_Airspeed: Use SSL air density
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
0c18b43351
AP_ADSB: Use SSL air pressure value
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Patrick José Pereira
1ca6647b2e
AP_Math: Create Standard Sea Level variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
night-ghost
54ab0b9099
HAL_F4Light: updated OSD submodule
2018-05-23 08:04:31 +10:00