View Full Version : Team 103 Control System Powerpoint
BrianT103
05-11-2008, 08:58
Here is the powerpoint that was used at Brunswick Eruption 7 and Ramp Riot. Note that this information was published by 103, not FIRST; so please do not treat it as offical/final information. We wanted to get this presentation out as quickly as possible so that way teams will be able to famaliarize themselves with it before they recieve their kits. Feel free to post any comments/concerns here, but please keep any technical discussions on the FIRST Forum.
Very informative! Excellent work. Thank you!!
Jimmy Nichols
05-11-2008, 10:20
Here is the powerpoint that was used at Brunswick Eruption 7 and Ramp Riot. Note that this information was published by 103, not FIRST; so please do not treat it as offical/final information. We wanted to get this presentation out as quickly as possible so that way teams will be able to famaliarize themselves with it before they recieve their kits. Feel free to post any comments/concerns here, but please keep any technical discussions on the FIRST Forum.
Thanks a lot for the info. This will come in handy. I hope we are able to get one of the early shipped control systems so that we will have time to play.
Gamer930
05-11-2008, 10:53
A lot of useful information that I haven't seen in other places!!!
One correction that I see is on Page/Slide 9 for Team 27 I believe that should be:
cRIO = 10.0.27.2
PC = 10.0.27.6
The current information would be for team 2700
BrianT103
05-11-2008, 16:46
A lot of useful information that I haven't seen in other places!!!
One correction that I see is on Page/Slide 9 for Team 27 I believe that should be:
cRIO = 10.0.27.2
PC = 10.0.27.6
The current information would be for team 2700
I thought I fixed that in one of my earlier revisions, thank you for catching it early.
popnbrown
05-11-2008, 23:34
I was at the presentation made at Brunswick Eruption, and I am very excited about the new Control System.
Great job Brian on an incredible presentation!! I would have been very nervous if I were in your shoes, presenting to over 40 mentors from all over but you handled it very well. I look forward to working with you this season.
Thank you,
Sravan
Question about the last slide, deployed vs flashing. Is deployed mode where you tether the robot to the computer to run code or is it running the robot code in simulation? The slide seems to say that you can run the robot on code stored on the programming computer.
Wetzel
Joe Ross
06-11-2008, 09:51
Question about the last slide, deployed vs flashing. Is deployed mode where you tether the robot to the computer to run code or is it running the robot code in simulation? The slide seems to say that you can run the robot on code stored on the programming computer.
In the first case, the program is running in RAM on the cRIO and data is sent both directions between the cRIO and the programming computer. This allows you to use real debugging features (breakpoints, stepping, watches/probes, see all your front panels in LabVIEW, etc). In this way, it is like the program is running on your computer. When you turn off the robot (or stop the program) there is no code left in the robot.
In the second case, the program is running in flash on the cRIO. This is like when you programmed the IFI controller. The program will still be there between power cycles, but there is more limited debugging capabilities.
EricVanWyk
06-11-2008, 09:53
Question about the last slide, deployed vs flashing. Is deployed mode where you tether the robot to the computer to run code or is it running the robot code in simulation? The slide seems to say that you can run the robot on code stored on the programming computer.
Wetzel
Your interpretation of the slide is correct. You can temporarily store a program in RAM without over-writing the existing program in flash. Very useful for debugging and tweaking. The cRIO has several cool features that allow you to debug faster stronger better.
Your interpretation of the slide is correct. You can temporarily store a program in RAM without over-writing the existing program in flash. Very useful for debugging and tweaking. The cRIO has several cool features that allow you to debug faster stronger better.
We seem to have found one "gotcha" to this scenario.
If you have a "REAL" program in flash that is set to Run On Startup (ROS) and then you "debug" a different program (which has never been set to "Run on Startup") then the debugging process clears the ROS flag.
This means that if you power down or reset, although your REAL program is still in flash, it won't run. You will see a "No Code" warning on the DS.
The trick seems to be to pull up your REAL program after debugging, and just right=click on the RT node, and select "Connect". This will quickly re-establish the ROS flag so it's safe to reset.
Phil.
Nice! Very good info. Thanks for putting this up here.
Can't wait!... 21 17 25 23!
From one of Team 236's mentors,
Here's a blurb from the LabVIEW help that I think is applicable:
Running a Stand-Alone Real-Time Application (RT Module)
You can create a stand-alone real-time application using the LabVIEW Application Builder and set the application to run when you power on an RT target. You can create multiple build specifications that configure the settings of stand-alone real-time applications under an RT target. However, you can set only one stand-alone real-time application as startup for an RT target. When you set a build specification as the startup application for an RT target, LabVIEW displays a green border around the icon for the build specification in the Project Explorer window.
To run a built stand-alone real-time application, right-click the build specification in the Project Explorer window and select Run as startup from the shortcut menu. The Run as startup shortcut menu item sets the application as the startup application, deploys the application to the target, and prompts you to reboot the RT target.
You also can complete the following steps to run a stand-alone real-time application as the startup application on an RT target.
Build the stand-alone real-time application.
Right-click the build-specification and select Set as startup from the shortcut menu to enable the application to run when you reboot or power on the RT target.
Right-click the build specification and select Deploy from the shortcut menu to deploy the application to the RT target.
Right-click the RT target and select Utilities»Reboot to reboot the RT target and run the stand-alone real-time application.
Note You cannot run a stand-alone real-time application without setting the application as startup and rebooting the RT target.
Just a note that we recorded the entire Ramp Riot Presentation on an HD camera. We just finished editing and compressing it and should have it available to post on both the 103 and 341 sites very soon.
Thanks again to Team 103 for presenting this seminar.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.