修正与QGC通讯功能
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -54,8 +54,8 @@ endif()
|
||||
add_library(drone_interfaces::drone_interfaces__rosidl_generator_py SHARED IMPORTED)
|
||||
|
||||
set_target_properties(drone_interfaces::drone_interfaces__rosidl_generator_py PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "/home/huangfukk/miniconda3/envs/backend/lib/python3.10/site-packages/numpy/_core/include"
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_c;/home/huangfukk/miniconda3/envs/backend/lib/libpython3.10.so;drone_interfaces::drone_interfaces__rosidl_typesupport_c;action_msgs::action_msgs__rosidl_generator_py;builtin_interfaces::builtin_interfaces__rosidl_generator_py;unique_identifier_msgs::unique_identifier_msgs__rosidl_generator_py"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "/home/gkcs/miniconda3/envs/backend/lib/python3.10/site-packages/numpy/_core/include"
|
||||
INTERFACE_LINK_LIBRARIES "drone_interfaces::drone_interfaces__rosidl_generator_c;/home/gkcs/miniconda3/envs/backend/lib/libpython3.10.so;drone_interfaces::drone_interfaces__rosidl_typesupport_c;action_msgs::action_msgs__rosidl_generator_py;builtin_interfaces::builtin_interfaces__rosidl_generator_py;unique_identifier_msgs::unique_identifier_msgs__rosidl_generator_py"
|
||||
)
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# since this file is sourced use either the provided AMENT_CURRENT_PREFIX
|
||||
# or fall back to the destination set at configure time
|
||||
: ${AMENT_CURRENT_PREFIX:="/home/huangfukk/DronePlanning/install/drone_interfaces"}
|
||||
: ${AMENT_CURRENT_PREFIX:="/home/gkcs/DronePlanning/install/drone_interfaces"}
|
||||
if [ ! -d "$AMENT_CURRENT_PREFIX" ]; then
|
||||
if [ -z "$COLCON_CURRENT_PREFIX" ]; then
|
||||
echo "The compile time prefix path '$AMENT_CURRENT_PREFIX' doesn't " \
|
||||
|
||||
@@ -52,7 +52,7 @@ _colcon_prepend_unique_value() {
|
||||
# since a plain shell script can't determine its own path when being sourced
|
||||
# either use the provided COLCON_CURRENT_PREFIX
|
||||
# or fall back to the build time prefix (if it exists)
|
||||
_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/huangfukk/DronePlanning/install/drone_interfaces"
|
||||
_colcon_package_sh_COLCON_CURRENT_PREFIX="/home/gkcs/DronePlanning/install/drone_interfaces"
|
||||
if [ -z "$COLCON_CURRENT_PREFIX" ]; then
|
||||
if [ ! -d "$_colcon_package_sh_COLCON_CURRENT_PREFIX" ]; then
|
||||
echo "The build time path \"$_colcon_package_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2
|
||||
|
||||
@@ -78,7 +78,7 @@ if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then
|
||||
_colcon_python_executable="$COLCON_PYTHON_EXECUTABLE"
|
||||
else
|
||||
# try the Python executable known at configure time
|
||||
_colcon_python_executable="/home/huangfukk/miniconda3/envs/backend/bin/python3.10"
|
||||
_colcon_python_executable="/home/gkcs/miniconda3/envs/backend/bin/python3.10"
|
||||
# if it doesn't exist try a fall back
|
||||
if [ ! -f "$_colcon_python_executable" ]; then
|
||||
if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then
|
||||
|
||||
@@ -12,7 +12,7 @@ if ($env:COLCON_PYTHON_EXECUTABLE) {
|
||||
$_colcon_python_executable="$env:COLCON_PYTHON_EXECUTABLE"
|
||||
} else {
|
||||
# use the Python executable known at configure time
|
||||
$_colcon_python_executable="/home/huangfukk/miniconda3/envs/backend/bin/python3.10"
|
||||
$_colcon_python_executable="/home/gkcs/miniconda3/envs/backend/bin/python3.10"
|
||||
# if it doesn't exist try a fall back
|
||||
if (!(Test-Path "$_colcon_python_executable" -PathType Leaf)) {
|
||||
if (!(Get-Command "python3" -ErrorAction SilentlyContinue)) {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# since a plain shell script can't determine its own path when being sourced
|
||||
# either use the provided COLCON_CURRENT_PREFIX
|
||||
# or fall back to the build time prefix (if it exists)
|
||||
_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/home/huangfukk/DronePlanning/install"
|
||||
_colcon_prefix_sh_COLCON_CURRENT_PREFIX="/home/gkcs/DronePlanning/install"
|
||||
if [ -z "$COLCON_CURRENT_PREFIX" ]; then
|
||||
if [ ! -d "$_colcon_prefix_sh_COLCON_CURRENT_PREFIX" ]; then
|
||||
echo "The build time path \"$_colcon_prefix_sh_COLCON_CURRENT_PREFIX\" doesn't exist. Either source a script for a different shell or set the environment variable \"COLCON_CURRENT_PREFIX\" explicitly." 1>&2
|
||||
@@ -85,7 +85,7 @@ if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then
|
||||
_colcon_python_executable="$COLCON_PYTHON_EXECUTABLE"
|
||||
else
|
||||
# try the Python executable known at configure time
|
||||
_colcon_python_executable="/home/huangfukk/miniconda3/envs/backend/bin/python3.10"
|
||||
_colcon_python_executable="/home/gkcs/miniconda3/envs/backend/bin/python3.10"
|
||||
# if it doesn't exist try a fall back
|
||||
if [ ! -f "$_colcon_python_executable" ]; then
|
||||
if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then
|
||||
|
||||
@@ -91,7 +91,7 @@ if [ -n "$COLCON_PYTHON_EXECUTABLE" ]; then
|
||||
_colcon_python_executable="$COLCON_PYTHON_EXECUTABLE"
|
||||
else
|
||||
# try the Python executable known at configure time
|
||||
_colcon_python_executable="/home/huangfukk/miniconda3/envs/backend/bin/python3.10"
|
||||
_colcon_python_executable="/home/gkcs/miniconda3/envs/backend/bin/python3.10"
|
||||
# if it doesn't exist try a fall back
|
||||
if [ ! -f "$_colcon_python_executable" ]; then
|
||||
if ! /usr/bin/env python3 --version > /dev/null 2> /dev/null; then
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# since a plain shell script can't determine its own path when being sourced
|
||||
# either use the provided COLCON_CURRENT_PREFIX
|
||||
# or fall back to the build time prefix (if it exists)
|
||||
_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/home/huangfukk/DronePlanning/install
|
||||
_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX=/home/gkcs/DronePlanning/install
|
||||
if [ ! -z "$COLCON_CURRENT_PREFIX" ]; then
|
||||
_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX="$COLCON_CURRENT_PREFIX"
|
||||
elif [ ! -d "$_colcon_prefix_chain_sh_COLCON_CURRENT_PREFIX" ]; then
|
||||
|
||||
Reference in New Issue
Block a user