Go to Post When we learn physics, we almost always "ignore friction". The real world never does... - Mike Betts [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 10-04-2007, 15:53
GeorgeC GeorgeC is offline
Registered User
FRC #1934
 
Join Date: Feb 2007
Location: London
Posts: 13
GeorgeC is an unknown quantity at this point
EasyC Standalone project?

Hi wonder if someone can help?

I want to test some simple easyc code out without connecting the operator interface to the robot controller.(compressor spike on/off depending on pressure switch state).

There's an option in easyC called "standalone project" but the template shows RC control functions. I'm just wondering if this option will allow me to test my code without hooking up the operator interface.

Has anyone used the standalone option in easyc?

Regards

GeorgeC
  #2   Spotlight this post!  
Unread 10-04-2007, 16:53
Imajie Imajie is offline
Registered User
AKA: James Letendre
FRC #0195 (Cyber Knights)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Southington
Posts: 114
Imajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud ofImajie has much to be proud of
Send a message via AIM to Imajie
Re: EasyC Standalone project?

The robot controller won't run any code without being hooked up to the OI.
__________________
2007 UTC Champions Thanks 1124 and 558
2007 UTC GM Industrial Design Award

2006 Newton Divisional Winners
2006 Championship finalists
(Thanks 25 and 968 for picking us!)
2006 National Innovation in Control
  #3   Spotlight this post!  
Unread 10-04-2007, 16:53
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: EasyC Standalone project?

I believe that EasyC standalone projects just don't have an autonomous mode. It will NOT run without the OI.

You may be able to get the program to run by setting the team number to 0000. If I remember right you should be able to run the code without the OI, but I haven't tried it.
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 10-04-2007 at 16:56.
  #4   Spotlight this post!  
Unread 11-04-2007, 16:19
GeorgeC GeorgeC is offline
Registered User
FRC #1934
 
Join Date: Feb 2007
Location: London
Posts: 13
GeorgeC is an unknown quantity at this point
Re: EasyC Standalone project?

Thanks guys.
I wish there was a decent program that I could run to simulate the robot controller. Something like RoboEmu2 but that is actually fully functional.

Thanks for the team 0000 idea I'll ask IFI about that.

Mean time looks like I need to hookup all of the FRC kit to test my programme.

Regards

GeorgeC
  #5   Spotlight this post!  
Unread 16-04-2007, 13:19
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 Standalone project?

You can also use a Vex Robot to simulate you program to some degree. The best part of a Vex controller is the robot isn't fast enought to hurt anyone.
It's also easy to observe to fix problems that may damage a FRC robot.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #6   Spotlight this post!  
Unread 16-04-2007, 15:21
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: EasyC Standalone project?

I have to back Adam's point, if you got a chance to come by 1902s pit this weekend you could have seen how beneficial those Vex bots with EasyC really can be. We used EasyC with 5 Vex robots (each simulating different sensors, one doing IR tracking, one ultrasonic, one camera, etc.) during build season to have a fully tested and functioning autonomous mode before ever being handed the FRC bot to work with, our success at regionals and on Galileo reflects how beneficial of a tool that was (unfortunately with the arm mechanical problems on Einstein we were unable to cap in autonomous physically but the autonomous itself still ran a perfect routine each time).

I would highly suggest looking into working with Vex, we ran a Vex bot with a camera wired into the controller doing purely autonomous camera chasing. We ran around the Galileo pits with it Saturday morning, we didn't need to use the Vex transmitter, no radios, no nothing. Just turn it on and it goes. You will also find that the Vex controller runs the same processor, works the same with inputs and outputs, and the code made in EasyC transfers into the IFI RC with little extra work (like I said, we had our autonomous done by week 3 then just calibrated it on the FRC bot when it was completed). Good luck with your project and if you run into any problems get in touch with us!
__________________
Chopsaw? Chopsaw.
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
CAM2 - Standalone teh_pwnerer795 Programming 4 08-12-2006 14:08
easyC trouble Erics626 Programming 10 02-02-2006 08:10
Kickoff easyC workshop integrated into EasyC help file Dan Larochelle Programming 0 11-01-2006 06:12


All times are GMT -5. The time now is 18:55.

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