How to change flip-method with package jetbot_ros ?

Hi , I’m testing package jetbot_ros now , I use this package : " GitHub - dusty-nv/jetbot_ros: ROS nodes and Gazebo model for NVIDIA JetBot with Jetson Nano " .

I run everything is ok , but my csi-camera setup for another angle , how do I change the angle of video?

When I run this node " jetbot_camera " , I find theese messanges

[ INFO] [1577692991.432536389]: opening camera device 0
[gstreamer] initialized gstreamer, version
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVARGUS, camera 0
[gstreamer] gstCamera pipeline string:
nvarguscamerasrc sensor-id=0 ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera successfully initialized with GST_SOURCE_NVARGUS, camera 0
[gstreamer] opening gstCamera for streaming, transitioning pipeline to GST_STATE_PLAYING

I know I need to change the parameter “flip-method” , but I can’t find where it’s.

Can anyone help ~ ? Thanks a lot .

Hi, you can find it by searching for flip-method in gstCamera.cpp (found under jetson-inference/utils/camera). Remember to recompile and reinstall by running ‘make’ followed by ‘sudo make install’

Thanks. It’s ok now!