Scratchpad repo for exchanging code and ideas during Jetson Orin Nano testing for Seattle Aquarium BlueROV project.
For now, see the wiki
Streams one camera using gstreamer. By default the gstreamer pipeline in the script publishes an RTSP stream -- it assumes an instance of mediamtx has been started on the Nano:
docker run --rm -it --network=host bluenviron/mediamtx:latest
The video can then be viewed using an RTSP client (ffplay
, VLC
etc)
See the comment in this script for saving the output to a file.
Streams both cameras, compositing the two images side-by-side. Publishes to a local RTSP server (see above).
Configures camera trigger mode with v4l2-ctl
. For example, to set camera 0 to EXTERNAL
mode:
./imx296_set_trigger.py -c 0 external
To set both cameras to "normal" triggering:
./imx296_set_trigger.py -c 0 -c 1 streaming
Triggers both camera external trigger GPIOs at a fixed rate. Only has an effect on cameras set the EXTERNAL
mode.
Streams one camera using v4l2-ctl
. Note this doesn't produce any visible output, but does produce ">" hashes on each frame. A good simple method for checking if the camera is running at all.
On the Orin NX devboard:
Jetson Signal | Jetson Pin | GPIO Pin | VC Pin |
---|---|---|---|
CAM0_PWDN | 114 | GPIO3_PH.06 | gpiochip0.49 |
CAM0_MCLK | 116 | ||
CAM1_PWDN | 120 | GPIO3_PAC.00 | gpiochip0.138 |
CAM1_MCLK | 122 |