|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Robot Co-Processors
I have heard like, 6 different thoughts on Co-Processors, i.e. an Arduino to handle other functions, ranging from an "Absolutely!" to a "Absolutely not.", and from what I gather, the Co-Processor has to
|
|
#2
|
|||||
|
|||||
|
Re: Robot Co-Processors
J,
The rules are very specific on this subject and sometimes change from year to year so check the robot rules after kickoff. Yes you are correct under current rules. The computer if it is not a COTS computing device with it's own battery, must be powered from the PD board using appropriate wire and breaker protection. It cannot directly affect the movement of anything on the robot but must communicate with the Crio if needed for these actions. All other rules apply and will be checked during inspection. |
|
#3
|
||||
|
||||
|
Re: Robot Co-Processors
Quote:
|
|
#4
|
||||
|
||||
|
Re: Robot Co-Processors
So, one thought that we (T166) had regarding the use of Arduino-based coprocessors is to use them to provide sensor input to the cRIO either via the I2C bus or via the RS-232 comm port. The intent is to offload the cRIO, have sensor inputs processed by the Arduino and made available to the cRIO upon request.
It's not driving any motors directly, will be obtaining power from the +5V PD. Thoughts? |
|
#5
|
|||
|
|||
|
Re: Robot Co-Processors
Quote:
|
|
#6
|
||||
|
||||
|
Re: Robot Co-Processors
Understood.
But I should have been clearer with the posting. Legal or not? R65, as I read it, says a co-processor is allowed. Further, with 19-20 s/w people working on code, it's rather difficult to provide platforms for them to work with. Arduinos are cheap. |
|
#7
|
||||
|
||||
|
Re: Robot Co-Processors
Mr. P,
Arduinos may be cheap and a good way to write software in the offseason, but I think you'll spend much more time in integration than you'd spend in just writing C++ code for the cRIO. You could write a layer between the robot logic code and the arduino-specific code such that the robot logic code can be transferred to the WindRiver environment and compiled for the cRIO directly. That's (essentially) what we do on much larger platforms (I program submarines) to isolate software from hardware. However, there will need to be a substantial amount of testing on the CRIO platform before you can call the code reliable. As for the teaching side of things, if you have 20 kids in software then perhaps you can come up with other tasks for half of them to do. Tasks like custom dashboards written in Java that deserialize custom packets from the robot. There's a whole side of robot-human interaction that can be explored if done properly. There's also a very large set of tools these programmers can write for your robot so that tuning PID's, limits of sensors, debug levels of files, etc, become much easier for the other programmers in Week 6. Good luck! |
|
#8
|
||||
|
||||
|
Re: Robot Co-Processors
I just had an idea related to this... Would a rasberry pi attached to the CRIO through the bridge be legal? Would vision processing on that be practical / better than doing it on the CRIO? (ie. not disrupting driving code)
|
|
#9
|
|||||
|
|||||
|
Re: Robot Co-Processors
Quote:
The only reasons to use a co-processor are for computationally intensive tasks (like video processing) or if you need additional sensor input ports beyond what the cRIO can provide. |
|
#10
|
||||
|
||||
|
Re: Robot Co-Processors
Quote:
We're trying an offboard processor following the whitepaper 987 put out at the end of last year so we can offload Kinect processing from the cRIO. We also have some kids dedicated to the interfacing of the 3 systems (cRIO, pandaboard, & custom dashboard). This vision system will (at a high level) not receive communications from the cRIO, but rather be a standalone processor that spits out information which will override certain logic blocks of our autonomous code. That way, [when] the vision system crashes, the autonomous code still has a default set of logic to perform (probably dead reckoning). Last edited by JesseK : 30-11-2012 at 09:50. Reason: IF the vision system crashes -- ha |
|
#11
|
|||||
|
|||||
|
Re: Robot Co-Processors
Could be...as long as you are compliant with all other rules. Among those, direct control, power supply, and protected ports.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|