This file contains hidden or 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
| -- Testing Script to meause Behavioural Consistency | |
| -- Credits to: Mactac for creating the original script | |
| -- Instruction to install and run the script: https://youtu.be/tocH6IgbK7k | |
| tricks = {{}, {}, {}} | |
| -- Flip | |
| tricks[1][1] = {200,800,0,0,0} -- Throttle bust {time,throttle,yaw,roll,pitch} | |
| tricks[1][2] = {35,-1024,0,256,0} -- flip {time,throttle,yaw,roll,pitch} |
This file contains hidden or 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
| 1) set-up ngrok | |
| curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok | |
| ngrok config add-authtoken <your token here> | |
| 2) install ssmtp | |
| sudo apt install ssmtp | |
| 3) crate /etc/init.d/ngrok | |
| 4) crate /home/pi/.config/ngrok/ngrok.yml | |
| 5) create a gmail app password to be used in the sendNgrokAddress.py file | |
| 6) crate /home/pi/sendNgrokAddress.py | |
| 7) set-up ngrok service |
This file contains hidden or 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
| #!/bin/bash | |
| #SBATCH --nodes=2 | |
| #SBATCH --time=0-00:15:00 | |
| #SBATCH --account=a-csstaff | |
| #SBATCH --partition=mi300 | |
| cat > env.toml <<- EOF | |
| image = "/capstor/scratch/cscs/palmee/rocm-7.0.2-dev.sqsh" |
OlderNewer