-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update UavDynamics and many parameters, add scripts to simply build a…
…nd run the main targets, alpha release v5
- Loading branch information
1 parent
3848881
commit 4ad95e3
Showing
7 changed files
with
259 additions
and
496 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
echo "Hint:" | ||
echo "cd ~/ardupilot" | ||
echo "./Tools/autotest/sim_vehicle.py -v Plane --console --map -w --model JSON -l 55.75690,48.74115,-7,0" | ||
sleep 1 | ||
echo "" | ||
|
||
SCRIPT_DIR="$(dirname "$0")" | ||
REPO_DIR="$(dirname "$SCRIPT_DIR")" | ||
CMAKE_DIR=$REPO_DIR/src/Simulator | ||
CREATE_APP_IMAGE_SCRIPT_PATH=$REPO_DIR/src/UavDynamics/scripts/build_appimage.sh | ||
BUILD_DIR=$REPO_DIR/build | ||
|
||
rm $REPO_DIR/UavDynamics-x86_64.AppImage | ||
$CREATE_APP_IMAGE_SCRIPT_PATH --cmake-dir $CMAKE_DIR --build-dir $BUILD_DIR | ||
|
||
$REPO_DIR/UavDynamics-x86_64.AppImage --config $REPO_DIR/configs/ap_plane.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
echo "Hint:" | ||
echo "cd ~/PX4-Autopilot" | ||
echo "PX4_SIM_MODEL=gazebo-classic_plane ./build/px4_sitl_default/bin/px4 ./build/px4_sitl_default/etc -s etc/init.d-posix/rcS -i 0" | ||
sleep 1 | ||
echo "" | ||
|
||
SCRIPT_DIR="$(dirname "$0")" | ||
REPO_DIR="$(dirname "$SCRIPT_DIR")" | ||
CMAKE_DIR=$REPO_DIR/src/Simulator | ||
CREATE_APP_IMAGE_SCRIPT_PATH=$REPO_DIR/src/UavDynamics/scripts/build_appimage.sh | ||
BUILD_DIR=$REPO_DIR/build | ||
|
||
rm $REPO_DIR/UavDynamics-x86_64.AppImage | ||
$CREATE_APP_IMAGE_SCRIPT_PATH --cmake-dir $CMAKE_DIR --build-dir $BUILD_DIR | ||
|
||
$REPO_DIR/UavDynamics-x86_64.AppImage --config $REPO_DIR/configs/px4_plane_5kg.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
echo "Hint:" | ||
echo "cd ~/PX4-Autopilot" | ||
echo "PX4_SIM_MODEL=gazebo-classic_standard_vtol ./build/px4_sitl_default/bin/px4 ./build/px4_sitl_default/etc -s etc/init.d-posix/rcS -i 0" | ||
sleep 1 | ||
echo "" | ||
|
||
SCRIPT_DIR="$(dirname "$0")" | ||
REPO_DIR="$(dirname "$SCRIPT_DIR")" | ||
CMAKE_DIR=$REPO_DIR/src/Simulator | ||
CREATE_APP_IMAGE_SCRIPT_PATH=$REPO_DIR/src/UavDynamics/scripts/build_appimage.sh | ||
BUILD_DIR=$REPO_DIR/build | ||
|
||
rm $REPO_DIR/UavDynamics-x86_64.AppImage | ||
$CREATE_APP_IMAGE_SCRIPT_PATH --cmake-dir $CMAKE_DIR --build-dir $BUILD_DIR | ||
|
||
$REPO_DIR/UavDynamics-x86_64.AppImage --config $REPO_DIR/configs/px4_vtol_5kg.yaml |
Submodule UavDynamics
updated
from 0d3391 to c14197