Recent Changes - Search:

TEAMS Academy Wiki

THS

Explore TEAMS!
for visiting sophomores & juniors


Robotics


EnvBioTech

Bat Design

Assistive Tech

Students

Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Robots.SideBar

Lab4Comments

Can the function be like the safe thing we went over in class? -Lisa Pinals

The function should be something necessary--look for something you are doing in your program once, then move that code to a function. You might want to write your code without the use of functions initially, then review your code to see what could (and should) be pulled out as a function (Greg and I can look through your code with you and help you decide, if you like). Feel free to use the SAFE function we created in class, but you won't get credit--you need to create one on your own.

Also I don't think this is the right place to ask this question but if it snows tomorrow and schools are canceled how do we know about TEAMS? -Lisa Pinals

See main page for my response

Is it possible to set the dist_mm and the angle back to zero in a program? If so, how? ~Annelise Mesler

   Yes it is possible. Just have it say like:
   cr8->dist_mm = 0;
   cr8->angle = 0;
   -Chandni

Has anyone figured how the push from behind can be programmed? -Chandni

I would prefer that everyone figure out his on their own. My hint is that it mut be related to the motors/wheel rotation in some way. I'f suggest you use RealTerm to monitor the state of ALL the sensors as you push the Create--see which sensor change (when Greg and I did this, we found about 5 or 6 sensors reacted). -Rhine

how do we say while the create is driving? I tried while(cr8_drive_direct(100,100)==1) but it says "main.c:102: error: void value not ignored as it ought to be" on the compiling. - Lisa Pinals

The drive direct function is a void type, which means it does not produce an number output when it is done, so there is nothing to compare to 1. The other functions for driving are also void, so you should look through the sensor data variables (in the cr8 structure), to see how the robot itself can sense it's own movement.

Hey I'm trying to put up the data that Mr. Rhine and I got today up on the wiki but I'm having trouble with the uploads; its just uploading random letters instead of the document (check out the "wimp data" on the uploaded files page). If I can figure it out I'll put up some useful data for the lab today! ~Annelise

Wimp Data Fixed.
Edit - History - Print - Recent Changes - Search
Page last modified on November 22, 2007, at 09:55 AM