CAN
feral3gp.feral.can(config, director=Simulation.director_de)
¶
Source code in feral3gp/feral/network/can.py
8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
feral3gp.feral.CANConfig
dataclass
¶
Bases: NetworkConfig
Source code in feral3gp/feral/network/can_config.py
16 17 18 19 20 21 22 23 24 25 |
|
bit_stuffing_mode: BitStuffingMode = BitStuffingMode.NONE
class-attribute
instance-attribute
¶
Configure the bit stuffing mode of the CAN bus (NONE, ACCURATE or WORST_CASE)
data_bit_rate: int = 8000000
class-attribute
instance-attribute
¶
The data transmission rate of the CAN bus in Bits/s. Default is 8 mbit/s
feral3gp.feral.CANNodeConfig
dataclass
¶
Bases: NodeConfig
Source code in feral3gp/feral/network/can_config.py
7 8 9 10 11 12 13 |
|
drop_duplicated_frames: bool = True
class-attribute
instance-attribute
¶
Configure if duplicated frames should be dropped (true) or not (false)