Conversation
She'll need to be tested on Jetson hardware
Merge common image into ROV
I won't yeet the raygui submodules because I did that in the bbnosubmodules branch
|
looks like some gstreamer development libraries are not installed in the CI's image. Need to bump the CI's tagged image to apt install those |
|
Also worth testing if we can remove elements from the pipeline. nvvidconv might be able to be removed. IDK if nvv4l2h264enc can read from NVMM or not. If it can, we can significantly reduce CPU usage spent just copying VRAM to RAM to encode as x264 to then push through a socket. |
|
Relating to your questions from discord:
|
|
Code itself looks pretty decent, except for three changes I would propose:
|
|
|
The CI build should be working, huzzah. |
|
Oh cool it just just didn't work |
Right now (on my machine) I get a "Service Unavailable (503)" when I try to open the hosted stream.
|
kernel device tree modified to work with spi, camera set as device tree overlay with spi being merged into base fdt |
|
I apparently forgot to push my parameterization. The test stream opens on my machine but I can't connect to it - I get a 403 Service Unavailable. This is dumb but I've reason to suspect it's my machine, since the same test stream appears to work on Zac's machine and the Jetson. @yameatmeyourdead could you confirm that this code works on your machine? |
|
@yameatmeyourdead MERGE IT |
|
Technically missing the gstreamer-went-kaput concern we mentioned earlier but who needs safety measures? |
Rips out rov_cameras and replaces it with new cameras node NAME TBD (old files to be deleted)
Utilizes GST RTSP Server for dynamic streaming requests
Supports multiple sinks for each source stream
Basically 0 latency
Currently only supports the two MIPI ports
ROS API TBD, we still need to have a feature brainstorming for this node I guess, but a basic node has been created.
This will support literally any future camera, just create a new PIPELINE const char def in cameras.cpp, add a mapped port, and create the camera object in the node's constructor.
Love to finally make progress on something thats been nagging me for >1 year
Winning.
camera4_0_reduced.mp4