This commit is contained in:
2025-12-25 11:04:24 +07:00
parent 3c728db668
commit a9a2445305
29 changed files with 228 additions and 102 deletions

View File

@@ -287,7 +287,16 @@ namespace NavigationExample
return;
}
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "odom", "base_link",
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "odom", "base_footprint",
0, 0, 0,
0, 0, 0, 1))
{
LogError("Failed to inject static TF map -> base_link");
NavigationAPI.tf_listener_destroy(tfHandle);
return;
}
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "base_footprint", "base_link",
0, 0, 0,
0, 0, 0, 1))
{

View File

@@ -287,7 +287,16 @@ namespace NavigationExample
return;
}
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "odom", "base_link",
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "odom", "base_footprint",
0, 0, 0,
0, 0, 0, 1))
{
LogError("Failed to inject static TF map -> base_link");
NavigationAPI.tf_listener_destroy(tfHandle);
return;
}
if (!NavigationAPI.tf_listener_set_static_transform(tfHandle, "base_footprint", "base_link",
0, 0, 0,
0, 0, 0, 1))
{

View File

@@ -7,7 +7,7 @@ set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
BUILD_DIR="$PROJECT_ROOT/build"
LIB_DIR="$BUILD_DIR/src/APIs/c_api"
LIB_DIR="$BUILD_DIR"
EXAMPLE_DIR="$SCRIPT_DIR"
echo "=========================================="