|
Maps SDK for C++ 1.0.0
|
eBike profile More...


Public Member Functions | |
| ElectricBikeProfile (EEBikeType bikeT=EBP_Pedelec, float bikeMassKg=0.f, float bikerMassKg=0.f, float auxConsDayW=0.f, float auxConsNightW=0.f) noexcept | |
| default constructor ElectricBikeProfile | |
| bool | operator== (const ElectricBikeProfile &p) const |
| Comparison operator. | |
| bool | operator!= (const ElectricBikeProfile &p) const |
| Comparison operator. | |
| ElectricBikeProfile & | setBatteryInfo (float capacity, float depSoc) |
| Setter for battery info. | |
| ElectricBikeProfile & | setRefSpeed (float speed) |
| Setter for reference speed. | |
Public Attributes | |
| EEBikeType | type |
| float | bikeMass |
| float | bikerMass |
| float | auxConsumptionDay |
| float | auxConsumptionNight |
| float | batteryCapacity |
| float | departureSoc |
| float | refSpeed |
| reference speed in m/s. The usual speed for this e-bike type, default is 0 meaning an internal SDK parameter is used | |
| bool | ignoreLegalRestrictions |
| String | plateNumber |
eBike profile
|
inlinenoexcept |
default constructor ElectricBikeProfile
| bikeT | eBike type |
| bikeMassKg | bike mass in kg |
| bikerMassKg | biker mass in kg |
| auxConsDayW | bike auxiliary power consumption during day in Watts |
| auxConsNightW | bike auxiliary power consumption during night in Watts |
|
inline |
Setter for battery info.
| capacity | battery usable capacity in Wh |
| depSoc | departure battery state of charge, from 0.f ( empty ) to 1.f ( full ) |
|
inline |
Setter for reference speed.
| speed | reference speed in m/s. The usual speed for this e-bike type, default is 0 meaning an internal SDK parameter is used |
| float gem::ElectricBikeProfile::auxConsumptionDay |
Bike auxiliary power consumption during day in Watts. If 0, a default value is used
| float gem::ElectricBikeProfile::auxConsumptionNight |
Bike auxiliary power consumption during night in Watts. If 0, a default value is used
| float gem::ElectricBikeProfile::batteryCapacity |
battery usable capacity Wh
| float gem::ElectricBikeProfile::bikeMass |
Bike mass in kg. If 0, a default value is used
| float gem::ElectricBikeProfile::bikerMass |
Biker mass in kg. If 0, a default value is used
| float gem::ElectricBikeProfile::departureSoc |
Departure battery state of charge, from 0.f ( empty ) to 1.f ( full )
| bool gem::ElectricBikeProfile::ignoreLegalRestrictions |
Ignore country based legal restrictions related to e-bikes
|
inherited |
Vehicle plate number
| EEBikeType gem::ElectricBikeProfile::type |
eBike type