selfdrive.car.nissan package

Submodules

selfdrive.car.nissan.carcontroller module

class selfdrive.car.nissan.carcontroller.CarController(dbc_name, CP, VM)[source]

Bases: object

update(CC, CS)[source]

selfdrive.car.nissan.carstate module

class selfdrive.car.nissan.carstate.CarState(CP)[source]

Bases: CarStateBase

static get_adas_can_parser(CP)[source]
static get_cam_can_parser(CP)[source]
static get_can_parser(CP)[source]
update(cp, cp_adas, cp_cam)[source]

selfdrive.car.nissan.interface module

class selfdrive.car.nissan.interface.CarInterface(CP, CarController, CarState)[source]

Bases: CarInterfaceBase

apply(c)[source]
static get_params(candidate, fingerprint={0: {}, 1: {}, 2: {}, 3: {}, 4: {}, 5: {}, 6: {}, 7: {}}, car_fw=None, experimental_long=False)[source]

selfdrive.car.nissan.nissancan module

selfdrive.car.nissan.nissancan.create_acc_cancel_cmd(packer, car_fingerprint, cruise_throttle_msg)[source]
selfdrive.car.nissan.nissancan.create_cancel_msg(packer, cancel_msg, cruise_cancel)[source]
selfdrive.car.nissan.nissancan.create_lkas_hud_info_msg(packer, lkas_hud_info_msg, steer_hud_alert)[source]
selfdrive.car.nissan.nissancan.create_lkas_hud_msg(packer, lkas_hud_msg, enabled, left_line, right_line, left_lane_depart, right_lane_depart)[source]
selfdrive.car.nissan.nissancan.create_steering_control(packer, apply_steer, frame, steer_on, lkas_max_torque)[source]

selfdrive.car.nissan.radar_interface module

class selfdrive.car.nissan.radar_interface.RadarInterface(CP)[source]

Bases: RadarInterfaceBase

selfdrive.car.nissan.values module

class selfdrive.car.nissan.values.CAR[source]

Bases: object

ALTIMA = 'NISSAN ALTIMA 2020'
LEAF = 'NISSAN LEAF 2018'
LEAF_IC = 'NISSAN LEAF 2018 Instrument Cluster'
ROGUE = 'NISSAN ROGUE 2019'
XTRAIL = 'NISSAN X-TRAIL 2017'
class selfdrive.car.nissan.values.CarControllerParams[source]

Bases: object

ANGLE_DELTA_BP = [0.0, 5.0, 15.0]
ANGLE_DELTA_V = [5.0, 0.8, 0.15]
ANGLE_DELTA_VU = [5.0, 3.5, 0.4]
LKAS_MAX_TORQUE = 1
STEER_THRESHOLD = 1.0
class selfdrive.car.nissan.values.NissanCarInfo(name: str, package: str = 'ProPILOT Assist', video_link: Union[str, NoneType] = None, footnotes: List[enum.Enum] = <factory>, min_steer_speed: Union[float, NoneType] = None, min_enable_speed: Union[float, NoneType] = None, harness: enum.Enum = <Harness.nissan_a: 'Nissan A'>)[source]

Bases: CarInfo

harness: Enum = 'Nissan A'
package: str = 'ProPILOT Assist'

Module contents