Sending Images to Ros rotates it 180°

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

Sending Images to Ros rotates it 180°

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

Re: Sending Images to Ros rotates it 180°

Postby 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


Return to “Bug reports”

Who is online

Users browsing this forum: No registered users and 6 guests