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

Homework9Comments

Where are questions A to Z? -Lisa Pinals

In the main.c file that you downloaded for the assignment, there are commented lines which contain questions A through R.

Is Tuesday an A day or a B day. It doesn't say on the main wiki page.

See update. Sorry for the delay. Default to schedule from beginning of year if we don't post anything. - Rhine

What does "leave a light on in the window" mean in letter R? And I can't find questions S-Z in the file. -Annelise Mesler

At the top of the main.c file, it only says to answer A-R, so I'm assuming there is no S-Z. - Manan
Why do I leave a light on the the Create at the end of the program?? It serves an important purpose! - Rhine

I also can't get anything to display in RealTerm, even though I went through and changed the settings. -Annelise Mesler
I'm having both the problems that Annelise is having. -Scott Yim
How do we get real term to dispay anything?...i can't get it to work. -Brittany Forkus

First, to make sure the settings have been changed successfully, look at the bottom right corner of Realterm. There should be text like this: "Port: # 28800 8N1 None", where # should be the number of the com port which your Command Module is plugged into. Since we are using Realterm with the Command Module and the USB cable now, you don't need to connect the serial cable to the Create. If the program does not seem to be running at all, remember that you have to press both the black and the reset button to make the program run with the USB plugged into the Command Module. Make sure to keep the black button held down as you press and release the reset button. If it still doesn't work, leave some more details on the steps you have taken to set this up, and hopefully we can find a more specific solution. -Greg
Here is a copy of the dashboard output as seen from RealTerm for one complete run of the program: dashboard sample data text .txt file (pdf file). - Rhine

I am VERY lost on this homework assignment. I can't find where you tell us what a dashboard is. And the order of operations is pretty confusing too. I couldn't find s-z either. And is this due tomorrow like on the assignments page or Thursday like it says on the homework9 page? And is tomorrow an A day? - lisa pinals

Look in the comments for descriptions of what things do. For example, the "dashboard" function is defined after the end of "main", so scroll down to the bottom to see what dashboard does. All dashboard is is a little function that sends the Create's latest distance, angle, and time measurements to RealTerm so you can see how they work. I picked the name "dashboeard" because the data provided is similar to the data provided on the dashboard of your car. Here is a copy of the dashboard output for one complete run of the program: dashboard sample data text .txt file (pdf file) - Rhine

Uh, can someone post the question for number 1 on the quiz that we have to write a program for? -Lisa Baumoel

1. (20 pts) What command(s) would you SEND using RealTerm to accomplish the task described below? Assume that you have just turned on the Create and SENT 128 and 131. Please make notes to BRIEFLY describe what each “piece” of your OI code means!
Task: You drive forward 50 cm and stop. After someone or something presses one of your bump sensors, you turn around and return to your “exact” starting position and orientation.
- Rhine

Mr. Rhine I think computers don't like me. Even just trying to post this comment, my computer managed to crash itself the first time I tried to post. But my computer only has one usb drive. So I can't have my flash drive in at the same time as downloading a program onto a robot. Therefore I was trying to get the prewimp program copied off of my flash drive and onto my hard drive. But something went very very wrong. I ran this program fine in class and got results on Realterm. Now though, when I do make all, it's coming up with hundreds of errors, mostly with "from create.h:37," - lisapinals

Try downlodaing latest updates for the template files and the sample main.c file (follow links on HW9 page) (they were working perfecly this morning!) Bring in your laptop tomorrow so we can troubleshoot any other problems. - Rhine

For everyone having the same trouble I was getting RealTerm to display values - my problem was that the port needs to be CLOSED when you are programming the robot, but then once the robot is programmed, you need to OPEN the port before running the program otherwise you won't get any data back. Do this by clicking the OPEN button on the port tab in RealTerm. Hopefully this will help someone out! ~Annelise Mesler

Also see the new set of comments in the sample program main.c file (lines 220 to 241)--I went into more detail to help you set up RealTerm - Rhine
Edit - History - Print - Recent Changes - Search
Page last modified on November 15, 2007, at 01:58 AM