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

component/mavsdk: use int64_t for position array

Use an integer type to keep integrity of the data coming for the autopilot
parent a17176b8
...@@ -82,8 +82,8 @@ CMAKE_CFLAGS=-I${tinyxml2:location}/include ...@@ -82,8 +82,8 @@ CMAKE_CFLAGS=-I${tinyxml2:location}/include
[mavsdk-wrapper] [mavsdk-wrapper]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
configure-command = true configure-command = true
url = https://lab.nexedi.com/nexedi/mavsdk-wrapper/-/archive/log_position_timestamps/mavsdk-wrapper-log_position_timestamps.tar.gz url = https://lab.nexedi.com/nexedi/mavsdk-wrapper/-/archive/update_set_target_coordinates/mavsdk-wrapper-update_set_target_coordinates.tar.gz
md5sum = d3087f583534fa642a16c352b9ab08de md5sum = aeb8f0eb921cbce5ed7b4424bb593429
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
...@@ -45,7 +45,7 @@ DLL_PUBLIC float getAltitude(void); ...@@ -45,7 +45,7 @@ DLL_PUBLIC float getAltitude(void);
DLL_PUBLIC float getInitialAltitude(void); DLL_PUBLIC float getInitialAltitude(void);
DLL_PUBLIC double getInitialLatitude(void); DLL_PUBLIC double getInitialLatitude(void);
DLL_PUBLIC double getInitialLongitude(void); DLL_PUBLIC double getInitialLongitude(void);
DLL_PUBLIC double *getPositionArray(void); DLL_PUBLIC int64_t *getPositionArray(void);
DLL_PUBLIC float *getSpeedArray(void); DLL_PUBLIC float *getSpeedArray(void);
DLL_PUBLIC double getTakeOffAltitude(void); DLL_PUBLIC double getTakeOffAltitude(void);
DLL_PUBLIC float getYaw(void); DLL_PUBLIC float getYaw(void);
......
...@@ -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 = 56e9cc7afe6a727f5d33c8d52165ae4d md5sum = 13cb6bc8478515bf5c80bb24db588d91
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 = e43b35d276cc0403ed53697770f77b06 md5sum = 7f9acb0339bd217301a98d860a67978c
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