Added Map and StreetView charts to the TrainTool.

Following changes
* added google Map and Streetview charts.
* changed the telemetryUpdate to use a const reference instead of a value.
* RealtimeData is const correct, or more const correct than it was...
* added a new resource files to support the new charts.
* changed the NullController to return a constant speed to help with development.
This commit is contained in:
Greg Lonnon
2011-09-20 20:29:31 -06:00
parent 4c126d9658
commit af18bc83cf
19 changed files with 911 additions and 38 deletions

View File

@@ -46,10 +46,11 @@ int NullController::restart() {
}
void NullController::getRealtimeData(RealtimeData &rtData) {
RealtimeData null;
null.setName((char *)"Null");
null.setWatts(load);
rtData = null;
rtData.setName((char *)"Null");
rtData.setWatts(load);
rtData.setSpeed(20);
rtData.setCadence(90);
rtData.setHr(145);
}
void NullController::pushRealtimeData(RealtimeData &) {