CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Robot mapping

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ricard0g0mes



Joined: 19 May 2009
Posts: 6

View user's profile Send private message

Robot mapping
PostPosted: Thu Jul 30, 2009 4:25 am     Reply with quote

Hello,

I'm building a robot and now I'm facing a problem for knowing" always where I am (the robot).

I want to be able to know in X, Y coordinates where I am. I want to use 2 gray code encoder's on the 2 wheels.

I think I can also use an optical mouse...

Does anyone have an example code to make the "mapping" with encoder's like this and/or optical mouse?


My pic is a 18f4550 but if you have examples to other pic's, that's fine for me...


thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jul 30, 2009 3:03 pm     Reply with quote

Quote:
Does anyone have an example code

Use the forum's Search page. There is a link for it at the top of the screen.
Search for this:
Quote:
gray OR grey AND code

You will get 21 hits.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group