All Forum passwords have been reset as of ~3:00PM Eastern time 3/23/17. Use the forgotten password form to reset your password.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You will have to register before you can post by clicking on the Registration link above. To start viewing messages, select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
WPI robot samples NOT showing the popup "FRC Simulation DriverStation" box
There is an issue with the C++ gearsbot order of initialization of environment variables which causes the DS to not start.
Hello, your response was right on. I changed the build.properties file contents as follows, and I now see the DS to start as expected when running in C++. On the console, I was getting "SimDS.jar not found" which obviously meant something was not configured properly.
# Simulation # ***** is your home directory
simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world
sim.exe=Simulate/${out}
#wpilib.sim=${wpilib}/sim
wpilib.sim=/home/*****/wpilib/cpp/current/sim
sim.tools=${wpilib.sim}/tools
sim.lib=${wpilib.sim}/lib
For what it's worth, I see the same thing. We intend to use C++, but I loaded the Java examples just to check out the simulator. The Java GearsBot example does nothing when I select Autonomous and click Enable, nor does it do anything in Teleop or Test modes.
Are there any visible errors in the console, I just retested the Java gearsbot and it works for me. I'll test the C++ GearsBot shortly.
The Java PacGoat example doesn't even compile. I was really hoping we'd be able to use the simulator this year.
Can you post the error, it's currently compiling for me.
Also, are we able to use FTC's Logitech joystick to work with this FRCSim?
FRCSim can use any joystick that Linux can detect. I did most my testing with Logitech controllers, so I would expect it to work. However, you may need to edit OI.cpp/OI.java if the Joystick buttons or axes need to be remapped.
In C++ using Eclipse, Running Autonomous step does NOT show "FRC Simulation DriverStation" popup box. However, using Java, it does show the popup box. Has anybody seen this behavior before? If so, how do you make the popup box to show up?
I haven't seen that behavior before, you can launch the simulation driverstation manually, but the fact that it's not showing up is likely the sign of a bigger issue. Can you paste the contents of your console when you run "WPILib C++ Simulation"?
To run the driverstation manually, run the following in a terminal:
For what it's worth, I see the same thing. We intend to use C++, but I loaded the Java examples just to check out the simulator. The Java GearsBot example does nothing when I select Autonomous and click Enable, nor does it do anything in Teleop or Test modes. The Java PacGoat example doesn't even compile. I was really hoping we'd be able to use the simulator this year.
Hi, Steve, thank you so much for your feedback. In my case using Java for GearsBot, I can select Autonomous, Enable, and the robot picks up the can and place it on the table in front. This seems like it is supposed to do. In Teleop, I don't seem to be able to control it using FTC Logitech USB controller at all, and the robot makes a large circular motion on its own automonously (and soon it hits the table after a few large rotation). Test mode doesn't appear to do anything for me...
Java PacGoat compiles ok in my VM. Autonomous mode seems to make the the robot move backwards to hit the wall, but it doesn't seem to be doing any useful work (?). I don't seem to be able to control robot on Teleop, either.
In C++, both robots compile, but I don't see the Autonomous/Teleop popup box as I mentioned in the original post, so I don't seem to be able to get it working to test Autonomous/Teleop...
Re: WPI robot samples NOT showing the popup "FRC Simulation DriverStation" box
For what it's worth, I see the same thing. We intend to use C++, but I loaded the Java examples just to check out the simulator. The Java GearsBot example does nothing when I select Autonomous and click Enable, nor does it do anything in Teleop or Test modes. The Java PacGoat example doesn't even compile. I was really hoping we'd be able to use the simulator this year.
In C++ using Eclipse, Running Autonomous step does NOT show "FRC Simulation DriverStation" popup box. However, using Java, it does show the popup box. Has anybody seen this behavior before? If so, how do you make the popup box to show up?
Also, are we able to use FTC's Logitech joystick to work with this FRCSim?
Any help is appreciated. Thanks!
FYI, here's my configuration:
Ubuntu 14.04 64 bit VM running in Mac OS X VMware Fusion, with all Ubuntu updates as of 1/6/2015.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: