Go to Post That goal is going to commit suicide by the end of the regional........so many balls @_@... - DanDon [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What do you use to program the robot?
MPLAB + Windows 28 66.67%
Makefile + Windows 5 11.90%
Linux + WINE 5 11.90%
Linux + MPLAB 1 2.38%
Other 3 7.14%
Voters: 42. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 12-03-2004, 20:58
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: Development enviroments orther than MPLAB

I voted for MPLAB, but I just did MSC++ .NET, and I'm really happy. Now that's an IDE.
  #17   Spotlight this post!  
Unread 12-03-2004, 21:29
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Development enviroments orther than MPLAB

Quote:
Originally Posted by Venkatesh
Vim? Fwah.

I used vi (not vim) and make. Not GNU make either. Microsoft NMAKE.

If I had access to a Mac, I would use Subethaedit, but I don't. If somebody were to port Subethaedit to Windows, I would regard them in the ranks of Cerf.
Microsoft?!?!?

As my old signature used to say, "I'm not anti-Microsoft, I'm just pro-quality."

Yeah, MSC++ .NET is great (surprisingly, a good Microsoft product). The only reason I didn't use it is MPLAB allowed quick access to the compiler, while MSC++ .NET isn't custimizable for that sort of thing. Next year I'm going to find something better for our controls team to use.
__________________


Last edited by Ryan M. : 12-03-2004 at 21:31.
  #18   Spotlight this post!  
Unread 18-03-2004, 23:57
jhnphm jhnphm is offline
Registered User
#0614
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2003
Location: Fairfax, VA
Posts: 23
jhnphm is an unknown quantity at this point
Re: Development enviroments orther than MPLAB

GVim/Vim + Cygwin + IDE for compilation. Don't have access to a linux computer other than at home for programming, and too lazy to figure out how to use MCC's command line.
  #19   Spotlight this post!  
Unread 19-03-2004, 18:37
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: Development enviroments orther than MPLAB

Compared with the general rabble, Microsoft almost caters to developers.
  #20   Spotlight this post!  
Unread 19-03-2004, 21:34
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: Development enviroments orther than MPLAB

Its too bad that only 3 voted for linux...Most of my team is affraid of it, including the other programmer, so im stuck using windows at the competitions...
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award
  #21   Spotlight this post!  
Unread 23-03-2004, 08:45
Neal Probert's Avatar
Neal Probert Neal Probert is offline
Registered User
#1015 (Pi High Samurai)
 
Join Date: Jan 2002
Location: Ann Arbor, MI
Posts: 48
Neal Probert is on a distinguished road
Send a message via ICQ to Neal Probert Send a message via AIM to Neal Probert Send a message via Yahoo to Neal Probert
Re: Development enviroments orther than MPLAB

I use ActiveState's Komodo a lot, otherwise Eclipse is worth a good look. Both are available under Linux or Windows. KDevelop under Linux is also worth a good look.

A lot of bots didn't work right off the bat at the early competitions, because people didn't follow the latest IFI/FIRST news about software updates and weird initial states upon RC startup.

As for NMAKE, it's piece of $@#$@#$@#$@#. Gnu MAKE is available for Windows as well. Though I think it's high time that somebody come out with a better MAKE one of these days.
__________________
Ypsilanti-Ann Arbor Area Robotics Club
YAAARC! The sound you make as your robot rolls off the workbench...
http://www.yaaarc.org/
------------------------------
Software Engineer (20+ years experience)
ProbeStar Technical Systems, LLC.
http://www.probestar.com/
  #22   Spotlight this post!  
Unread 23-03-2004, 10:46
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
Re: Development enviroments orther than MPLAB

We decided early on to scrap the MPLAB IDE and use cygwin & make instead. After a month or so I finally convinced the other mentors to use VIM. Now we're actually teaching the students how to use it.

An invaluable development tool I found a few years ago is cscope (http://cscope.sourceforge.net/). It parses all the source & header files in your build and creates a 'database' that allows you to quickly jump to a function definition, find all calls of a function, find all references to a symbol, etc. Even better you can integrate it with VIM so all you have to do is put your curser on a function call, hit <ctl>] and you're now at the function definition; hit g<ctl>\ and you have a list of all occurrances of the symbol under the cursor. I'd probably be half as productive at work if I didn't have VIM & cscope. Give it a try. If you need help send me a PM or start a new thread.
  #23   Spotlight this post!  
Unread 23-03-2004, 10:56
Jonbca Jonbca is offline
Registered User
#1084
 
Join Date: Jan 2003
Location: Sarnia
Posts: 9
Jonbca is an unknown quantity at this point
Re: Development enviroments orther than MPLAB

I got our code working the day of shipping this year (goes to show how having access to the robot is a good thing eh). Last year however, we never really had the time to test, so we got to our regonal, and didn't move for hte first 2 practice matchs. Seems auto code didn't work right, go figure.
__________________
I can imagine a world without hate, a world without fear, a world without war. And I can imagine us attacking that world, because they would never expect it.
  #24   Spotlight this post!  
Unread 23-03-2004, 11:42
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: Development enviroments orther than MPLAB

Cool! I like that. MS has been doing it for awhile, but it's nice to now someone else is.
  #25   Spotlight this post!  
Unread 24-03-2004, 18:18
hybrid's Avatar
hybrid hybrid is offline
Registered User
AKA: Kenroy George
#0335 (Skillz Tech)
Team Role: Programmer
 
Join Date: Mar 2004
Location: New York
Posts: 2
hybrid is an unknown quantity at this point
Re: Development enviroments orther than MPLAB

Quote:
Originally Posted by CrashZero
Thats nothing all our robot did when we shipped it was spin in a circle. cuz the stupid build team put one of the fricking moters in backwards. I think that when we get there i can download a code that works but we will literally be testing it on our bot for the first time then. If anything goes wrong i am sure that all you programers out there know that it is me who will be blamed for screwing it up, even though if the builders whould have put it in right it would not have been a problem.
You think that that's nothing. We shipped six pieces of metal with the rest of the requirements. And a few motors.
  #26   Spotlight this post!  
Unread 26-03-2004, 09:40
CrashZero's Avatar
CrashZero CrashZero is offline
Computer Nerd
#1352 (Huskie Robotics)
Team Role: Programmer
 
Join Date: Mar 2004
Location: Stratford Northwestern
Posts: 44
CrashZero will become famous soon enoughCrashZero will become famous soon enough
Exclamation Re: Development enviroments orther than MPLAB

Ok I admit that is worse then what I had, but it is kinda funny; you must admit
But your team didn't know how well the code worked when you shipped yours, they knew that mine just made it spin around and around which was definatly not a confidence booster. But I am hopeing to have it compile Today. This code that I have now better work or you may not see me at any compitions cuz my team will have killed me.
__________________
This is our world now... the world of the electron and the switch, the beauty of the baud. We make use of a service already existing without paying for what could be dirt-cheap if it wasn't run by profiteering gluttons, and you call us criminals. We explore... and you call us criminals. We seek after knowledge... and you call us criminals. We exist without skin color, without nationality, without religious bias... and you call us criminals. You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals. Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for. I am a hacker, and this is my manifesto. You may stop me, but you can't stop us all...

quote from:

+++ The Mentor +++
  #27   Spotlight this post!  
Unread 26-03-2004, 16:33
Tom Saxton's Avatar
Tom Saxton Tom Saxton is offline
Registered User
no team (Issaquah Robotics Society)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Sammamish, WA
Posts: 98
Tom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud ofTom Saxton has much to be proud of
Re: Development enviroments orther than MPLAB

Quote:
Originally Posted by CrashZero
Thats nothing all our robot did when we shipped it was spin in a circle. cuz the stupid build team put one of the fricking moters in backwards. I think that when we get there i can download a code that works but we will literally be testing it on our bot for the first time then. If anything goes wrong i am sure that all you programers out there know that it is me who will be blamed for screwing it up, even though if the builders whould have put it in right it would not have been a problem.
Our code has exactly one place in the code that knows how to run the drive motors.

Code:
// Set the left and right drive motors to the specified speed values.
//
// The speed values must be in the range [-127, 127].
// For both motors:
//    0 is stop
//    postive values move that wheel forward
//    negative values move that wheel backward
//
void SetDriveMotors(int speedLeft, int speedRight)
{
	pwmWheelL = pwm01 + speedLeft;
	pwmWheelR = pwm02 + speedRight;
}
This simple encapsulation has many advantages.

This chunk of code is the only place that has to keep track of "bigger than 127 goes forward, less is backward, proportional to the difference" or the other way around if either motor is wired the other way.

It's much easier to read "SetDriveMotors(10, -10)" than "pwm01 = 137; pwm02 = 117;" and know that it's asking for a slow right turn.

If one of the motors gets wired backwards, it's trivial to change the +/- for that motor in one well-defined place. (We also put polarized connectors on the motors, so that motors can't get reversed for anything less than a motor replacement.) It's also trivial to move the drive motor to a different PWM if need be.

The software team gets so little time with the working robot, it doesn't pay to spend time and energy blaming the build/electronics team for something being backwards. If you keep the knowledge localized in the code, it's trivial to adjust, compile and download. This is especially handy if you just finished a big repair two minutes before the next match and there's no time to crawl back in and reverse a couple of wires.
__________________
Tom Saxton
http://www.idleloop.com/
  #28   Spotlight this post!  
Unread 26-03-2004, 18:18
K0r34nB0y's Avatar
K0r34nB0y K0r34nB0y is offline
Registered User
AKA: Nate
#0250 (Dynamos)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Capital Region, NY, USA
Posts: 27
K0r34nB0y is an unknown quantity at this point
Re: Development enviroments orther than MPLAB

Quote:
Originally Posted by Texan
I'm not anti-Microsoft, I'm just pro-quality
Hehehehe that's great. I used to use MPLAB, but it started to annoy the crap out of me so I switched to Crimson and now only go into MPLAB for compiling.
__________________
"Joe! Stop answering all the questions! You're too smart."
--later--
"Okay, from now on you have to speak in tertiary."
  #29   Spotlight this post!  
Unread 27-03-2004, 01:08
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Development enviroments orther than MPLAB

Quote:
Originally Posted by K0r34nB0y
Hehehehe that's great. I used to use MPLAB, but it started to annoy the crap out of me so I switched to Crimson and now only go into MPLAB for compiling.
don't even do that - mplab shows you the command lines it uses - just copy them into a batchfile.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #30   Spotlight this post!  
Unread 27-03-2004, 17:42
K0r34nB0y's Avatar
K0r34nB0y K0r34nB0y is offline
Registered User
AKA: Nate
#0250 (Dynamos)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Capital Region, NY, USA
Posts: 27
K0r34nB0y is an unknown quantity at this point
Re: Development enviroments orther than MPLAB

eh... I'm lazy... BTW Does anyone know what the heck is up with this error in mplink?
"Error - could not find file 'clib.lib'" I keep getting that when I try to compile on my own computer. I checked and clib.lib is right where it's supposed to be. Does it matter that I'm using the demo of c18?
__________________
"Joe! Stop answering all the questions! You're too smart."
--later--
"Okay, from now on you have to speak in tertiary."
Closed Thread


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 15:46.

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