loading
 
Cropping and COG -  Line following
Anonymous
16 year
Hi there STeven,

Me again :)

I just wanted to point out that in the attached .robo file, my SRV_1b's camera isn't really pointing straight down, so I decided to crop the top part of the image off.

Now, following the line following tutorial you gave ages ago, I tried to add the COG pipeline onto the end after cropping and it goes all weird as you may see if you give it a try.

On 'watch variables I get COG X to be:

86 ( for the COG being on the left) 144 ( "  "  middle) 188 (  "   "   right)

So, this makes a bit of sense despite '86' should really correspond to '0' I guess.

I think the problem lies with cropping and therefore seems to be some stretching of the COG line.

Hopefully you can see what is going wrong

Best regards

Ian R


program.robo
Anonymous 16 year
Ian,

v1.8.7.5 (just uploaded) has that issue fixed. It was a strange interaction between the crop and Surveyor module .. but the bug was in the Surveyor module.

STeven.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index