Sending Images to Ros rotates it 180°

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

Sending Images to Ros rotates it 180°

Post by lari.casteluci » 19 Dec 2016, 19:06

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: 6224
Joined: 14 Dec 2012, 00:25

Re: Sending Images to Ros rotates it 180°

Post by coppelia » 20 Dec 2016, 23:40

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