Sending Images to Ros rotates it 180°

Report crashes, strange behaviour, or apparent bugs
Post Reply
lari.casteluci
Posts: 11
Joined: 29 Sep 2016, 20:23

Sending Images to Ros rotates it 180°

Post by lari.casteluci »

Hello, I am using Ros indigo to send commands to vrep and to receive a few images from the vision sensors. Howewer, my images are rotated 180°. Is there a way I can fix this?

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

Re: Sending Images to Ros rotates it 180°

Post by coppelia »

Hello,

you have 2 ways to fix that:
  • either you rotate the vision sensor around its Z-axis by 180 degrees
  • or you apply following 2 filters for the vision sensor: flip vertically and flip horizontally
Cheers

Post Reply