This repository has been archived by the owner on May 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[percep, ansible] percep upgraded streaming (#1132)
- Loading branch information
Showing
17 changed files
with
61 additions
and
64 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
ansible/roles/base_station_services/files/rover-base_station_gstreamer.service
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
ansible/roles/base_station_services/files/[email protected]
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,10 @@ | ||
[Unit] | ||
Description=Base Station Video Stream %I | ||
|
||
[Service] | ||
Environment="DISPLAY=:0" | ||
Environment="XAUTHORITY=/home/mrover/.Xauthority" | ||
EnvironmentFile=/etc/default/rover.env | ||
User={{ running_user }} | ||
ExecStart=/usr/bin/gst-launch-1.0 -v udpsrc port=%i caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink | ||
Restart=always |
File renamed without changes.
9 changes: 0 additions & 9 deletions
9
ansible/roles/base_station_services/files/rover-base_station_gstreamer_2.service
This file was deleted.
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
LCM_DEFAULT_URL="udpm://239.255.76.67:7667?ttl=255" | ||
usbcam0=5000 | ||
usbcam1=5001 | ||
zed=5002 |
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 |
---|---|---|
|
@@ -10,12 +10,10 @@ | |
dest: "/etc/systemd/system/{{ item }}" | ||
with_items: | ||
- rover-base_station_gui.service | ||
- rover-base_station_gstreamer.service | ||
- rover-base_station_gstreamer_2.service | ||
- [email protected] | ||
- rover-lcm_bridge_server.service | ||
- rover-base_station_kineval.service | ||
- rover-base_station_gstreamer.timer | ||
- rover-base_station_gstreamer_2.timer | ||
- [email protected] | ||
|
||
- name: Copy environment variable definitions | ||
copy: | ||
|
@@ -29,9 +27,11 @@ | |
systemd: name={{item}} enabled=yes | ||
with_items: | ||
- rover-base_station_gui.service | ||
- rover-base_station_gstreamer.service | ||
- rover-base_station_gstreamer_2.service | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- rover-lcm_bridge_server.service | ||
- rover-base_station_kineval.service | ||
- rover-base_station_gstreamer.timer | ||
- rover-base_station_gstreamer_2.timer | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] |
9 changes: 0 additions & 9 deletions
9
ansible/roles/science_services/files/rover-science-gstreamer-2.service
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
ansible/roles/science_services/files/rover-science-gstreamer-2.timer
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
ansible/roles/science_services/files/rover-science-gstreamer.service
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
ansible/roles/science_services/files/rover-science-gstreamer.timer
This file was deleted.
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,9 @@ | ||
[Unit] | ||
Description=Base Station Video Stream %I | ||
|
||
[Service] | ||
Environment="DISPLAY=:0" | ||
Environment="XAUTHORITY=/home/mrover/.Xauthority" | ||
User={{ running_user }} | ||
ExecStart=/usr/bin/gst-launch-1.0 -v udpsrc port=%i caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink | ||
Restart=always |
File renamed without changes.
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 |
---|---|---|
|
@@ -4,10 +4,8 @@ | |
dest: "/etc/systemd/system/{{ item }}" | ||
with_items: | ||
- rover-lcm-bridge-server.service | ||
- rover-science-gstreamer.service | ||
- rover-science-gstreamer-2.service | ||
- rover-science-gstreamer.timer | ||
- rover-science-gstreamer-2.timer | ||
- [email protected] | ||
- [email protected] | ||
- rover-science-gui.service | ||
- rover-science-raman.service | ||
|
||
|
@@ -23,9 +21,9 @@ | |
systemd: name={{ item }} enabled=yes | ||
with_items: | ||
- rover-lcm-bridge-server.service | ||
- rover-science-gstreamer.service | ||
- rover-science-gstreamer-2.service | ||
- rover-science-gstreamer.timer | ||
- rover-science-gstreamer-2.timer | ||
- rover-science-gstreamer@5000.service | ||
- rover-science-gstreamer@5001.service | ||
- rover-science-gstreamer@5000.timer | ||
- rover-science-gstreamer@5001.timer | ||
- rover-science-gui.service | ||
- rover-science-raman.service |
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
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
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
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