|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Dispslay cout in Eclipse
Does anyone know how we can see what should be displayed with cout? We used the vx Works target server last year, but it is not available Eclipse for the 2015 year. We are trying Riolog but nothing shows up. Any help displaying any feedback from the RoboRIO would be greatly appreciated!
|
|
#2
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
Make sure that the network, and the subnet masks in particular, are set correctly. If you can, use the radio configuration tool to set up the dlink access point, then set your laptop and the roboRIO to DHCP. You should make sure that the subnet mask on the network interface you are using to connect to the robot is 255.255.255.0.
|
|
#3
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
we use printf and the output *does* show up in riolog. ordinarily std::cout and printf both write to stdout, but maybe this isn't the case here.
|
|
#4
|
||||
|
||||
|
Re: Dispslay cout in Eclipse
Our team just did this today using a console out. I used a std:: out << "Whatever" << std::endl. Also make sure your driver station is enabled.
|
|
#5
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
We are also having this problem. We will check out subnet masks and report back. But for us now in Java the use of println does not seem to print to rio log. We are using the dashboard for output right now which works well.
|
|
#6
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
There was a new update posted on Friday that fixes the buffering issue with RIOlog. It also fixes a number of other things and adds 2015 Vision examples for C++ and Java.
|
|
#7
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
Quote:
I'm hoping this update brings the C++ CANTalon up to parity with the Java library (I need to invert a slave CANTalon). EDIT: Ah, the CPPandJava.ZIP file has been replaced with a new version (at http://first.wpi.edu/FRC/roborio/zipfile/). The instructions are the same. Last edited by JefferMC : 19-01-2015 at 22:41. |
|
#8
|
||||
|
||||
|
Re: Dispslay cout in Eclipse
Quote:
http://www.crosstheroadelectronics.c...ol_system.html |
|
#9
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
Quote:
But the Java libraries and the C++ libraries are supposed to be functionally equivalent, right? Why are they out of sync here? |
|
#10
|
|||
|
|||
|
Re: Dispslay cout in Eclipse
Quote:
so in summary, our radio is set as the DHCP server, with subnet 255.255.255.0 and both the rio, and connected pc/driverstation is now set to get ip address automatically via dhcp. It works now. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|