Skip to content

Conversation

@jujuz455
Copy link
Contributor

Added a configurable framerate parameter to the SrtNode

@jujuz455 jujuz455 force-pushed the feat/add-framerate-config branch from ecb299b to 6679562 Compare December 20, 2025 17:32
@jujuz455 jujuz455 marked this pull request as ready for review December 20, 2025 23:29
@jujuz455 jujuz455 requested a review from ConnorNeed December 20, 2025 23:30
@ConnorNeed
Copy link
Member

I haven't forgotten about this one but I can't test it until I am back in Ottawa.

@jujuz455
Copy link
Contributor Author

I haven't forgotten about this one but I can't test it until I am back in Ottawa.

haha it's ok i'm not back either, but if I want to test it myself, can I connect my laptop to the rover, or does it have to be Windows?

@ConnorNeed
Copy link
Member

ConnorNeed commented Dec 30, 2025

can I connect my laptop to the rover, or does it have to be Windows

You can absolutely connect to it via your laptop but there are a few steps to do it. You need to connect to the rover via a ethernet cable (the rover has a port on the side). Set your IP address manually to something on the 192.168.0.X subnet. Then you can use SSH via VS code get onto the rover. Make sure to launch a dev container via the jetson config within VS Code on the rover.

It is not super hard but a little complicated the first time. Maybe the first week back I will do a demo for the full Software team.

@jujuz455 jujuz455 force-pushed the feat/add-framerate-config branch from 6679562 to 81025dc Compare January 2, 2026 01:43
@jujuz455 jujuz455 force-pushed the feat/add-framerate-config branch from 81025dc to 016893b Compare January 2, 2026 02:24
Copy link
Member

@ConnorNeed ConnorNeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Runchen! We will test this tomorrow. Good luck in the shop as well

}

SrtNode::~SrtNode() {
auto cleanup_element = [](GstElement *&elem) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this use of a lambda. However this fuction might be usefull in many places. Maybe it could be a static protected member function in the base class?


bool test_mode = this->get_parameter("test_mode").as_bool();

int default_fps = this->get_parameter("target_framerate").as_int();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really a default value. Can we just rename to 'framerate' or 'framerate_fps'?

GstCaps *caps = gst_caps_new_simple("video/x-raw", "framerate",
GST_TYPE_FRACTION, new_fps, 1, NULL);

g_object_set(framerate_caps_, "caps", caps, NULL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might have to set the pipeline to paused before changing this but we can test that tommorrow.

jujuz455 and others added 3 commits January 7, 2026 06:42
* feat: implement backoff mechanism for I-frame requests and enhance SrtStats message

* refactor: standardize variable naming in BackoffState struct

* feat: introduce configurable backoff parameters and enhance stability checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants