mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 02:13:33 +08:00
move posix/tests/hello to examples/hello and include everywhere
This commit is contained in:
committed by
David Sidrane
parent
85c5fb4295
commit
e45e7aa8a6
@@ -78,6 +78,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -84,6 +84,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
#px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
#px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
#bottle_drop # OBC challenge
|
#bottle_drop # OBC challenge
|
||||||
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
#fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
#hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
px4_mavlink_debug # Tutorial code from https://px4.io/dev/debug_values
|
||||||
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
px4_simple_app # Tutorial code from https://px4.io/dev/px4_simple_app
|
||||||
|
|||||||
@@ -93,6 +93,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
#hwtest # Hardware test
|
#hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ px4_add_board(
|
|||||||
EXAMPLES
|
EXAMPLES
|
||||||
bottle_drop # OBC challenge
|
bottle_drop # OBC challenge
|
||||||
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control
|
||||||
|
hello
|
||||||
hwtest # Hardware test
|
hwtest # Hardware test
|
||||||
#matlab_csv_serial
|
#matlab_csv_serial
|
||||||
#publisher
|
#publisher
|
||||||
|
|||||||
@@ -115,7 +115,6 @@ sanitizer_fail_test_on_error(shutdown)
|
|||||||
|
|
||||||
# run arbitrary commands
|
# run arbitrary commands
|
||||||
set(test_cmds
|
set(test_cmds
|
||||||
hello
|
|
||||||
hrt_test
|
hrt_test
|
||||||
cdev_test
|
cdev_test
|
||||||
wqueue_test
|
wqueue_test
|
||||||
|
|||||||
@@ -30,12 +30,14 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
px4_add_module(
|
px4_add_module(
|
||||||
MODULE platforms__posix__tests__hello
|
MODULE examples__hello
|
||||||
MAIN hello
|
MAIN hello
|
||||||
|
COMPILE_FLAGS
|
||||||
SRCS
|
SRCS
|
||||||
hello_main.cpp
|
hello_main.cpp
|
||||||
hello_start_posix.cpp
|
hello_start.cpp
|
||||||
hello_example.cpp
|
hello_example.cpp
|
||||||
DEPENDS
|
DEPENDS
|
||||||
)
|
)
|
||||||
+1
@@ -40,6 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "hello_example.h"
|
#include "hello_example.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@@ -37,9 +37,11 @@
|
|||||||
*
|
*
|
||||||
* @author Mark Charlebois <charlebm@gmail.com>
|
* @author Mark Charlebois <charlebm@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "hello_example.h"
|
||||||
|
|
||||||
#include <px4_middleware.h>
|
#include <px4_middleware.h>
|
||||||
#include <px4_app.h>
|
#include <px4_app.h>
|
||||||
#include "hello_example.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int PX4_MAIN(int argc, char **argv)
|
int PX4_MAIN(int argc, char **argv)
|
||||||
-4
@@ -46,10 +46,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
|
||||||
#define SCHED_DEFAULT SCHED_FIFO
|
|
||||||
#define SCHED_PRIORITY_MAX sched_get_priority_max(SCHED_FIFO)
|
|
||||||
//#define SCHED_PRIORITY_DEFAULT sched_get_priority_max(SCHED_FIFO)
|
|
||||||
|
|
||||||
static int daemon_task; /* Handle of deamon task / thread */
|
static int daemon_task; /* Handle of deamon task / thread */
|
||||||
|
|
||||||
//using namespace px4;
|
//using namespace px4;
|
||||||
Reference in New Issue
Block a user