Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Andrew Tridgell
724f5511aa
SITL: support multiple jsbsim aircraft types
...
use -f jsbsim:ModelName
2015-10-27 10:01:34 +11:00
Caio Marcelo de Oliveira Filho
11b599bcd0
SITL: use #pragma once
...
For the general case, pragma once is better replacement for of include
guards. One line instead of three, less scopes to close in the end of
the file, no chance to having the outdated names in the define symbol.
2015-10-22 13:36:19 -02:00
Caio Marcelo de Oliveira Filho
288dc2a385
SITL: clean up includes
...
Remove unnecessary includes, reorder them in blocks separated by a blank
line
- Corresponding header file (if exists)
- System headers
- Other ArduPilot library headers
- "Local" headers (from the same library)
2015-10-22 13:36:19 -02:00
Caio Marcelo de Oliveira Filho
8a55b26443
SITL: no need to use #ifdefs
...
Now that SITL is compiled only when it's needed (i.e. using the SITL
board), there's no need to ifdef its files based on the
CONFIG_HAL_BOARD. So remove them.
2015-10-22 13:36:19 -02:00
Caio Marcelo de Oliveira Filho
e2fa456742
SITL: remove "constructor" comment
2015-10-22 11:16:39 -02:00
Caio Marcelo de Oliveira Filho
5ddd802320
SITL: use coding style in class declarations
2015-10-22 11:15:34 -02:00
Caio Marcelo de Oliveira Filho
f0a20cdc7c
SITL: remove trailing whitespace
2015-10-22 11:15:20 -02:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Andrew Tridgell
05876b7e1b
SITL: Changed Rover to SimRover
...
this avoids the rover crash in master
2015-10-21 22:04:19 +11:00
Andrew Tridgell
b9aad88d17
SITL: moved ignition to channel 6
2015-09-29 10:59:41 +10:00
Andrew Tridgell
76aa1a9704
SITL: ensure zero rotor speed with ignition off in gas heli
2015-09-14 12:46:04 +10:00
Michael Oborne
b861233677
AP_HAL_SITL: add file based gps
2015-09-03 19:43:31 +10:00
Andrew Tridgell
a3d7156f28
SITL: raise default simulation rate to 1200Hz
...
this greatly improves things for the heli sim
2015-09-01 16:34:20 +10:00
Andrew Tridgell
85ab1c3444
SITL: added ignition control for gas heli
2015-08-18 13:07:19 +10:00
Andrew Tridgell
c2e68eaf79
SITL: tidy up frame handling a bit
2015-08-13 18:44:35 +10:00
Fredrik Hedberg
e2027a8414
SITL: Add HELI_DUAL_FRAME and HELI_COMPOUND_FRAME.
2015-08-13 18:23:30 +10:00
Gustavo Jose de Sousa
a02e7730ea
SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:38:25 +10:00
Grant Morphett
538a077ae8
SITL: fix coverity warning - removed unused variable heli_servos
2015-07-30 12:37:09 +10:00
Tom Pittenger
0c9cec7958
SITL: param SITL_ARSP_FAIL should be a float instead of byte
...
this param was meant to represent an airspeed which is a float
2015-07-28 11:03:13 +10:00
Tom Pittenger
250dcd31a2
SITL: Add ARSP_FAIL param
...
This will allow testing pitot tube hardware failures
2015-07-23 14:38:06 +10:00
Tom Pittenger
9737c426eb
SITL: Gazebo index out of bound
...
- imu_orientation_quat[size=3] is fed to Quaternion[size=4] which causes an index-out-of-range problem
2015-07-22 21:33:46 +10:00
Lucas De Marchi
5c9bf90d94
SITL: use ARRAY_SIZE macro
2015-07-21 14:25:19 +09:00
John Hsu
14e462706d
SITL: added gazebo SITL shim
2015-07-20 09:10:48 +10:00
Randy Mackay
2b4aaf2368
SITL: add vibe monitor and SIM_ACC2_RND to sitl
2015-07-12 16:50:30 +09:00
Andrew Tridgell
1f58e0080a
SITL: fixed some build warnings
2015-07-06 09:21:49 +10:00
Andrew Tridgell
f8944ab6be
SITL: define number of RC out channels
2015-06-30 08:54:46 +10:00
Andrew Tridgell
ff88932091
SITL: setup turbulence in JSBSim
2015-06-29 11:25:59 +10:00
Andrew Tridgell
322a61635f
SITL: allow extra arguments to be passed to last_letter
2015-06-19 16:39:46 +10:00
Georacer
b375a8debf
SITL: Allows last_letter to start at the location specified by the SITL arguments
2015-06-19 12:49:29 +10:00
Andrew Tridgell
83cc60a699
SITL: added simple balloon simulator
...
for testing balloon release code in plane
2015-06-15 09:20:55 +10:00
Andrew Tridgell
96737a3982
SITL: fixed yaw wrap in simulated AntennaTracker
2015-06-01 14:08:45 +10:00
Andrew Tridgell
edb54cabb5
SITL: added simulated antenna tracker
2015-06-01 12:53:30 +10:00
Andrew Tridgell
14bdfe2889
SITL: started to use C++11 variable initialisation
2015-06-01 08:04:51 +10:00
Andrew Tridgell
b541bfb739
SITL: fixed build warnings
2015-05-30 22:51:38 +10:00
Andrew Tridgell
d8df31c023
SITL: initialise a couple of variables to prevent a valgrind error
2015-05-27 11:54:18 +10:00
Peter Barker
88015503ac
SITL: use 64-bit timestamps for dataflash logs
2015-05-27 11:54:16 +10:00
Andrew Tridgell
527fc2a610
SITL: use 127.0.0.1 to improve reliability on windows
2015-05-25 22:02:18 +10:00
Andrew Tridgell
563be63d00
SITL: try to get speedup accurate on both windows and linux
2015-05-25 21:48:42 +10:00
Andrew Tridgell
2b2259a6d7
SITL: use more granrular sleeps for windows
2015-05-25 17:05:44 +10:00
Andrew Tridgell
c06d81a06a
SITL: use autotest_dir
...
this allows for the aircraft directory for SITL to be packaged without
the source tree
2015-05-25 13:04:46 +10:00
Andrew Tridgell
4f37926aea
SITL: fixed gimbal build on PX4
2015-05-25 12:39:40 +10:00
Andrew Tridgell
7f5b206c55
SITL: added gimbal simulator class
2015-05-25 12:20:26 +10:00
Andrew Tridgell
2bb5f677c7
SITL: removed earth frame rates
2015-05-25 09:03:10 +10:00
Andrew Tridgell
2d53a1ff9a
SITL: fixed airspeed in last_letter
2015-05-23 11:37:21 +10:00
Andrew Tridgell
ae6ac1b82d
SITL: fixed airspeed in CRRCSim
2015-05-23 11:35:56 +10:00
Andrew Tridgell
da5d5c9936
SITL: fixed airspeed pass-thru from simulators
2015-05-23 11:24:10 +10:00
Andrew Tridgell
091a1e7fe0
SITL: fixed wind support in JSBSim
2015-05-23 11:03:57 +10:00
Andrew Tridgell
60221f5e9c
SITL: use sendto() in CRRCSim
...
this makes us robust to restart of client or server
2015-05-22 16:07:45 +10:00
Andrew Tridgell
b35c21fbe2
SITL: fixed socket recv error check
2015-05-22 16:07:43 +10:00