| Revision:

root / branches / encoders @ 1237

# Date Author Comment
1237 05/01/2009 05:02 PM Andrew Yeager

Server code updated to handle velocity, untested

1224 04/27/2009 01:29 AM Rich Hong

Parallelized Master and Server

1223 04/27/2009 01:27 AM Rich Hong

Fast Slave, Working

1222 04/26/2009 11:52 PM Rich Hong

server and master code sort of working

1221 04/26/2009 11:51 PM Rich Hong

spline slave

1217 04/26/2009 06:10 PM Rich Hong

spline slave

1216 04/26/2009 06:08 PM Rich Hong

spline server and master

1197 04/24/2009 06:34 PM Andrew Yeager

Added server and master code to spline behavior

1191 04/23/2009 07:31 PM Rich Hong

move spline slave to sub-directory and update encoder_get_v function

1190 04/23/2009 06:54 PM Rich Hong

create spline behavior for controls project

880 10/21/2008 05:55 PM Brian Coltin

Created simulator branch. Sorry for adding new branches, but I am planning on rearranging the library.

856 09/22/2008 10:31 PM Justin Scheiner

Figured out the modules page thing.. Sorry about two big commits..
Its just a whole bunch of generated html.

855 09/22/2008 10:21 PM Justin Scheiner

Recompiled documentation for encoders -
BRIAN!! How do you add encoders to the modules page?

854 09/22/2008 10:20 PM Justin Scheiner

Did a lot of cleaning up and commenting. Made the error codes returned
by encoder_read more explicit - so if you get weird values check the documentation.

A lot of stubs and incomplete code, I made these things explicit in the source and documentation.

846 09/15/2008 09:57 PM Justin Scheiner

Early attempt at odometry. Used doubles for the angles... this will change. WON'T COMPILE compilation issues.

845 09/15/2008 09:54 PM Justin Scheiner

Simple encoder test that prints values. (Wheel turning should be done by hand.) Absolutely works.

844 09/15/2008 09:13 PM Justin Scheiner

Added some debug statements which SHOULD BE REMOVED UPON MOVING TO TRUNK

809 09/01/2008 09:41 PM Justin Scheiner

Recompiled the library.

808 09/01/2008 09:38 PM Justin Scheiner

Fixed a quick bug.

807 09/01/2008 09:20 PM Justin Scheiner

Some more lines in the print function

806 09/01/2008 09:17 PM Justin Scheiner

Fixed an error with error detection, added a print array function.

805 09/01/2008 09:02 PM Kevin Woo

Apparently there are no internal variables

804 09/01/2008 09:01 PM Kevin Woo

Testing again...

803 09/01/2008 08:52 PM Kevin Woo

Oohhh it almost works now. Trying to get it into the correct folders when the documents are generated.

801 09/01/2008 08:28 PM Kevin Woo

More testing...getting closer

799 09/01/2008 08:21 PM Justin Scheiner

Changed the code to KWoo's preference. Removed angry comment.

798 09/01/2008 08:16 PM Justin Scheiner

Minor style change - elseif's changed to a case :P

796 09/01/2008 08:00 PM Kevin Woo

Hopefully makes the file this time...write permisions???

795 09/01/2008 07:58 PM Kevin Woo

Testing again...

794 09/01/2008 07:56 PM Kevin Woo

Testing again...

792 09/01/2008 07:52 PM Kevin Woo

Testing documentation generation

773 05/05/2008 10:13 PM Kevin Woo

Commented some of the encoder functions.

772 05/04/2008 08:42 PM Brad Neuman

having issues, thinking of giving up on velocity thing

771 05/04/2008 08:08 PM Brad Neuman

control law for speed starting to work.
WARNING: can't use delay_ms with encoders_init

754 04/30/2008 02:08 AM Brad Neuman

added a comment

753 04/30/2008 02:00 AM Brad Neuman

it basically works! It calibrates the motors then drives in a mostly straight line

752 04/30/2008 01:23 AM Brad Neuman

fixed lost of bugs in the libraries for spi and encoder

751 04/30/2008 01:04 AM Brad Neuman

encoders.c works! there is a ton of debug output but I want to get the commit in before I am to tired and do something dumb.

749 04/28/2008 10:00 PM Brad Neuman

added another function pointer to encoders which gets called after all bytes are recv'd.
working on a behavior to drive in a straight line, but encoders are giving invalid on robot 5

731 04/23/2008 10:56 AM Ben Poole

code commented and cleaned up. should work but untested.

727 04/22/2008 06:36 PM Ben Poole

encoders work

694 04/09/2008 07:34 PM Ben Poole

reads first byte of left encoder correctly, still can't get second byte

677 04/04/2008 10:54 PM James Kong

encoder: added data array buffer and accumulators

676 04/04/2008 09:07 PM Justin Scheiner

Fixed a bug in encoders.

675 04/04/2008 08:46 PM Justin Scheiner


674 04/04/2008 07:43 PM Justin Scheiner

Wrote encoders.c and encoders.h Would GREATLY appreciate it if someone could check if I got the receive function correct. There was a lot of bit twiddling. Useful
functions still need to be written, however receiving raw encoder readings should work (not tested... so don't bet on it)

619 03/20/2008 06:52 PM Ben Poole

encoders might work now

597 02/25/2008 07:01 PM Kevin Woo

Added the magnetic encoder datasheet.

573 02/18/2008 01:30 PM Ben Poole

potentially functional SPI driver, will test tonight

572 02/18/2008 01:19 PM Ben Poole

more broken code

565 02/13/2008 06:52 PM Kevin Woo

More testing. Transmission is messed up.

564 02/13/2008 02:58 PM Kevin Woo

Read the datasheet again and I think we had things out of order.
Reversed the order but didn't test yet.

546 02/11/2008 09:53 PM Kevin Woo

Modified spi.c/h. Sends 1 packet before failing. Funny light blinking
thing happens when sending, no idea where that came from. It looks like
the orbs are used as transmit lights but there's no code for that as far
as I know.

495 02/06/2008 08:21 PM Kevin Woo

Modified the spi module a bit. Didn't test it but this might be better.
Need to talk to Ben about it.

Started the encoders file. Nothing in there because I don't have a
stable SPI interface to work with yet.

490 02/06/2008 07:21 PM Ben Poole

slave -> master kind of works

446 02/04/2008 09:02 PM Ben Poole

SPI test code update

367 01/23/2008 09:18 PM Kevin Woo

SPI Master->Slave works. Slave->Master not working yet. /template/main.c has the test bench. Yay!

350 01/21/2008 09:23 PM Kevin Woo

Changed formatting so that it isn't as messy. Probably won't compile.
Still probably doesn't work.

317 12/05/2007 07:46 PM Ben Poole
316 12/05/2007 07:46 PM Ben Poole

SPI update, still not functional

280 11/15/2007 08:20 PM Austin Buchan

fixed text widths

279 11/15/2007 02:25 AM Austin Buchan

fixed up the board layout for fabrication

263 11/12/2007 09:33 PM Kevin Woo
  • Fixed encoder boards. May be ready to go now, depending on peer
    *Branched to redo analog functions to work correctly.
257 11/12/2007 08:46 PM Andrew Yeager

updated timer rtc_add_function and implemented a rtc_remove_function

255 11/12/2007 08:11 PM Kevin Woo

Finished encoder board. Waiting for team verification.

252 11/12/2007 02:16 AM Kevin Woo
  • Fixed measurement issue with new encoder boards. Chip is now in the
    same location as the original encoder (give or take a couple hundreths
    of a mil because it won't allign perfectly).
  • Added basic SPI module framework. Needs to be worked on seriously
193 10/31/2007 06:20 PM Andrew Yeager

added get and reset functions back in to work with existing code, added get from a particular function, and reset all

187 10/31/2007 12:31 PM Kevin Woo

Edited layout for encoders. Replaced jumper with solder jumper.

186 10/31/2007 03:30 AM Kevin Woo

Updated Pins on schematic, doing layout.

185 10/31/2007 02:11 AM Kevin Woo

Added the original Botrics magnetic encoder boards. Need to edit to get
the correct pin out still.

184 10/29/2007 08:33 PM Andrew Yeager

updated time.c and time.h to take multiple functions, somewhat backwards compatible

99 10/01/2007 09:36 PM Andrew Yeager

Branching for encoder work in the library.

94 09/28/2007 04:04 PM James Kong

Added smart_run_around_fsm to behaviors in trunk

91 09/28/2007 03:45 PM James Kong

added charging_station and dragonfly folders to autonomous_recharging

90 09/26/2007 09:09 PM Justin Scheiner

Commit missed the new files. Damn svn add.

89 09/26/2007 09:09 PM Justin Scheiner

Did a lot of work on slam, the robot/computer should be able to read back all of the information from IR and the BOM's right now. No testing yet. Waiting for freshman... Mwa ha ha. Next step is the hard part, working on the actual mapping algorithm. Hopefully some freshman will know OpenGL or something.

88 09/26/2007 08:41 PM Brian Coltin

Forgot to add include and source files in lib directory on previous commit.

87 09/26/2007 08:40 PM Brian Coltin

Updated build and documentation for libdragonfly, including reset.h, math.h and i2c.h.

86 09/26/2007 08:38 PM Brian Coltin

Updated wireless library, fixing bug and now works for a firefly if FIREFLY is defined.

83 09/26/2007 07:54 PM Kevin Woo

Wee we committed i2c with many problems. But it should be ok.

82 09/26/2007 07:46 PM Chris Mar

merged lib_additions

80 09/26/2007 07:36 PM Brad Neuman

I think I sort of merged in the auto echarge daughter board code

76 09/26/2007 07:02 PM Greg Tress

the gui can now request the sensor matrix from the server and parse the matrix.

75 09/26/2007 06:22 PM Jason knichel

made it send a random sensor matrix when client requests bom matrix

74 09/25/2007 03:59 PM Greg Tress

added supplementary java files

73 09/25/2007 03:35 PM Greg Tress

minor changes to colonet gui

72 09/25/2007 12:24 PM Greg Tress

Minor changes to colonet gui

71 09/24/2007 09:51 PM Justin Scheiner

Worked on computer_main and robot_main,
Somewhat completed robot_main. Will need to clean up packet creation.
computer_main is nowhere near complete. Working on pulling in data from the robots.

69 09/24/2007 08:55 PM Brad Neuman

"merged" frm the branch

68 09/24/2007 08:50 PM Jason knichel

updated some stuff

67 09/24/2007 08:43 PM Greg Tress

updated gui code for cleanliness

63 09/24/2007 08:25 PM Eugene Marinelli

dos2unix on Makefile.

61 09/24/2007 05:35 PM Jason knichel

updated the makefile a little

60 09/24/2007 05:13 PM Brian Coltin

Updated wireless library to add different channels.

59 09/24/2007 05:02 PM Jason knichel

got rid of a few more TODO's

58 09/24/2007 04:33 PM Jason knichel

got rid of some TODO's

57 09/24/2007 04:16 PM Jason knichel

renamed Logging.cpp to Log.cpp to match the name of the class

56 09/24/2007 04:11 PM Jason knichel

fixed a typo

55 09/24/2007 04:07 PM Jason knichel

added comments and fixed style a little bit

53 09/21/2007 04:52 PM Justin Scheiner

Added robot packet response.