Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   EasyC Standalone project? (http://www.chiefdelphi.com/forums/showthread.php?t=56776)

GeorgeC 10-04-2007 15:53

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

Imajie 10-04-2007 16:53

Re: EasyC Standalone project?
 
The robot controller won't run any code without being hooked up to the OI.

EHaskins 10-04-2007 16:53

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.

GeorgeC 11-04-2007 16:19

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

Kingofl337 16-04-2007 13:19

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.

miketwalker 16-04-2007 15:21

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!


All times are GMT -5. The time now is 04:31.

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