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

RVIZ2 Visualisation #21

Open
schreiterjp opened this issue Jul 25, 2023 · 2 comments
Open

RVIZ2 Visualisation #21

schreiterjp opened this issue Jul 25, 2023 · 2 comments

Comments

@schreiterjp
Copy link

Hi,

im trying to use the package to get the camera stream displayed in Rviz.

Neither working for camera or image added in rviz. Also tried the suggested fixes from other issue.

using ipcamera/image_raw:
Camera Info
No Cameralnfo received on /ipcamera/
camera_info. Topic may not exist.

using ipcamera/image_raw/compressed:
Camera Info
No Cameralnfo received on /ipcamera/image_raw/
camera_info. Topic may not exist.

Echo topic /ipcamera/camera_info shows:
header :
stamp:
sec: [1690295346]
nanosec: 322122365
frame id: camera
height: 480
width: 640
distortion_model: plumb_bob
d: [0.0, 0.0,0.0, 0.0, 0.0]
k: [641.5, 0.0,320.0,0.0.641.5,240.0, 0.0, 0.0, 1.0]
г: [11.0, 0.0, 0.0,0.0,1.0,0.0, 0.0, 0.0,1.0]
P: [641.5,0.0,320.0,0.0,0.0,0.0,641.5,240.0,0.0,0.0, 0.0, 1.0,0.0]
binning_x: 0
binning_y: 0
roi:
x _offset: 0
y_offset: 0
height: 0 width: o
do_rectify: false

Echo on ipcamera/image_raw shows the normal output with image.

Maybe someone has a clue how to solve this problem.

Thanks

ubuntu 18.04
Ros2 eloquent
Jetson Nano 4GB
Hikvision IP camera

@surfertas
Copy link
Owner

How did you resolve?

@surfertas surfertas reopened this Sep 7, 2023
@schreiterjp
Copy link
Author

schreiterjp commented Sep 7, 2023

Hi @surfertas ! After implementing the changes suggested it was a mapping frame error. A static transform publisher solved the problem for me.

Also changed setup to
Ubuntu 20.04
Ros 2 Humble

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

2 participants