Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rc.local in volta #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions volta/rc.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# DON'T FORGET THE "&"! :D
# Silvio Revelli - 4gmetry.voltarobots.com - [email protected]

# BASIC CONNECTION
sudo mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 (this should be the same as SER2_BAUD on your PixHawk)

# FORWARDING TELEMETRY - WILD WEB
# Please replace "192.168.1.106" with your ground station IP
#(If you connect through Pixhawk USB - not a grat idea - use ttyACM0 instead of ttyUSB0)
#sudo mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 --out=192.168.1.106:14550

# FORWARDING TELEMETRY - VPN
# Please replace "192.168.1.106" with your ground station IP
#(If you connect through Pixhawk USB - not a grat idea - use ttyACM0 instead of ttyUSB0)
# Select the folder with your VPN Profile
# sudo openvpn --config /./home/odroid/Desktop/client.ovpn &
# sudo mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 --out=192.168.1.106:14550

# ADDING VEHICLE NAME (COPTER/PLANE/ROVER/BOAT)
# Please uncomment and replace "192.168.1.106" with your ground station IP
# Optional: Add in mavinint a startup action e.g.: module load (e.g.: droneapi)
# sudo mavproxy.py --master=/dev/ttyUSB0 --baudrate 1500000 --out=192.168.1.106:14550 --aircraft=4Gmetry

GSTREAMING WITH H.264 CAMERA (EG LOGITECH C920)
# Uncomment below
# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-h264,width=640,height=360,framerate=30/1 ! h264parse ! rtph264pay pt=127 config-interval=4 ! udpsink host=172.27.224.12 port=5000

exit 0