It works fine on a black line, but when I add either of the commands to change the Line color, it still thinks the line is black. I've tried both commands, but they don't work. I'm using RobotC 3.04 with the latest driver suite.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Okay, I did that, but it's still sensing the black as the line instead of the white!!! Is there some limitation of it that I'm not aware of?

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

I have already calibrated it. It's not inverting the line color. It still thinks it's black line on white, yet it seems to automatically detect it when it follows the line.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

LLinvertLineColor and LLtakeSnapShot aren't changing anything. Is there a extra parameter that I missed?

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

I am really not sure what the problem is. You put it on a white background with a black line and sees the line, you put it on a black background with a white line and it sees the line. What's the issue?

The thing is every sensor except those that are on the line are returning a value. Even after I add LLinvertLineColor, it still thinks black is the line. I only want the sensors that are on the white line to return a value. If that isn't possible, then I need to rethink some stuff.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

The sensors merely return what they see. The average is calculated regardless of whether the robot is on a black line or a white line, it's how it works. I am not entirely sure this is really an issue, it's just how the sensor works.

Oh, okay. Thanks anyway. I was just trying to have it return the average of the sensors that are over the white.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum