-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's possible to simulate via opensource cars with webcams, radios devices and even digital tvs, here another extension to QM. Signed-off-by: Douglas Schilling Landgraf <[email protected]>
- Loading branch information
Showing
4 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
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
29 changes: 29 additions & 0 deletions
29
etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_radio.conf
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,29 @@ | ||
# Drop-in configuration for Podman to mount bind /dev/radioX Stereo Radio | ||
# | ||
# In a typical vehicle system, radio is connected to car's onboard computer via a CAN bus | ||
# (Controller Area Network), which transmits signals from the radios to the car’s system for real-time | ||
# processing. | ||
# | ||
# However, it's possible to create a simulation environment using traditional hardware and open-source | ||
# software, eliminating the need for actual car radio or CAN bus integration. By using open-source | ||
# tools like Podman containers and radio processing libraries, virtual | ||
# radios can be simulated. | ||
# | ||
# "/dev/radio0:/dev/radio0", # Stereo Radio | ||
# | ||
# Camera System Layout (Top-Down View) | ||
# | ||
# ┌─────────────────────────────┐ | ||
# │ /dev/radio0 │ | ||
# │ (Stereo Radio) │ | ||
# └────────────┬────────────────┘ | ||
# │ | ||
# ┌─────────────────────┴────────────────────────────────┐ | ||
# │ Vehicle Body (Top View) │ | ||
# │ │ | ||
# └──────────────────────────────────────────────────────┘ | ||
# | ||
[containers] | ||
devices = [ | ||
"/dev/radio0:/dev/radio0" | ||
] |
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,29 @@ | ||
Name: qm-mount-bind-radio | ||
Version: 0.6.8 | ||
Release: 1%{?dist} | ||
Summary: Drop-in configuration for QM containers to mount bind /dev/radio | ||
License: GPL-2.0-only | ||
URL: https://github.com/containers/qm | ||
Source0: %{url}/archive/v%{version}.tar.gz | ||
|
||
BuildArch: noarch | ||
Requires: qm = %{version}-%{release} | ||
|
||
%description | ||
This subpackage installs a drop-in configuration for QM containers to mount bind `/dev/radio`. | ||
|
||
%prep | ||
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_radio.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/ | ||
|
||
%files | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_radio.conf | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
- Added radio mount bind drop-in configuration. | ||
|
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