Recent Changes - Search:

TEAMS Academy Wiki

Explore TEAMS!
for visiting sophomores & juniors

Robotics

EnvBioTech

Bat Design

Assistive Tech


Students


Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Student.SideBar

DavidsLab4

SUMMARY


Problem: Replicate Wimp mode (do the following things):

a. Sit(don't move) while not shoved.
b. if it is shoved look for bump sensors and rotate accordingly.
c. Drive forward approximately 500 millimetres.

Results:

My code worked fairly well. The problem i had was that i accidentally put an extra zero on the
drive foward section of the code. The robot drove 5 feet instead of 2.

Lessons Learned:

1. The create takes a while to stop. It is always wise to have a delay after the stop command.
2. If it's possible, keep a simple flow to the code. Combine sections of the code that are the same.
For example, instead of having each rotate have it's own drive forward, combine all of them.
3. Don't update the cr8 packet after setting distance to 0. WILL CAUSE HEADACHES :(

David's_wimp_code Δ

Edit - History - Print - Recent Changes - Search
Page last modified on December 23, 2007, at 12:32 AM