View Single Post
  #8   Spotlight this post!  
Unread 27-03-2007, 21:58
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Joystick filtering gone horribly wrong...help!

Quote:
Originally Posted by lukevanoort View Post
http://www.chiefdelphi.com/forums/showpost.php?p=547561&postcount=9 And, as an example of the 255 value tables I talked about, here is the 255 value table currently on our robot.
Code:
rom const unsigned char expotable[255] =
{
0, 3, 5, 8, 10, 13, 15, 17, 20, 22, 24, 26, 28, 30, 32, 34, 
36, 38, 40, 42, 44, 45, 47, 49, 50, 52, 53, 55, 56, 58, 59, 
61, 62, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 76, 77, 78, 
79, 80, 81, 82, 83, 83, 84, 85, 86, 87, 88, 89, 89, 90, 91, 
92, 92, 93, 94, 95, 95, 96, 97, 97, 98, 98, 99, 100, 100, 
101, 101, 102, 102, 103, 103, 104, 104, 105, 105, 106, 106, 
107, 107, 107, 108, 108, 109, 109, 109, 110, 110, 110, 111, 
111, 111, 112, 112, 112, 113, 113, 113, 114, 114, 114, 114, 
115, 115, 115, 115, 116, 116, 116, 116, 117, 117, 117, 127, 
127, 127, 127, 127, 127, 127, 127, 127, 127, 127, 137, 137, 
137, 138, 138, 138, 138, 139, 139, 139, 139, 140, 140, 140, 
140, 141, 141, 141, 142, 142, 142, 143, 143, 143, 144, 144, 
144, 145, 145, 145, 146, 146, 147, 147, 147, 148, 148, 149, 
149, 150, 150, 151, 151, 152, 152, 153, 153, 154, 154, 155, 
156, 156, 157, 157, 158, 159, 159, 160, 161, 162, 162, 163, 
164, 165, 165, 166, 167, 168, 169, 170, 171, 171, 172, 173, 
174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 187, 
188, 189, 190, 192, 193, 195, 196, 198, 199, 201, 202, 204, 
205, 207, 209, 210, 212, 214, 216, 218, 220, 222, 224, 226, 
228, 230, 232, 234, 237, 239, 241, 244, 246, 249, 251, 254
};
Our code looks very similar. We actually have 3 tables available to be loaded into ROM, depending on what kind of dampening we need (2nd order, 3rd order, 4th order)

Cool stuff.
Jacob