Go to Post Sorry- therefore IOU 1 Battery- you can collect it on I-95 about 1 mile south of exit 13A in the center lane...... (ps- of course that battery is "free of charge") - Wayne C. [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-04-2006, 07:32
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: EasyC Wish List

Quote:
Originally Posted by Gdeaver
My biggest wish for Easy-C has nothing to do with the IDE. It's the painfully slow down load that irritated us last Thurs. and Fri. while we working on the ball feeder code. I thought it might be the serial-USB driver but its the same with different chip and drivers. It took a matter of seconds to change the parameters, add a block and move stuff around. It really proved the advantage of a graphic IDE. We could have gotten things debugged much sooner if it wasn't so slow on the down load. Over all I say that Easy-C really did make the programming part of the season easy. Much better than watching the students battle MPLAB all season last year. Thanks intelliteck and First for putting A visual IDE in the kit this year.
If you have a laptop with a serial port on it, the downloads go about 3X faster than through the USB adapter. I have an older laptop that I'm keeping around for exactly that reason.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #2   Spotlight this post!  
Unread 12-04-2006, 00:35
P1h3r1e3d13's Avatar
P1h3r1e3d13 P1h3r1e3d13 is offline
Unregistered User
FRC #0295
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: San Diego/Granite Bay
Posts: 46
P1h3r1e3d13 is an unknown quantity at this point
Re: EasyC Wish List

Quote:
Originally Posted by gt6872c
Is it possible to write to any of the other User Bytes [besides User_Byte1 using the SetUserDisplay() function] that are sent back to the OI from the RC using EasyC? Thanks in advance.
It took me a while to get the following figured out, so here's what (I think) I know about your question:

I do not think there is anything called User_Byte1 that exists by default in EasyC.
Nor am I aware of any User Bytes other than the one that shows up as uXXX on the OI.

The "hard" C default code includes code that controls the OI LEDs based on joystick and button inputs (and maybe it controls the User Byte - I don't remember). An EasyC project, by default, does not send anything to the UB or the OI LEDs. All you can do is essentially the same as you can do in "hard" C: add OILED() and SetUserByte() commands. You can, of course, set them to variables.

If this doesn't address your question, perhaps a little more detail on what you are trying to do might help me/us.

Last edited by P1h3r1e3d13 : 12-04-2006 at 00:40.
  #3   Spotlight this post!  
Unread 18-04-2006, 05:14
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: EasyC Wish List

Quote:
Originally Posted by gt6872c
Is it possible to write to any of the other User Bytes [besides User_Byte1 using the SetUserDisplay() function] that are sent back to the OI from the RC using EasyC? Thanks in advance.
As delivered you can write write values to the LEDs or the numeric display. EasyC looks at the setting of the display mode switch on the OI and either sends whatever you set for the single bit (LEDs) display or it sends the value you set for the numeric user display. So if you press the display select button on the OI and cycle to the U - user display setting, you'll see the number that you put in the SetUserDisplay function. If you set it to anything else, you'll see the LEDs have the values set with the SETOILED function.

Now, if you want to get more data back to the OI, you can connect a laptop to the dashboard port, then you can send lots of data back. We built a display with an image of a car dashboard and rendered dials for the tach and speedometer. The dials indicated the robot speed and ball pitcher speed. And there were a bunch of other indicators for low battery, etc.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
  #4   Spotlight this post!  
Unread 26-04-2006, 07:48
gabrielse's Avatar
gabrielse gabrielse is offline
Registered User
FRC #1748 (Lab Rats)
Team Role: Teacher
 
Join Date: Jun 2005
Rookie Year: 2004
Location: Baltimore
Posts: 55
gabrielse is a splendid one to beholdgabrielse is a splendid one to beholdgabrielse is a splendid one to beholdgabrielse is a splendid one to beholdgabrielse is a splendid one to beholdgabrielse is a splendid one to beholdgabrielse is a splendid one to behold
Re: EasyC Wish List

I wish the next version of EasyC has a built in implementation of a switch statement.

Our student programmer this year had a hard time following a mess of nested if statements.

She learned how to make state diagrams and to implement them using switch statements. She had a much easier time debugging and writing code with switch statements.

We are training new programmers with EasyC. A "non-user code" switch statement would really help. Thanks.
  #5   Spotlight this post!  
Unread 02-05-2006, 21:46
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: EasyC Wish List

Good call on switch. Would have been helpful for our team as well.
  #6   Spotlight this post!  
Unread 04-05-2006, 00:02
P1h3r1e3d13's Avatar
P1h3r1e3d13 P1h3r1e3d13 is offline
Unregistered User
FRC #0295
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: San Diego/Granite Bay
Posts: 46
P1h3r1e3d13 is an unknown quantity at this point
Re: EasyC Wish List

How about more help on the use of libraries? I never did figure out how to use "math."
  #7   Spotlight this post!  
Unread 04-05-2006, 18:08
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 747
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
Re: EasyC Wish List

I wish in the next version we could "record" all the varibles in our program for some many CPU loops. Like define 100 loops. Then hit record.....

Let the CPU loop 100 times, and store all the varibles in our project into a database. Then for DEBUG MODE, we can hit "play" and step though each CPU loop, pausing and stepping through our code like a cpu pointer, only when we hover over the varible, it will display the value of that varible, and type of varible during play back mode.....

In other words, I know we probablly can't have online debugging, pausing, stepping, but the ability to record so many CPU cycles, then play back would be really SWEET....of course, any If statements would excute correctly based on the value of that varible pulled from the recorded session.


and please do fix the project printing....It would be nice to print out ALL the functions like in a project print, instead of each one....



-
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here:Repository

Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
  #8   Spotlight this post!  
Unread 05-05-2006, 02:35
P1h3r1e3d13's Avatar
P1h3r1e3d13 P1h3r1e3d13 is offline
Unregistered User
FRC #0295
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: San Diego/Granite Bay
Posts: 46
P1h3r1e3d13 is an unknown quantity at this point
Re: EasyC Wish List

That would be really, really cool.
As a (poor) substitute (and you probably already figured as much anyway), I did something like that by putting a PrintScreen for each variable (or a printf for several) at the end of the loop (or after each time you change the variable), and incrementing a counter variable each loop. Then change your main While(1) loop to While(counter <=100) (or just make it a For() loop).
  #9   Spotlight this post!  
Unread 02-08-2006, 01:44
epl692's Avatar
epl692 epl692 is offline
all roads lead to citys.
AKA: Eric L
FRC #0107 (R.O.B.O.T.I.C.S.)
Team Role: Programmer
 
Join Date: Aug 2006
Rookie Year: 2006
Location: Holland Mi
Posts: 4
epl692 is an unknown quantity at this point
Send a message via MSN to epl692
Cool Re: EasyC Wish List

a random number function, i have found that i almost needed one.... (i was making some new search code for the camara... then i found out that the tracking will auto search....) or a visual reprersentation of the first OI (where you can see a labeled diagram of what comes out where.... cheak your code to your robot, even if its not labeled well...(like the manuel control they have now but more visual to a point) but then who dosent have a perfectly labeled and easy to understand robot.... )
__________________


Last edited by epl692 : 02-08-2006 at 01:54.
  #10   Spotlight this post!  
Unread 14-08-2006, 09:24
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: EasyC Wish List

Quote:
Originally Posted by epl692
a random number function, i have found that i almost needed one.... (i was making some new search code for the camara... then i found out that the tracking will auto search....) or a visual reprersentation of the first OI (where you can see a labeled diagram of what comes out where.... cheak your code to your robot, even if its not labeled well...(like the manuel control they have now but more visual to a point) but then who dosent have a perfectly labeled and easy to understand robot.... )

Thank You for your ideas. We are always looking to improve easyC to make it the best it can be.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stocking up on parts *wish list Greg Needel Technical Discussion 3 13-12-2006 21:28
Dean's Holiday Wish List DUCKIE Dean Kamen's Inventions 5 06-12-2006 22:59
2006 KOP Wish List Andrew Blair Kit & Additional Hardware 33 19-05-2006 17:08
FIRST Wish List Justin Montois FRC Game Design 29 11-05-2005 15:48
New Regional Wish List Anne Shade General Forum 61 28-04-2003 21:48


All times are GMT -5. The time now is 08:42.

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