I have a different suggestion for WPILib & WPILibJ:
Make WPILib & WPILibJ as close to the same as possible (and make them make more sense)
also, having WPILib and WPILibJ have the same version number would be nice
Although I have only looked at the Dashboard and Driverstation classes, they are quite a bit different (and helped cause this error
http://www.chiefdelphi.com/forums/sh...2612&page=2#20)
2010:
Code:
C++
dash = DriverStation::GetInstance()->GetHighPriorityDashboardPacker();
dash.Printf("%s",data.c_str());//this sends it as well
Java
dash = DriverStation.getInstance().getDashboardPackerHigh();
dash.addString(data);//this does not send it
dash.commit();
Ideal world (2011?)
Code:
C++
dash = DriverStation::GetInstance()->GetHighPriorityDashboardPacker();
dash.AddString("%s",data.c_str());
dash.Send();
Java
dash = DriverStation.getInstance().getHighPriorityDashboardPacker();
dash.addString(data);
dash.send();