Andrew Tridgell
9677600433
desktop: don't start alarm till setup() has finished
13 years ago
Jason Short
0e1727e492
MAV_CMD_DO_SET_ROI
13 years ago
Andrew Tridgell
9af935f2f2
desktop: don't alarm in CLI
...
loop() is not called in menu system
13 years ago
Andrew Tridgell
0820ff52a8
desktop: exit if loop() doesn't run for 5 seconds
...
this should stop runaway processes
13 years ago
Andrew Tridgell
a0fd4f710f
desktop: force awk on macos
...
this may help on jasons box
13 years ago
Andrew Tridgell
53f62b7484
desktop: exit on EOF from stdin
13 years ago
Jason Short
0ca427bdd9
Removed debugging code from APM_PI
13 years ago
Andrew Tridgell
db99b664df
desktop: fixed malloc cast
13 years ago
Andrew Tridgell
997091e0d6
desktop: be more careful with signed/unsigned in DataFlash
13 years ago
Andrew Tridgell
c2082fdd7b
desktop: use less stack
...
this avoids a problem on cygwin on windows
13 years ago
Andrew Tridgell
c4bba9c4d8
desktop: another MacOS fix
13 years ago
Andrew Tridgell
5194fe489d
desktop: make desktop build more portable
...
this should help on MacOS
thanks to MikeS for his assistance
13 years ago
Andrew Tridgell
0e447b12a2
dataflash: type fixup for ReadInt()
13 years ago
Andrew Tridgell
294c812b9b
desktop: use the libc printf engine
...
getting ftoa_engine right was too much work
13 years ago
Andrew Tridgell
39ddc42cc7
desktop: fixed ultoa_invert()
...
the string was backwards
13 years ago
Andrew Tridgell
d33b69492b
desktop: improved ftoa_engine.c
...
this still doesn't perfectly match the assembler, but its closer
13 years ago
Andrew Tridgell
0f3c21821a
barometer: fixed a build warning
13 years ago
Jason Short
6bf0c32173
Removed some old debug prints from motors.pde
...
added ability to not increment I term for traversals.
13 years ago
Andrew Tridgell
c1dad23679
autotest: fill flash with 0xff on erase
13 years ago
Andrew Tridgell
3b48389efe
Desktop: added -w option to wipe eeprom and dataflash
13 years ago
Andrew Tridgell
da800a295f
Desktop: added support for DataFlash in Desktop build
...
this will allow Jason to look at the logs of the quad sim
13 years ago
Andrew Tridgell
580139c6e4
digital.c for CLI
13 years ago
Andrew Tridgell
cfe058c5d5
DataFlash: use CPU independent data types
...
this ensures that the DataFlash API is consistent for different CPU
architectures, which matters for the Desktop build, and will matter
for ARM and other CPUs later
13 years ago
Andrew Tridgell
94f0e8a4a3
Desktop: enable the CLI in desktop build
...
this gives access to the CLI menus. You can start the SIL with the -s
switch to set the slider position to CLI
13 years ago
Andrew Tridgell
b927e64440
desktop: fixed 2 crashes in the menu code
...
handle an empty line gracefully, and use pgm_read_pointer() for
functions pointers in progmem
13 years ago
Andrew Tridgell
d78bbb1a40
added pgm_read_pointer()
...
this will be used by the menu code to make reading pointers from
progmem portable
13 years ago
Andrew Tridgell
251cf7d87c
force LANG=C for MacOS awk
13 years ago
Doug Weibel
e3ab1b0353
Add an accessor for the DCM drift correction integrator to monitor performance
...
Also made the get_health accessor an inline function.
13 years ago
Doug Weibel
947950398c
Changed the DCM drift correction integrator limit to a vector magnitude of 30 degrees/second.
...
The drift correction integrator limit previously was near/at the gyro saturation limit. If we have that much drift there is a serious hardware problem. 30 degrees/second is arbitrary but should handle all temperature variation, etc.
13 years ago
Doug Weibel
c7077fa9e8
In case of DCM renorm "blow-up" reset the drift correction integrators
...
This should aid in recovery if we loose the AHRS solution and have to force to initial orientation. Also removed some old commented out code moved to the IMU object
13 years ago
Andrew Tridgell
e7671178b3
desktop: fixed TCP buffering issue with HIL
...
the TCP layer was buffering the servo updates, which caused very poor HIL flight
13 years ago
Simon Salykov
04d4aa4310
Obstacle avoidance moved from AP_Guide to ControllerCar (works only for cars for now), algorithm changed
...
New feature Forward/Reverse in Controller Car
Misc bug fixes in ControllerCar
13 years ago
Jason Short
9c4ad5f7ff
Baro
...
Minimized the baro filtering to use a new approach to rate control. Redid the state machine so the temp is sampled more often.
13 years ago
Amilcar Lucas
ab730ff919
Added camera and/or antenna mount support.
...
It is fully configurable with the mission planner, there is no need to change
the source code to adapt to your setup.
It needs more testing, but the SIL is not working for me.
13 years ago
Amilcar Lucas
75751900d6
Update the SIL README file
13 years ago
James Goppert
025fa7fb5d
ArduPlane cmake build working.
13 years ago
James Goppert
3f8603331d
Switching to new eclipse project style.
13 years ago
Michael Oborne
d18bb1cc7e
prevent div by 0
13 years ago
Andrew Tridgell
f8f2f9139d
added desktop header
13 years ago
Andrew Tridgell
de0a7117a8
make desktop serial more responsive
13 years ago
Andrew Tridgell
0211fc2f09
move g_rc_function[] to RC_Channel library
...
libraries should not rely on data declared in the main program. This
caused a build error for the Desktop build for ArduCopter under cygwin
13 years ago
Andrew Tridgell
cf4c2cc1cf
merge NULL ptr mavlink array fix
...
this fixes a segfault in ArduPlane when using a NULL pointer for
satellite_prn in GPS status
13 years ago
Andrew Tridgell
699f3388fc
updated to latest upstream mavlink headers
...
this includes the new APM_Camera headers from ardupilotmega.xml
13 years ago
James Goppert
14d27b1e4c
Cleaned up AP_GPS formatting.
13 years ago
James Goppert
77da85648d
Clean up formatting for AP_Common
13 years ago
Michael Oborne
6818794bb4
Fix HIL DCM to match actual
13 years ago
Michael Oborne
818c41f743
Fix HIL DCM to match actual
13 years ago
Andrew Tridgell
c0a43a1837
minor mavlink 1.0 updates
13 years ago
James Goppert
82b23f8eb5
APO multiple mode handling added.
13 years ago
James Goppert
9192143c44
Fixed APO bug in current waypoint update.
13 years ago