Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Message TypeTopic Name

Description

can_msgs/Framecan_rxAll data published on this topic is are raw CAN messages intended to be sent to the PACMod system via . This topic should be subscribed to by a CAN interface node (like kvaser_interface or socketcan_bridge).
pacmod_msgs/GlobalRptparsed_tx/global_rptHigh-level data about the entire PACMod system.
pacmod_msgs/SystemRptFloatparsed_tx/accel_rptStatus and parsed values [pct] of the throttle subsystem.
pacmod_msgs/SystemRptFloatparsed_tx/brake_rptStatus and parsed values [pct] of the steering subsystem.
pacmod_msgs/SystemRptIntparsed_tx/turn_rptStatus and parsed values [enum] of the turn signal subsystem.
pacmod_msgs/SystemRptIntparsed_tx/shift_rptStatus and parsed values [enum] of the gear/transmission subsystem.
pacmod_msgs/SystemRptFloatparsed_tx/steer_rptStatus and parsed values [rad] of the steering susbsystem.
pacmod_msgs/AccelAuxRptparsed_tx/accel_aux_rptAdditional information about the vehicle's accelerator system. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/BrakeAuxRptparsed_tx/brake_aux_rptAdditional information about the vehicle's brake system. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/ShiftAuxRptparsed_tx/shift_aux_rptAdditional information about the vehicle's shifting system. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/SteerAuxRptparsed_tx/steer_aux_rptAdditional information about the vehicle's steering system. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/TurnAuxRptparsed_tx/turn_aux_rptAdditional information about the vehicle's turn signal system. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/VehicleSpeedRptparsed_tx/vehicle_speed_rpt

The vehicle's current speed [mph], the validity of the speed message [bool], and the raw CAN message from the vehicle CAN.

pacmod_msgs/VinRptparsed_tx/vin_rptThe configured vehicle's VIN, make, model, manufacturer, and model year.
pacmod_msgs/AllSystemStatusesas_tx/all_system_statusesThe current enable, fault, and override active statuses of all vehicle systems for this vehicle.
std_msgs/Boolas_tx/enabledThe current status of the PACMod's control of the vehicle. If the PACMod is enabled, this value will be true. If it is disabled or overridden, this value will be false.
std_msgs/Float64as_tx/vehicle_speedThe vehicle's current speed [m/s].

...

Message TypeTopic NameDescription
can_msgs/Framecan_txAll data published to on this topic will be are parsed by the PACMod driver. This topic should be connected published to by a CAN interface node (like kvaser_interface or socketcan_bridge).
pacmod_msgs/SystemCmdFloatas_rx/accel_cmdCommands the throttle subsystem to seek a specific pedal position [pct - 0.0 to 1.0].
pacmod_msgs/SystemCmdFloatas_rx/brake_cmdCommands the brake subsystem to seek a specific pedal position [pct - 0.0 to 1.0].
pacmod_msgs/SystemCmdIntas_rx/shift_cmdCommands the gear/transmission subsystem to shift to a different gear [enum].
pacmod_msgs/SteerSystemCmdas_rx/steer_cmdCommands the steering subsystem to seek a specific steering wheel angle [rad] at a given rotation velocity [rad/s].
pacmod_msgs/SystemCmdIntas_rx/turn_cmdCommands the turn signal subsystem to transition to a given state [enum].

Conditionally Subscribed Topics (Dependent Upon Vehicle Type)

Message TypeTopic NameDescription
pacmod_msgs/SystemCmdIntas_rx/headlight_cmdCommands to the headlight subsystem to enable/disable and set to low/high beams [enum].
pacmod_msgs/SystemCmdBoolas_rx/horn_cmdCommands to the horn subsystem to enable/disable [bool].
pacmod_msgs/SystemCmdBoolas_rx/parking_brake_cmdCommands to the parking brake subsystem to enable/disable [bool].
pacmod_msgs/SystemCmdIntas_rx/wiper_cmdCommands to the wiper subsystem to set off, intermittent (1-6), low, or high [enum].

Parameters

~vehicle_type
    A string value indicating the type of vehicle to which the PACMod is connected. Valid values are:  LEXUS_RX_450H, VEHICLE_4 or VEHICLE_5 (more coming soon).