So C++ Issues

Hi Everyone,

I’m here now because we are having some problems using the WindRiver Worbench, last year we used Java all we had to do was install the plugins and update the WPI , after that ,everything we needed to do was running the code to send it do the robot.

Today we have saw WindRiver and configured it, we can run the code to robot, but what we have to do to have feed back from the robot , and how we will see it ?, we tryed all the 4 different ways in doc 1197, using for get feed back from 8-slot cRIO typing cout and printf , and any of them give us the information.

Another Issue we are having is Getting camera images, we use the camera connected to cRIO port2 , its IP is set to : 192.168.0.90, we have already created the two default users(FRC/FRC and root/admin) but when we declare
AxisCamera::GetInstance(“192.168.0.90”) ,nothing happens to official dashboard.
So, we are in a need to talk or make a conference with another team that uses C++, if there is any that could give us help, please, contact me at my e-mail: [email protected].

It is our first year using C++ , and we need a lot of help here, since it isn’t working well for us.

Thanks,
Cesar.

printf is the best way (from my experience), you view it by right clicking on the target (robot) and clicking target tools, then something along the lines of target consul. which should only be used in the shop for debugging. you can also print information to the driver station, and the logger. i’m not sure whether you have your axis camera configured properly as i have not used it in a while… or yet this season…

The default dashboard is set up to expect the camera at 10.xx.yy.11. To use the camera in the configuration you have it, you will have to install LabVIEW, create a dashboard project, change the camera IP, build the Dashboard and use your new Dashboard.A possibly easier option would be to set up the camera to plug into the robot radio as described on Page 27 of Getting Started with the 2012 FRC Control System.

Where to Found the camera ip addres to change in LabView???

We were looking at LabView, but we couldn’t find it xD

got it