![]() |
Re: Who is Programming the cRIO with C++ and what success are you having?
WindRiver takes a lot of getting used too... It's Team 1241's first time using the environment (including mentor's) so it took us a while to get familiarized with everything, but with some help from our neighboring teams (thanks 1114 and 1503) we have made headway with coding.
With the Iterative Robot code, when we try to build (after including all the WPILib Files and others), we get errors only when WindRiver reaches the last file (IterativeRobot.out)... The errors however, are located on lines which either have "{" or "//"... but none of the errors occur on lines with any code on them, wondering if any other teams have encountered a similar problem (and any suggestions on how to get around it)... this occurs in many many files (ie. Compressor.cpp, Counter.cpp, etc) and often occurs on a line in the middle of a commented section (from file "Counter.cpp): Quote:
|
Re: Who is Programming the cRIO with C++ and what success are you having?
That typically means the error actually occurred prior to the line pointed out.
The line quoted is just how far the compiler got before it figured out something wasn't quite right. |
Re: Who is Programming the cRIO with C++ and what success are you having?
Hello from TEAM 141, West Ottawa High School the WOBOT. We have our test robot up and running using the Wind River C++ development tools. We used the base example code and have been able to modify and download into our robot. We are working on a simplified setup document to help our team members work in teams to develop new functions.
This week we are testing and documenting all the sensors we have used in our last 3 robots. We want to have a library of sensor we can use and example code for each sensor. David Barr |
Re: Who is Programming the cRIO with C++ and what success are you having?
I too cannot get the Iterative Robot to build. Anyone know the answer?
|
Re: Who is Programming the cRIO with C++ and what success are you having?
yarb, are you getting errors saying "Multiple Definitions" of counters, etc?...
I'm not exactly sure how these files have multiple definitions, but our errors are all based around multiple definitions of various operations (counterinit for example)... funny thing is its a default code, no modifications this time. Only thing we haven't tried yet is re-installing the software. |
Re: Who is Programming the cRIO with C++ and what success are you having?
It is extreamy important that when you install Windriver and the update to make sure you install to the default locations.
Software Path: C:\windriver Workspace Path C:\windriver\workspace If these install locations are not kept, you will be fighting an uphill battle to make the software work. Once it's running, you should be able to get your robot programmed quickly with the avalible default code. I highly recommend making sure the sample code compiles before changing any of the code. Then get it deployed to the robot, that way you have a baseline to work from. Team 40 has had pretty good luck with both Labview and Windriver. |
| All times are GMT -5. The time now is 19:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi