Skip to content

Commit

Permalink
Mavlink-router only for DEXI initial image
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaldwin committed May 8, 2024
1 parent 6aa4313 commit 551ea67
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Prompt for sudo password at the start to cache it
sudo true

INSTALL_DDS_AGENT="y"
INSTALL_LOGLOADER="y"
INSTALL_POLARIS="y"
INSTALL_DDS_AGENT="n"
INSTALL_LOGLOADER="n"
INSTALL_POLARIS="n"
POLARIS_API_KEY=""
USER_EMAIL="[email protected]"
UPLOAD_TO_FLIGHT_REVIEW="n"
Expand Down Expand Up @@ -60,31 +60,31 @@ if [ "$#" -gt 0 ]; then
;;
esac
done
else
echo "Do you want to install micro-xrce-dds-agent? (y/n)"
read -r INSTALL_DDS_AGENT

echo "Do you want to install logloader? (y/n)"
read -r INSTALL_LOGLOADER

if [ "$INSTALL_LOGLOADER" = "y" ]; then
echo "Please enter your email: "
read -r USER_EMAIL

echo "Do you want to auto upload to PX4 Flight Review? (y/n)"
read -r UPLOAD_TO_FLIGHT_REVIEW
if [ "$UPLOAD_TO_FLIGHT_REVIEW" = "y" ]; then
echo "Do you want your logs to be public? (y/n)"
read -r PUBLIC_LOGS
fi
fi

echo "Do you want to install the polaris-client-mavlink? (y/n)"
read -r INSTALL_POLARIS
if [ "$INSTALL_POLARIS" = "y" ]; then
echo "Enter API key: "
read -r POLARIS_API_KEY
fi
# else
# echo "Do you want to install micro-xrce-dds-agent? (y/n)"
# read -r INSTALL_DDS_AGENT

# echo "Do you want to install logloader? (y/n)"
# read -r INSTALL_LOGLOADER

# if [ "$INSTALL_LOGLOADER" = "y" ]; then
# echo "Please enter your email: "
# read -r USER_EMAIL

# echo "Do you want to auto upload to PX4 Flight Review? (y/n)"
# read -r UPLOAD_TO_FLIGHT_REVIEW
# if [ "$UPLOAD_TO_FLIGHT_REVIEW" = "y" ]; then
# echo "Do you want your logs to be public? (y/n)"
# read -r PUBLIC_LOGS
# fi
# fi

# echo "Do you want to install the polaris-client-mavlink? (y/n)"
# read -r INSTALL_POLARIS
# if [ "$INSTALL_POLARIS" = "y" ]; then
# echo "Enter API key: "
# read -r POLARIS_API_KEY
# fi

fi

Expand Down

0 comments on commit 551ea67

Please sign in to comment.