A collection of code examples for use by customer
| Example | Description |
|---|---|
| cpp/gst-tank-overlay | A Gstreamer (RTP H.264) reticle overlay for a sight |
| cpp/gxa-1_as_gpioctl | A gpiod example fo r the GXA-1 |
| cpp/gxa-1_capture_c | A V4L2 example in C for the GXA-1 (PAL/NTSC), no display |
| cpp/gxa-1_capture_cpp | A V4L2 example in C++ for the GXA-1 (PAL/NTSC), SDL2 display |
| cpp/joystick_cpp | A joystick examples tested with XBox 360 gamepad |
| cpp/sdl_simple_render | A simple direct render example using SDL2 |
| cpp/mediax_rtp-sap-transmit | MediaX example RTP video stream |
| cpp/zenoh/cpp/zenoh_example_publisher | C++ zenoh/protobuf example |
| cpp/zenoh/cpp/zenoh_example_subscriber | C++ zenoh/protobuf example |
| python/python_shm | Python send video over shared memory example |
| python/zenoh/python/zenoh_example_publisher | Python zenoh/protobuf example |
| python/zenoh/python/zenoh_example_subscriber | Python zenoh/protobuf example |
| rust/cot | A TAK CursorOnTarget example |
| rust/joystick_rs | A joystick examples tested with XBox 360 gamepad |
| rust/zenoh/rust/zenoh_example_publisher | Rust zenoh/protobuf example |
| rust/zenoh/rust/zenoh_example_simple | Rust zenoh/protobuf example |
| rust/zenoh/rust/zenoh_example_subscriber | Rust zenoh/protobuf example |
| Script | Description |
|---|---|
| bash/debootstrap_debian.sh | Debian ARM64 debootstrap filesystem builder |
| bash/debootstrap_ubuntu.sh | Ubuntu ARM64 debootstrap filesystem builder |
| gst_record.sh | GStreamer script to record video with text overlay |
| gst_record_stream.sh | GStreamer script to record and stream H.264 RTP |
| init_build_machine.sh | Install dependencies for building examples |
The doxygen documentation can be found on the public facing Github pages here.
To build a specific example, select a test from the table above and run. Run ./scripts/init_build_machine.sh to satisfy the dependencies.
mkdir build && cd build
cmake ..
make <test_name>i.e.
make rtp-sap-transmitNOTE: You will need to install relevant libraries to compile i.e. obtain MediaX libraries from Astute Systems.
- Astute Systems https://astutesys.com/software
- MediaX https://astute-systems.github.io/MediaX
- GXA-1 https://astutesys.com/gxa-1