ROS packages for working with Cameras on Jetson Nano

Note that the input-flip argument currently only applies to MIPI CSI cameras, because that GStreamer pipeline has access to the nvvidconv element that can do the rotations. If you needed that for V4L2 camera too, you may be able to add a similar nvvidconv element to the V4L2 version of the pipeline. That stuff is all done around here in the code:

In terms of adding it as a ROS parameter, you would add it around here in the video_source node:

You would probably want to add something like this:

std::string flip_str;

ROS_DECLARE_PARAMETER("flip", flip_str);
ROS_GET_PARAMETER("flip", flip_str);

if( flip_str.size() != 0 )
    video_options.flipMethod = videoOptions::FlipMethodFromStr(flipStr.c_str());

video_options.flipMethod =