gscam2
ROS2 camera driver for GStreamer-based video streams, supports intra-process communication
File Explorer
Download Latest Version (.zip)- build_test.yml
- dependabot.yml
- my_camera.ini
- params.yaml
- workaround_params.yaml
- gscam_node.hpp
- subscriber_node.hpp
- composition_launch.py
- container_param_launch.py
- node_param_launch.py
- republish_launch.py
- gscam_main.cpp
- gscam_node.cpp
- ipc_test_main.cpp
- subscriber_node.cpp
- smoke_test.cpp
- utils.hpp
- .gitignore
- CMakeLists.txt
- Dockerfile
- package.xml
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/clydemcqueen/gscam2
Downloads the entire project code from GitHub to your computer.
cd gscam2
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t gscam2 .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 gscam2
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. CMake
MediumPrerequisites
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
// repository documentation
Was this content helpful?
(0 ratings)
