Issue in Vision Sensor Data transfer to ROS

Typically: "How do I... ", "How can I... " questions
Post Reply
Arisha
Posts: 10
Joined: 02 Jan 2017, 16:06

Issue in Vision Sensor Data transfer to ROS

Post by Arisha »

Hi, I have a vision sensor attached with the quadricopter, so when the quadricopter moves the vision sensor moves as well and I'm sending the images that vision sensor is capturing to ROS. The vision sensor works fine when I view its data through the floating view in V-REP. But, in ROS I only receive one static image no matter how much the quadricopter moves the image is static of the point where the vision sensor is at when the simulation starts.
I'm stuck on this problem from some days now, I'm new to V-REP and ROS so kindly help

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: Issue in Vision Sensor Data transfer to ROS

Post by coppelia »

Hello,

have you had a look at the demo scene rosInterfaceTopicPublisherAndSubscriber.ttt? Did you try to display the streamed image in ROS? Does it work?

Cheers

Arisha
Posts: 10
Joined: 02 Jan 2017, 16:06

Re: Issue in Vision Sensor Data transfer to ROS

Post by Arisha »

I did try rosInterfaceTopicPublisherAndSubscriber.ttt after you asked and it works fine but mine still doesn't, I don't seem to understand

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: Issue in Vision Sensor Data transfer to ROS

Post by coppelia »

Then try to modify the working scene step-by-step, until it does not work anymore, then you will find out what you did wrong.

Cheers

Post Reply