Go to Post I'm looking foward to the challenge! - Adrienne E. [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-05-2004, 20:54
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: White Paper Discuss: Code and Walkthrough for Global Positioning System using IR Sensors

Just a couple of questions and comments:

1. Satellite GPS does not use the angle the signal is traveling at, it uses the distance from the satellite to the device

2. I believe that you do not need to use your "firstrun" variable and loop to initialize the static variables, i believe you can just define statics when you declare them

Code:
static int myVar = 5;
and the definition will only happen the first time the function is called, so the variable won't be changed by the definition/declaration statement in successive function calls.

3. Have you run this code on a FRC? It seems like it, along with the neccesary parts of the default code, could start to cause "default_routine" to start missing cycles as some people have mentioned has happened, if this code is running in every cycle in "default_rountine".

I like the use of a 4th sensor for error correction, pretty cool. If you have used this system, how did it work, if not, post about it when you do.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award

Last edited by Max Lobovsky : 20-05-2004 at 21:33.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-05-2004, 21:22
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: White Paper Discuss: Code and Walkthrough for Global Positioning System using IR Sensors

Very cool. My only concern is speed with floats. As maxlobovsky said, it can cause it to miss cycles. My thought is to do this either in parts (state machine), or do getdata and putdata in the middle of it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi