Commit 961ed1f2 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

component/mavsdk: use asynchronus calls

parent f988481b
...@@ -83,7 +83,7 @@ CMAKE_CFLAGS=-I${tinyxml2:location}/include ...@@ -83,7 +83,7 @@ CMAKE_CFLAGS=-I${tinyxml2:location}/include
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
configure-command = true configure-command = true
url = https://lab.nexedi.com/nexedi/mavsdk-wrapper/-/archive/update_set_target_coordinates/mavsdk-wrapper-update_set_target_coordinates.tar.gz url = https://lab.nexedi.com/nexedi/mavsdk-wrapper/-/archive/update_set_target_coordinates/mavsdk-wrapper-update_set_target_coordinates.tar.gz
md5sum = 19062e3519e87d99e70081c7a3ae4c2e md5sum = 5ac1b5c7bb58355a603ed1d2d7b58f0e
environment = environment =
CPLUS_INCLUDE_PATH=${autopilot-wrapper-header:location}:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk CPLUS_INCLUDE_PATH=${autopilot-wrapper-header:location}:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib
...@@ -36,9 +36,9 @@ DLL_PUBLIC int takeOffAndWait(void); ...@@ -36,9 +36,9 @@ DLL_PUBLIC int takeOffAndWait(void);
DLL_PUBLIC int triggerParachute(void); DLL_PUBLIC int triggerParachute(void);
// Flight management functions // Flight management functions
DLL_PUBLIC int loiter(double la, double lo, float a, float radius); DLL_PUBLIC void loiter(double la, double lo, float a, float radius);
DLL_PUBLIC int setAirSpeed(float airspeed); DLL_PUBLIC void setAirSpeed_async(float airspeed);
DLL_PUBLIC int setTargetCoordinates(double la, double lo, float a); DLL_PUBLIC void setTargetCoordinates(double la, double lo, float a);
// Information functions // Information functions
DLL_PUBLIC float getAltitude(void); DLL_PUBLIC float getAltitude(void);
...@@ -52,7 +52,7 @@ DLL_PUBLIC float getYaw(void); ...@@ -52,7 +52,7 @@ DLL_PUBLIC float getYaw(void);
DLL_PUBLIC float getSpeed(void); DLL_PUBLIC float getSpeed(void);
DLL_PUBLIC float getClimbRate(void); DLL_PUBLIC float getClimbRate(void);
DLL_PUBLIC int healthAllOk(void); DLL_PUBLIC int healthAllOk(void);
DLL_PUBLIC int updateLogAndProjection(void); DLL_PUBLIC void updateLogAndProjection(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
...@@ -10,7 +10,7 @@ parts = qjs-wrapper ...@@ -10,7 +10,7 @@ parts = qjs-wrapper
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
configure-command = true configure-command = true
url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/update_settarget/qjs-wrapper-update_settarget.tar.gz url = https://lab.nexedi.com/nexedi/qjs-wrapper/-/archive/update_settarget/qjs-wrapper-update_settarget.tar.gz
md5sum = d0db07f3be8c09192546f5adf01ea6ed md5sum = 04157ce05e2ee6e32a7628145b18c55c
environment = environment =
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include:${autopilot-wrapper-header:location} C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include:${autopilot-wrapper-header:location}
LDFLAGS=-L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -L${mavsdk-wrapper:location}/lib -Wl,-rpath=${mavsdk-wrapper:location}/lib LDFLAGS=-L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -L${mavsdk-wrapper:location}/lib -Wl,-rpath=${mavsdk-wrapper:location}/lib
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
# not need these here). # not need these here).
[autopilot-wrapper-header] [autopilot-wrapper-header]
filename = autopilot_wrapper.h filename = autopilot_wrapper.h
md5sum = b5d9dab31ec8f76408797932cc6fea80 md5sum = e43b35d276cc0403ed53697770f77b06
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment