=True) pprint(PEDAL_SCALES,compact
vehicles
vehicle interface definition and various vehicle configurations
=True) pprint(SPEED_SCALES_MULE,compact
=True) pprint(SPEED_SCALES_VB,compact
=True) pprint(TRIANGLE_TEST_CASE_TARGET_VELOCITIES, compact
=True) pprint(TruckCat, compact
Maturity
RE_VIN
OperationHistory
OperationHistory (site:Optional[tspace.data.location.EosLocation]=None, d ate_range:tuple[pandas._libs.tslibs.timestamps.Timestam p,pandas._libs.tslibs.timestamps.Timestamp]=(Timestamp( '2022-12-01 00:00:00+0800', tz='Asia/Shanghai'), Timestamp('2023-12-31 00:00:00+0800', tz='Asia/Shanghai')))
*History of the vehicle operation
Attributes:
site: location of the vehicle
date_range: date range of the vehicle operation*
KvaserMixin
KvaserMixin ()
*Mixin class for Kvaser interface
Attributes:
kvaser_observation_number: number of observation in one unit
kvaser_observation_frequency: frequency of observation
kvaser_countdown: countdown time before observation*
TboxMixin
TboxMixin ()
*Mixin class for Tbox interface
fixed by hardware setting of remotecan
Attributes:
tbox_signal_frequency: frequency of signal
tbox_gear_frequency: frequency of gear
tbox_unit_duration: duration of one unit
tbox_unit_number: number of units*
Truck
Truck (vid:str, vin:str, plate:str, maturity:str, site:tspace.data.location.EosLocation, operation_history:list[__main__.OperationHistory]=<factory>, interface:str='', tbox_id:Optional[str]=None, pedal_scale:tuple=<factory>, _torque_table_col_num:Optional[int]=None, speed_scale:tuple=<factory>, _torque_table_row_num:Optional[int]=None, observation_number:int=3, torque_budget:int=250, torque_lower_bound:float=0.8, torque_upper_bound:float=1.0, torque_bias:float=0.0, torque_table_row_num_flash:int=4, cat:ordered_set.OrderedSet=<factory>, _torque_flash_numel:Optional[int]=None, _torque_full_numel:Optional[int]=None, _observation_numel:Optional[float]=None, _observation_length:Optional[int]=None, _observation_sampling_rate:Optional[float]=None, _observation_duration:Optional[float]=None)
*Truck class
Attributes:
vid: vehicle id (short name) of the truck: VB7, M2, MP2, etc.
vin: Vehicle Identification Number
plate: License plate number
maturity: "VB", "MULE", "MP"
site: current Location of the truck
operation_history: list of Operation history of the truck
interface: interface of the truck, "cloud" or "kvaser"
tbox_id: Tbox id of the truck
pedal_scale: percentage of pedal opening [0, 100]
_torque_table_col_num: number of columns/pedal_scales in the torque map
speed_scale: range of velocity [0, 100] in km/h
_torque_table_row_num: number of rows/speed_scales in the torque map
observation_number: number of observation, 3: velocity, throttle, brake
torque_budget: maximal delta torque to be overlapped on the torque map 250 in Nm
torque_lower_bound: minimal percentage of delta torque to be overlapped on the torque map: 0.8
torque_upper_bound: maximal percentage of delta torque to be overlapped on the torque map: 1.0
torque_bias: bias of delta torque to be overlapped on the torque map: 0.0
torque_table_row_num_flash: number of rows to be flashed in the torque map: 4
cat: category of the truck
_torque_flash_numel: actually flashed number of torque items in the torque map
_torque_full_numel: number of full torque items in the torque map
_observation_numel: number of torque items in the torque map
_observation_length: number of torque items in the torque map
_observation_sampling_rate: sampling rate/frequency of the truck
_observation_duration: sampling rate of the truck*
TruckInCloud
TruckInCloud (vid:str, vin:str, plate:str, maturity:str, site:tspace.data.location.EosLocation, operation_history:li st[__main__.OperationHistory]=<factory>, interface:str='', tbox_id:Optional[str]=None, pedal_scale:tuple=<factory>, _torque_table_col_num:Optional[int]=None, speed_scale:tuple=<factory>, _torque_table_row_num:Optional[int]=None, observation_number:int=3, torque_budget:int=250, torque_lower_bound:float=0.8, torque_upper_bound:float=1.0, torque_bias:float=0.0, torque_table_row_num_flash:int=4, cat:ordered_set.OrderedSet=<factory>, _torque_flash_numel:Optional[int]=None, _torque_full_numel:Optional[int]=None, _observation_numel:Optional[float]=None, _observation_length:Optional[int]=None, _observation_sampling_rate:Optional[float]=None, _observation_duration:Optional[float]=None)
*Truck in cloud
Attributes:
interface: interface of the truck, "cloud"
observation_length: length of observation
observation_numel: number of observation
observation_sampling_rate: sampling rate of observation
observation_duration: duration of observation
torque_table_row_num_flash: number of rows to be flashed in the torque map*
TruckInField
TruckInField (vid:str, vin:str, plate:str, maturity:str, site:tspace.data.location.EosLocation, operation_history:li st[__main__.OperationHistory]=<factory>, interface:str='', tbox_id:Optional[str]=None, pedal_scale:tuple=<factory>, _torque_table_col_num:Optional[int]=None, speed_scale:tuple=<factory>, _torque_table_row_num:Optional[int]=None, observation_number:int=3, torque_budget:int=250, torque_lower_bound:float=0.8, torque_upper_bound:float=1.0, torque_bias:float=0.0, torque_table_row_num_flash:int=4, cat:ordered_set.OrderedSet=<factory>, _torque_flash_numel:Optional[int]=None, _torque_full_numel:Optional[int]=None, _observation_numel:Optional[float]=None, _observation_length:Optional[int]=None, _observation_sampling_rate:Optional[float]=None, _observation_duration:Optional[float]=None)
*Truck in field
Attributes:
interface: interface of the truck, "kvaser"
observation_length: length of observation
observation_numel: number of observation
observation_sampling_rate: sampling rate of observation
observation_duration: duration of observation
torque_table_row_num_flash: number of rows to be flashed in the torque map*
=True) pprint(trucks, compact
=True) pprint(trucks_all, compact
=True) pprint(trucks_by_id, compact
trucks_by_vin