mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
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:
@@ -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 &) {
|
||||
|
||||
Reference in New Issue
Block a user