![]() |
CRIO-FRCIII
Is there anywhere to ask questions about the new CRIO for the 2015 season? I meant to ask about it at St. Louis last year but didn't have the time.
Also, when's the earliest time to get our hands on it? I remember hearing fall of this year. |
Re: CRIO-FRCIII
The FRC NI community page would probably be the way to go: https://decibel.ni.com/content/commu...w=discussions\
Some information about the roboRIO is also in the documents section of the same page: https://decibel.ni.com/content/docs/DOC-30419 |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Several teams were chosen as alpha testers for the Athena/roboRIO. You can check out their team websites for a summary of results, images, etc. |
Re: CRIO-FRCIII
Quote:
Anyway, thanks for the links! |
Re: CRIO-FRCIII
What is your question about the 2015 Control System. I will try to answer it as best I can.
I am part of the Alpha Test Team. Regards, Kevin |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Well, for either of you I suppose
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
I have a few questions.
How long does it take for the whole thing to turn on, including the radio? Is it still WPIlib for Java? What's the radio look like? Are we still using the d-links? How low does the voltage have to go to brown out the radio/controller? |
Re: CRIO-FRCIII
Quote:
Quote:
Quote:
Quote:
|
Re: CRIO-FRCIII
How good is the support for standard Linux programs, do you think it might be able to run ROS?
|
Re: CRIO-FRCIII
I realize the roboRIO has a shorter profile but a larger foot print and now must have external modules for solenoid breakouts and additional analog and digital inputs. Does weight with all the extra components end up similar to the cRIO or is it lighter weight (as we would hope it to be)?
|
Re: CRIO-FRCIII
Quote:
Do any of you know what the Solenoid Module will be? I've been told it's a CANipede RCM but it looks a bit old to be used in conjuncture with the new hardware. |
Re: CRIO-FRCIII
Here is an overview of the new 2015 control system:
http://www.fightingpi.org/Resources/...ha/Alpha.shtml Arohowk, please don't guess at answers. We are currently not using dLinks. We are using USB radios whose drivers reside on the RoboRIO and who don't require a boot-up like the current radio systems do. The system will be on display on our 2013 Ultimate Ascent robot this weekend Waterford, and again at the State Championship. In addition, National Instruments reps are planning on coming up to do a LabVIEW seminar and an hour long seminar on the new control system at the State Championships Thursday morning as a part of our '1718 Presents' seminar series. We'll be releasing more info as States get closer. Once the competition season ends we'll restart our Alpha testing and begin updating the web page with more information. Please keep in mind the software is still VERY much in the development stage. When we met late last year, some of the languages still weren't completely functional. Take everything with a very large grain of salt: the same folks developing the Alpha hardware are also supporting the current FRC season. Don't expect much progress for a while. |
Re: CRIO-FRCIII
Whoa. Gunna try to keep up here.
Those times are from my recollection. Please don't quote me on them just yet. They are trying to get a USB WiFi dongle working and signs are pretty positive right now. That would mean no more DLink. The Pneumatics Control Module (PCM) is produced by Cross the Road electronics (makers of the CANipede) communicating via CAN with the roboRio. Even with the PCM and a breakout for the expansion slot (called the MXP) it should still weigh considerably less than the cRIO. I haven't weighed everything, but it's not close to the chunk of metal the cRIO is. The roboRIO reboots somewhere below 5V (don't remember exactly) but there may be loss of functionality prior to that. I was just watching for a reboot. |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
2. You'll be using whatever JRE they decide is FRC legal. The RobotRio is running a RTLinux distro, which makes it very easy to play with. 3. I'm not sure about the C++ version 4. Just load up the FRC plugin for Eclipse, and go to town... personally, I like Eclipse a lot better than Netbeans. 5. Deploy seems a lot quicker - we were going from clicking to driving in under 30 seconds. Quote:
2. Yes, WPI is still heavily involved, and we're using WPIlib. 3. Currently, it's a USB dongle. The final radio hasn't been decided on yet, and last I heard FIRST was looking at a number of options, including the dongle. Nice point for the dongle: No external power, which means no radio resetting due to power issues! Quote:
Quote:
- Solenoid outputs - a jumper to switch between 12 and 24V (with an internal boost, you only need to power it from 12V) - A pressure switch input - A compressor output |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Some Pics from 294s 2015 control system at the LA regional.
https://www.dropbox.com/s/bmwg6yt5rm...2009.49.36.jpg https://www.dropbox.com/s/trsrhugbt8...2009.49.41.jpg https://www.dropbox.com/s/otcs2ocm0k...2009.50.09.jpg |
Re: CRIO-FRCIII
For CAN Jaguars, how easy are they to implement into the new system, or has there been no testing done with that yet?
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
For example, here's a tutorial on NI's website that installs PostgreSQL and uses it with LabVIEW on the Linux platform: https://decibel.ni.com/content/docs/DOC-30308 |
Re: CRIO-FRCIII
Anybody heard any numbers on the cost of the new system or how the rollout will be handled next year?
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Quote:
|
Re: CRIO-FRCIII
Quote:
So with this new USB stick, how do you get ethernet connections throughout the robot? Before there were 4 ports off the bridge, but now I don't know if there is a single one! What is the range of the radio? Is it greater or lesser? I am wondering whether the switch to a USB dongle has any big significance other than a smaller footprint. How robust is the new radio? Most USB sticks aren't very strong against sudden jerks and may end up randomly breaking! |
Re: CRIO-FRCIII
Quote:
The range of the radio seems adequate - we haven't done any specific range testing, but it covers our build space and the entire field FIRST had set up during the Alpha Test weekend. The radio is a typical USB dongle. We connected it through a USB extension cord, which let us attach the dongle with velcro to the same place we had the dlink. Since it's so lightweight, even with a hard hit to the robot there's really no force on the dongle itself. I don't recommend sticking it straight into the RoboRio and having it buried inside the robot! |
Re: CRIO-FRCIII
Quote:
I wonder if it would be legal to have an onboard cheap ethernet switch. Next year, I want to have a node based processing system with multiple computers, running a specific portion of the code. One ethernet port will probably not be enough ;). I guess the dongle will be hard to hit my a gamepiece but I'm still kinda skeptical because the ASUS router sitting in front of me has quite a poor build quality and crashes every 15 mins. Is the antenna a single plane or multiple axes? A plane antenna would mean the robot would lose communications when it turns a bit. I am also wondering about the build quality of the roborio. The GPIO seems to be build into the main package. Have you ever had any problems with debris getting in the case and making it behave very wierd? That was one thing that happened quite often with the Digital Sidecar! I am just wondering but how accurate are the current sensors in the PDB? Do you ever use them as an effective debug strategy for eradicating nasty shorts? Thanks. I think I just spammed you with questions ;) |
Re: CRIO-FRCIII
Quote:
We've been running the robot quite a bit, including some hard hits (we used it as an opponent robot for driver practice this year), and we haven't had any drop outs. I don't know how the antenna in it is configured. You're guess is as good as mine when it comes to the RoboRio case and debris - we don't have a case on our test board! They sent us the bare circuit board with some standoffs, and that's what we've been using so far. No problems with it, but then again we haven't been doing any actual work on that robot since we put the board on - no drilling or cutting of anything, and the pan it was mounted to was brand new. We haven't tested the current sensors on the PDB yet - That wasn't available in the library before kickoff, and I'm not sure if it's available yet (it's been a while since we've had time to look at any updates). Once the season is done with, we'll reconvene our Alpha Test group inside the team and see what new stuff we can play with in the code :) |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Looks like a lot of conversation has already been made with regards to these questions. I will take a stab at answering each. Please read the disclaimer to these answers at the bottom of this post.
Quote:
Lib. As of right now, as stated by NI the roborio will run the JavaSE Embedded JVM. This is based off of JavaSE7. The WPILibrary is currently written using JavaME as that is what runs on the current cRIO. WPI plans to upgrade the backend WPILibJ to take advantage of new features of the Java7 language such as genereics, auto unboxing, etc. HOWEVER, this is not likely to be implemented for the first year. I believe FIRST wants to have the transisiton as seemless as possible, and part of that is to keep the library the way it is for now. As for the API, in either event, WPI lib will try it's hardest to keep the interface the same irrespective of weather or not the backend if based on JavaME or JavaSE. Note, this does not affect your ability to use the features of JavaSE in code that does not depend on WPILib calls. In other words, you will be able to take full advantage of JavaSE in the code you write, even if WPILib is not re-written to support the new JVM. One thing that might change out of the box is hardware indexing. Right now your hardware pins are 1 based in code (starting from 1)... there were talkins of changing this to be zero based, (1st pin will be (pin 0 in code), however it is not clear yet which way the WPI team will go on this one. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Solenoids are not CANipede, they are a new product line from cross the road electronics, the Pneumatics Control Module (PCM) and Power Distribution Panel (PDP) have a can protocol built in. If you only have a small number of actuators, nothing stops you from using the 4 relays onboard the cRIO for pneumatics. If you want more, then you must venture out and use the PCM. The PCM also takes in the compressor and DIO switch directly, so they do not need separate power or io from the roborio. Quote:
Quote:
Quote:
The version of the RIO we have is not conformally coated. I am not sure if the final product will be. I plan to use the current sensors to tell if my motors are stalling or simply not driving the gearbox. That is all I really need them for. I am not sure how you can use them to detect shorts based on the they circuit they are apart of. DISLAIMER: WE ARE IN ALPHA TEST PHASE. THE INFORMATION PROVIDED IS BASED ON WHAT WE HAVE NOW. THIS MAY VERY WELL CHANGE IN THE NEXT COMING MONTHS AS SOFTWARE AND HARDWARE DEVELOPMENT PROGRESSES. I CAN ASSURE YOU FIRST IS DOING EVERYTHING TO EASE THE TRANSISTION. FOR THOSE THAT MOVED FROM IFI TO CRIO BACK IN 2009, EXPECT A MORE SEEMLESS TRANSITION. ALL OF THE QUESTIONS REGARDING PERIPERIAL HARDWARE, AND SOFTWARE VERSIONS ARE SUBJECT TO CHANGE AS DEVELOPMENT INCREASES. IN ANY EVENT, THE 2015 CONTROL SYSTEM IS AWESOME, AND SHOULD BE A WELCOME CHANGE, DO NOT FEAR IT, OR LET INFORMATION PRESENTED DETER YOU FROM IT. WE DO NOT HAVE ALL OF THE ANSWER, BUT WILL TRY TO ANSWER THEM THE BEST WE CAN. Hope this helps, Kevin |
Re: CRIO-FRCIII
Quote:
Quote:
Quote:
|
Re: CRIO-FRCIII
Quote:
That is a very useful approach to find those pesky shorts. I, myself, thought of using the system resistance and watching the voltage drop on the driver station to calculate current draw of the system! I wonder what FIRST has in mind for these current sensors. They maybe useful for reporting faults automatically to the FMS so they can be prepared to look for specific problems! |
Re: CRIO-FRCIII
Will the new system be finally able to run at higher connection speeds so we are not stuck in early 2000s with 360p 50% compression 5fps video feeds?
I realize that it is more of a FMS problem than the robot side stuff, but will the FMS get a much-needed upgrade as well? |
Re: CRIO-FRCIII
Quote:
Your question would be better answered by a FIRST rep. I don't think anyone of us can help. During our next gathering with FIRST, I can relay the question. Regards, Kevin |
Re: CRIO-FRCIII
Quote:
You can do that now but it isn't nearly as easy as having it all 'built in'. |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Hopefully it supports some sort of MJPEG because I don't know for sure if OpenCV supports H. 264. Hopefully they can bump up the bandwidth to at least 16Mbps next year because that will reduce lag by a lot. What type of Linux does the new cRIO run? Is it completely based off NI or is it based off an Operating System like Debian?
Another funny question that I have is that I am wondering if it would be possible for the cRIO to compile code on itself? That would be a nice finishing touch. My vision coprocessor checks code differences and compiles the code on bootup |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Quote:
Quote:
Quote:
Yes this is possible as long as you choose to shell into the device and have a compiler installed. But it will be extrmely slow when compared to a desktop or laptop. Speed in compliation, and using a full up IDE (not over x window) is usually the reason for cross-compilation which is what the WPILib Plugins do. They allow you to develop, build, and compile code on your windows machine for an Arm based target and transfer the resulting binary over to the RoboRio. Remember the RoboRio is running a dual-core are at 667Hz and limited memory, compared to the gigaHz of your laptop/pc with gigs of ram, really is no comparison. |
Re: CRIO-FRCIII
Quote:
But the latter part leads me to a throw-down to the teams that have 3D printers. Design & build modular plugs to cover the connectors that are not in use. Yeah, I know, just stuff inert connectors in. I want something elegant. |
Re: CRIO-FRCIII
Quote:
Remember, as of right now, the only way to have access to the current readings is to wireup the CAN bus between the Rio and the PDP. In order for FIRST to pull off what you are proposing, they would have to force every team to wire that bus, and have default code on the RoboRio that reads current off those channels. I am not an expert on FMS/Driverstation communications, but as far as I know, the Driverstation only talks to a small part of code on the cRIO to control Robot State, and UDP a couple of status parameters back. While it is possible for FIRST to pull off something like what you suggest, I think it is very unlikely that they ever will. Usually a stalled Motor is not the cause of a Robot loosing comms unless it is pulling the batter voltage down below the brownout point of the CRIO or D-link. The #1 priority of FIRST FTA'a is to make sure your Robot maintains FMS connectivity, not diagnose your build faults: that what other gracious teams help with :). Frankly, I would rather FIRST limit the amount of reach they have within User code than expand it. Hope this helps, Kevin |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
First, I never said it was hard for them to do. But I speculate it is additional work they will not likely do, as it requires more changes, with not a lot of benefit. As a FRC member about to experience a control system transistion one would advocate that FIRST should focus on a seamless transition, not adding more complexity to the mix. Please re-read my previous post if it was unclear. I stated "While it is possible for FIRST to pull off something like what you suggest, I think it is very unlikely that they ever will." I never said it was hard. Try not to misquote. Quote:
What about instances when you power the robot on and don't have a driverstation connected? What does your system do in that case? The breakers still function but FMS doesn't Quote:
I am not sure what you mean here. Or how the system you describe actually works. Please think about the questions I ask, and try to rearticulate your system and how it behaves in those scenarios provided. These questions are not to shot your ideas down so please do not take them that way. I ask them so you can be prepared to answer them as you articulate how the system you describe works. Hope this helps, Kevin |
Re: CRIO-FRCIII
A typical breaker doesn't open immediately. It takes easily 1-3 seconds. This would have to be more of a watchdog feature, but if the load on a specific port on the PDB is too high for too long, not just a spike, it will open a relay and the fault shall no longer persist. With an FPGA onboard, it should be easy to make this extremely reliable and fast! The delay before trip would also be adjustable, instead of random (within a range)
|
Re: CRIO-FRCIII
One thing to note: I believe they are planning on using the PDB CAN interface for battery voltage monitoring, similar to the way they do today with the jumper on the analog breakout. That should make it very easy to help teams get some monitoring in place if they need it, since it'll already be wired up!
|
Re: CRIO-FRCIII
Quote:
Check the spec... http://www.snapaction.net/pdf/MX5%20Spec%20Sheet.pdf Quote:
Quote:
Quote:
Regards, Kevin |
Re: CRIO-FRCIII
As mentioned, the cRIO is a 24V device on a 12V robot. It isn't connected directly to the battery. The roboRIO will connect straight to the 12V circuit of the PD. It will monitor voltages directly for battery and for its internal supplies. It will indeed have monitoring and will shutdown systems in brown-out situations. The cRIO does that today, but it can only measure if the analog module is wired.
Greg McKaskle |
Re: CRIO-FRCIII
Since the roboRio is a 12V device, I hope they will keep the 24V on the PD so we can use it for things like 24V solenoids, etc ....
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Most teams' video streams are about 2 square inches on their laptops, and they glance down at the stream every couple of seconds to line up a shot or get their bearings. 1080p (or even 720) would be way overkill, and 60fps is also a waste of bandwidth. As you pointed out, this also isn't a limitation of the cRIO or roboRIO. It isn't even a limitation of the FMS itself. It is effectively a limit of the WiFi router used on the field. If all six teams on the field are streaming 1080p video at 60fps, someone is going to start dropping control packets. |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
The only downsides I see against the Axis cameras are
To bring it back to the thread at hand, I will be testing ocupus on RobotRIO in the hopes that it can support at least 1 low resolution USB camera without too much impact on other robotly duties. |
Re: CRIO-FRCIII
Speaking of USB cameras, the roboRIO has several USB host ports and there are UVC drivers installed. My testing has been through IMAQdx, the NI driver for camera buses such as USB. We've done testing with a variety of USB cameras, even some set up for stereo. We've also done a bit of testing with the industrial USB3 cameras running on the USB2 bus. Some of the mfg drivers are OK with this and it allows for higher end sensors, lenses, filters and the like. And of course IP cameras such as Axis also work. WPILib only supports Axis, but IMAQdx supports some others.
Greg McKaskle |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Sounds great, but this seems odd, because FIRST recently tightened up on all their robot network regulations. But indeed, this would be very cool. Maybe a better solution to the problem at hand? |
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
Or would we have to have a switch on-board still? Makes the dongle seem useless... :confused: Really hoping we can do some sort of "secure" wireless tether... |
Re: CRIO-FRCIII
Another question. On the current CRIOs, we are able to support more than one digital sidecar (if, say, we happen to need more than 10 PWM ports) by simply slipping another digital breakout into an empty slot. With the DSC integrated into the RoboRIO, what would the procedure be to "add" more ports?
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
|
Re: CRIO-FRCIII
Quote:
IF FIRST sticks with the USB dongle route, the other usb host port is availble. If you choose to use a USB camera, you can thether over the USB device port or over ethernet. If you choose to use an IP camera, you can thether over the USB device port. IF you have an ethernet switch on board and plug your camera into that (rules notwithstanding) possibilities are endless. I doub't "secure wireless thether" will be used. Any possible cause of interference to a real match is not a good idea. Just Plug in, keep calm and carry on! Quote:
Similar case for digital IO, where pins on the expansion port can be used for additional DIO. However, as for analog, I am not sure if there are ports on the expansion slots which can be used as Analog in or out, but you have access to SPI and I2C interfaces, so just use those if you need to expand analog sensors. You can always use an analog channel with tresholding to get a digital reading. (I typically see a lot more digital channels used then analog IO on robots). You can reduce IO by knowing when not to use quadrature encoders, vs pots, vs other sensors. But as for your hypotetical, if you start needing more then 10 individual PWM I would be concerned. Remember, all motors in a single gearbox can split the same PWM signal because they are all being commanded to do the same exact thing at the same time. Even if you have some special swerve/crab drive, I do not see the need for that many PWM signals on a robot. What I am saying is, with a little re-thinking you should be able to get your bot to live within the 10pwm/10dio/8 analog channels a majority of the time with little need to expand, but the option to expand is built-in. Hope this helps, Kevin |
Re: CRIO-FRCIII
Quote:
|
| All times are GMT -5. The time now is 21:56. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi