Repaired simulation build on linux

Reverted to old driverstation and joystick code because we're not ready
for windows drive station yet

updated paths to reflect new wpilib organization
fixed name of gazebo topic (if you want /gazebo/frc/time use ~/time)
included network tables in wpilibJavaSim
Added ds script, and improved frcsim script
always start gazebo with verbose

Change-Id: I3c54b7000019a5985079a88200896a8069e69b86
This commit is contained in:
Peter_Mitrano
2015-11-29 00:57:27 -05:00
parent 0d062fba3a
commit d69803804f
15 changed files with 582 additions and 802 deletions

View File

@@ -39,10 +39,16 @@ public:
transport::NodePtr main;
private:
MainNode() {
gazebo::client::setup();
main = transport::NodePtr(new transport::Node());
main->Init("frc");
gazebo::transport::run();
bool success = gazebo::client::setup();
if (success){
main = transport::NodePtr(new transport::Node());
main->Init("frc");
gazebo::transport::run();
}
else {
std::cout << "An error has occured setting up gazebo_client!" << std::endl;
}
}
};