Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no data in the topic,no image #15

Open
hxj0316 opened this issue Oct 5, 2021 · 3 comments
Open

no data in the topic,no image #15

hxj0316 opened this issue Oct 5, 2021 · 3 comments

Comments

@hxj0316
Copy link

hxj0316 commented Oct 5, 2021

After successfully launching the launch file, you can see the corresponding topic, but there is no data in the topic, and there is no image when using rqt to view the image.

@jung-youjin
Copy link

@hxj0316 Hi did you solve this issue?

@MaxwellHogan
Copy link

I have the same issue

@MaxwellHogan
Copy link

MaxwellHogan commented Feb 7, 2024

now i've fixed by replacing the definition of GSCAM_CONFIG in jetson_csi_cam.launch with the following lines

<env name="GSCAM_CONFIG" value="nvarguscamerasrc sensor-id=$(arg sensor_id) ! video/x-raw(memory:NVMM), width=(int)$(arg width), height=(int)$(arg height), format=(string)NV12, framerate=(fraction)$(arg fps)/1 ! nvvidconv flip-method=2 ! video/x-raw ! videoconvert" />

the key thing was format=(string)NV12, I'm not a pro on gstreamer so I'm not sure why that is important

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

No branches or pull requests

3 participants