Andrew Tridgell
407fbc7261
AP_Menu: remove unused AP_Vehicle.h include
10 years ago
Andrew Tridgell
9fa1e15238
AP_Menu: removed example sketch
...
not very useful
10 years ago
Andrew Tridgell
4d040bbb94
AP_Math: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
bd5a58e4c4
AP_Menu: all vehicles now use functors
10 years ago
Andrew Tridgell
85f87b6d9c
AP_Menu: removed BUILD_DELEGATES code
...
no longer needed
10 years ago
Lucas De Marchi
70525fa2c1
AP_Menu: allow to use functor
10 years ago
Lucas De Marchi
ff398dbf0c
AP_Menu: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Andrew Tridgell
3a300575bc
AP_Menu: use APM_BUILD_DELEGATES
10 years ago
Andrew Tridgell
db13f657a8
AP_Menu: support member functions for rover
10 years ago
Andrew Tridgell
c76c3457fd
AP_Menu: fixed example build
11 years ago
Andrew Tridgell
a86ec8c786
AP_Menu: fixed double display of prompt
11 years ago
Andrew Tridgell
45381e5341
AP_Menu: added check_for_input() API
...
this allows for async use of the menus, so that a main loop can run
while allowing the user to enter menu commands
11 years ago
Andrew Tridgell
46724db144
AP_Menu: zero buffer contents on allocation
11 years ago
Andrew Tridgell
470e5f570d
AP_Menu: dynamically allocate the menu buffers
...
this saves memory when the menus are not used, and allows for the
commandline and argument limits to be changed
11 years ago
Andrew Tridgell
134bf5a5c9
AP_Menu: be friendly to multi-tasking OSes in menus
12 years ago
Andrew Tridgell
2819dd99fa
AP_Menu: copy with newline from console
...
helps debugging on HAL_Linux
12 years ago
Andrew Tridgell
5fdf6ff4f7
AP_Menu: fixed indent-tabs-mode
12 years ago
Andrew Tridgell
68051f3ea6
AP_Menu: fixed crash bug in strtok_r() handling
...
on PX4 this causes a hard fault in CLI menus
12 years ago
Andrew Tridgell
7294d9ef35
AP_Menu: fixed build with older compilers
...
avoids relocation truncated to fit error
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Andrew Tridgell
29f5e346c2
Menu: fixed example warnings
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
104ad8f6c8
AP_Menu: save a little ram by reducing MENU_ARGS_MAX to 3
...
* we only ever use 3 in arducopter's gyro gain setup
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
3b1150d857
AP_Menu: ported to AP_HAL
12 years ago
Andrew Tridgell
ba4b9b9961
AP_Menu: allow menus to work on ports other than UART0
12 years ago
Pat Hickey
d728ccb620
AP_Menu unit test fixup
12 years ago
Pat Hickey
1bf21aae20
AP_Menu: create new library with menu from AP_Common
12 years ago