I am asking this question on behalf of some of my team’s programming mentors and students, so please keep in mind that I don’t really know what I’m talking about when it comes to these things and I might not communicate things clearly the first, third or eighteenth time.
We’re in search of an emulator for the latest major iteration of the robot controller that will allow our programming team to develop and test code in the absence of a robot. Specifically, they’ve asked for something that does a good job of mimicking the robot controller’s limitations in memory and computing power. They don’t want to be able to simulate more than the real processor is capable of doing.
I recall from years ago that Rob Bayer had produced something like this and did a search of the forums this morning for information about it, but the links to his website (www.robbayer.com) and the associated emulator are dead. Does anyone have the last revision of this lying about somewhere? I believe it was updated to reflect the change to the C programming language.
Thanks I’ll pass this along to the programming folks and see if this will meet their needs. My impression was that they wanted something that could be used completely independent of a robot controller – so students could develop and test code from their homes – but maybe this will be a viable alternative.
I say that with some hesitancy, due to this thread, and do not want to drag this off track into a discussion of what next year’s RC might include. It merely seems – based on the description of MS Robotics Studio – like the technology would be capable of supporting excellent software prototyping if the FRC components and control system were appropriately modelled in it.
Or you could just use the MPLAB SIM thats build in to the development environment… just define “simulator” in the code… you’ll see where IFI has made provisions for it… after that you can build stimulus tables and simulate inputs.
that is indeed what I used to do when I didn’t have bot access.
but… it is a frustrating procedure, watching the variables window,
going through simple delay loops can be very exhausting,
then, remembering that you forgot something in the stimulus section,
and going through the whole thing again
I now only use it in small application (with my PIC16s), and it’s hard enough =]
I have heard of MS’s “robotic plans”, but I didn’t know something like the roboEMU exists, I’ll be checking this one right away =]
Well, one thing you can try soon is the real time physical simulator in SolidWorks cosmosMOTION… its currently only available in the non-educational version but very soon it will be available for all. The new API based interface to cosmos lets you write code for a machine and see it run as it really would in a full physical simulation… you can do everything from size motors to figure gear ratios in full physical simulation before your robot ever leaves the modeling space.