Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Current »

driver_name: pacmod3
msgs_name: pacmod_msgs

An open-source ROS driver for interacting with the PACMod (v3 and above) drive-by-wire system.

Supported Hardware

  • Lexus RX-450h
  • More coming soon...

Published Topics

Message TypeTopic Name

Description

can_msgs/Framecan_rxAll data published on this topic are raw CAN messages intended to be sent to the PACMod. 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].

Conditionally Published Topics (Dependent Upon Vehicle Type)

Message TypeTopic NameDescription
pacmod_msgs/SystemRptIntparsed_tx/cruise_control_buttons_rptStatus and parsed values [enum] of the cruise control buttons subsystem.
pacmod_msgs/SystemRptIntparsed_tx/dash_controls_left_rptStatus and parsed values [enum] of the dash controls (left) subsystem.
pacmod_msgs/SystemRptIntparsed_tx/dash_controls_right_rptStatus and parsed values [enum] of the dash controls (right) subsystem.
pacmod_msgs/SystemRptIntparsed_tx/headlight_rptStatus and parsed values [enum] of the headlight subsystem.
pacmod_msgs/SystemRptBoolparsed_tx/horn_rptStatus and parsed values [bool] of the horn subsystem.
pacmod_msgs/SystemRptIntparsed_tx/media_controls_rptStatus and parsed values [enum] of the media controls subsystem.
pacmod_msgs/SystemRptBoolparsed_tx/parking_brake_rptStatus and parsed values [bool] of the parking brake subsystem.
pacmod_msgs/SystemRptIntparsed_tx/wiper_rptStatus and parsed values [enum] of the wiper subsystem.

pacmod_msgs/HeadlightAuxRpt

parsed_tx/headlight_aux_rptAdditional information about the vehicle's headlight subsystem. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/WiperAuxRptparsed_tx/wiper_aux_rptAdditional information about the vehicle's wiper subsystem. Includes _is_valid flags for each field to indicate validity.
pacmod_msgs/MotorRpt1parsed_tx/brake_rpt_detail_1Motor detail report values for the brake motor (current [A] and position [rad]).
pacmod_msgs/MotorRpt2parsed_tx/brake_rpt_detail_2Motor detail report values for the brake motor (encoder temp [C], motor temp [C], and rotation velocity [rad/s]).
pacmod_msgs/MotorRpt3parsed_tx/brake_rpt_detail_3Motor detail report values for the brake motor (torque output and input [Nm]).
pacmod_msgs/DateTimeRptparsed_tx/date_time_rptThe vehicle-provided date and time (usually from GPS).
pacmod_msgs/DoorRptparsed_tx/door_rptCurrent status of all doors on the vehicle (open or closed) and _is_valid flags for each.
pacmod_msgs/InteriorLightsRptparsed_tx/interior_lights_rptThe on/off and dim level status of vehicle interior lights and _is_valid flags for each.
pacmod_msgs/LatLonHeadingRptparsed_tx/lat_lon_heading_rptThe vehicle-provided latitude, longitude, and heading
pacmod_msgs/OccupancyRptparsed_tx/occupancy_rptThe occupancy and seat belt status of the available passenger locations in the car and _is_valid flags for each.
pacmod_msgs/RearLightsRptparsed_tx/rear_lights_rptThe on/off status of the brake and reverse lights and _is_valid flags for each.
pacmod_msgs/SteeringPIDRpt1parsed_tx/steer_pid_rpt_1Current dt, Kp, Ki, and Kd values of the torque-based steering control PID loop.
pacmod_msgs/SteeringPIDRpt2parsed_tx/steer_pid_rpt_2Current P, I, and D terms and the sum of P, I, and D terms of the torque-based steering control PID loop.
pacmod_msgs/SteeringPIDRpt3parsed_tx/steer_pid_rpt_3The new torque, torque feedback, calculated angular position, and error values from the torque-based steering control PID loop.
pacmod_msgs/SteeringPIDRpt4parsed_tx/steer_pid_rpt_4The angular velocity and angular acceleration from the torque-based steering control PID loop.
pacmod_msgs/MotorRpt1parsed_tx/steer_rpt_detail_1Motor detail report values for the steering motor (current [A] and position [rad]).
pacmod_msgs/MotorRpt2parsed_tx/steer_rpt_detail_2Motor detail report values for the steering motor (encoder temp [C], motor temp [C], and rotation velocity [rad/s]).
pacmod_msgs/MotorRpt3parsed_tx/steer_rpt_detail_3Motor detail report values for the steering motor (torque output and input [Nm]).
pacmod_msgs/WheelSpeedRptparsed_tx/wheel_speed_rptSpeeds of individual wheels [m/s].
pacmod_msgs/YawRateRptparsed_tx/yaw_rate_rpt

The yaw rate reported by the vehicle's internal IMU.

Subscribed Topics

Message TypeTopic NameDescription
can_msgs/Framecan_txAll data published on this topic are parsed by the PACMod driver. This topic should be 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).

  • No labels