Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Camera connect to ros - Plugin filename[libgazebo_ros_camera.so] not Work #116

Closed
Ahrovan opened this issue May 26, 2017 · 12 comments
Closed

Comments

@Ahrovan
Copy link

Ahrovan commented May 26, 2017

can not connect gazebo iris camera to ros image topics
ardupilot + gazebo8 run as sitl

@Ahrovan
Copy link
Author

Ahrovan commented May 27, 2017

gazebo is stand alone and can not load libgazebo_ros_camera.so
sasc-gazebo-sitl installed and sitl work good. bud i think sdf file's cannot connect to ros
i want to publish iris gimbal camera to ros image topic or add another camera to iris

@tfoote
Copy link
Contributor

tfoote commented May 29, 2017

This issue does not have enough info for me to reproduce your problem. Please provide enough information for me to reproduce your problem quickly.

@Ahrovan
Copy link
Author

Ahrovan commented May 29, 2017

problem: I want to add a camera to arducopter gazebo model (front and towards down cam) and read video with rqt_image_view (ros), but can not add any camera In about a week working hard on uctf SITL code.

@Ahrovan
Copy link
Author

Ahrovan commented May 29, 2017

like this
follower_window
camera is essential for vision development ...thx if give me a solution

@Ahrovan Ahrovan changed the title Camera connect to ros - Plugin filename[libgazebo_ros_camera.so] not found Camera connect to ros - Plugin filename[libgazebo_ros_camera.so] not Work May 29, 2017
@Ahrovan
Copy link
Author

Ahrovan commented May 30, 2017

no any suggestion for solve this problem?

@Ahrovan
Copy link
Author

Ahrovan commented May 30, 2017

I test http://gazebosim.org/tutorials/?tut=ros_urdf sample with gazebo for camera publishing on ros. see below results
gz v7.7 (work sample camera)
g7 7
gz8 - uctf gazebo (not work camera)
gz8
is possible to work SITL with an older version of gazebo (<8) or problem is something else?

@tfoote
Copy link
Contributor

tfoote commented Jun 1, 2017

In general it should work on most versions of gazebo. You will need to compile the camera plugin from source against the SITL version of gazebo. All the changes will be pushed upstream. You may need to make sure to use a version of the camera plugin that's using the gazebo8 API not the gazebo7 API.

@Ahrovan
Copy link
Author

Ahrovan commented Jun 4, 2017

thx.
Problem solved by using version of the gazebo8 camera plugin.
image

@tfoote
Copy link
Contributor

tfoote commented Jun 5, 2017

Glad to hear it's working now!

@shubham9436
Copy link

hi!!
i am very new to ROS...can you tell the detailed step on how to access camera of IRIS using ArduPilot?

@tfoote
Copy link
Contributor

tfoote commented Jan 29, 2019

Please ask questions on http://answers.ros.org according to our support policy: http://wiki.ros.org/Support We try to keep the issue tracker reserved for bugs and feature developments.

@vivicampo21
Copy link

thx.
Problem solved by using version of the gazebo8 camera plugin.
image

Please help, I am with gazebo 9 and I can not connect the ros camera to IRIS sitl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants