20 std::lock_guard<std::mutex> lck(
_data_mut);
26 std::lock_guard<std::mutex> lck(
_data_mut);
33 std::shared_ptr<Pacmod3TxMsg>& parser_class)
38 pacmod_msgs::SystemRptBool new_msg;
39 fillSystemRptBool(parser_class, new_msg, frame_id);
51 pacmod_msgs::SystemRptInt new_msg;
52 fillSystemRptInt(parser_class, new_msg, frame_id);
59 pacmod_msgs::SystemRptFloat new_msg;
60 fillSystemRptFloat(parser_class, new_msg, frame_id);
65 pacmod_msgs::GlobalRpt new_msg;
66 fillGlobalRpt(parser_class, new_msg, frame_id);
72 pacmod_msgs::MotorRpt1 new_msg;
73 fillMotorRpt1(parser_class, new_msg, frame_id);
79 pacmod_msgs::MotorRpt2 new_msg;
80 fillMotorRpt2(parser_class, new_msg, frame_id);
86 pacmod_msgs::MotorRpt3 new_msg;
87 fillMotorRpt3(parser_class, new_msg, frame_id);
92 pacmod_msgs::AccelAuxRpt new_msg;
93 fillAccelAuxRpt(parser_class, new_msg, frame_id);
98 pacmod_msgs::BrakeAuxRpt new_msg;
99 fillBrakeAuxRpt(parser_class, new_msg, frame_id);
104 pacmod_msgs::DateTimeRpt new_msg;
105 fillDateTimeRpt(parser_class, new_msg, frame_id);
110 pacmod_msgs::DoorRpt new_msg;
111 fillDoorRpt(parser_class, new_msg, frame_id);
116 pacmod_msgs::HeadlightAuxRpt new_msg;
117 fillHeadlightAuxRpt(parser_class, new_msg, frame_id);
122 pacmod_msgs::InteriorLightsRpt new_msg;
123 fillInteriorLightsRpt(parser_class, new_msg, frame_id);
128 pacmod_msgs::LatLonHeadingRpt new_msg;
129 fillLatLonHeadingRpt(parser_class, new_msg, frame_id);
134 pacmod_msgs::OccupancyRpt new_msg;
135 fillOccupancyRpt(parser_class, new_msg, frame_id);
140 pacmod_msgs::RearLightsRpt new_msg;
141 fillRearLightsRpt(parser_class, new_msg, frame_id);
146 pacmod_msgs::ShiftAuxRpt new_msg;
147 fillShiftAuxRpt(parser_class, new_msg, frame_id);
152 pacmod_msgs::SteerAuxRpt new_msg;
153 fillSteerAuxRpt(parser_class, new_msg, frame_id);
158 pacmod_msgs::SteeringPIDRpt1 new_msg;
159 fillSteeringPIDRpt1(parser_class, new_msg, frame_id);
164 pacmod_msgs::SteeringPIDRpt2 new_msg;
165 fillSteeringPIDRpt2(parser_class, new_msg, frame_id);
170 pacmod_msgs::SteeringPIDRpt3 new_msg;
171 fillSteeringPIDRpt3(parser_class, new_msg, frame_id);
176 pacmod_msgs::SteeringPIDRpt4 new_msg;
177 fillSteeringPIDRpt4(parser_class, new_msg, frame_id);
182 pacmod_msgs::TurnAuxRpt new_msg;
183 fillTurnAuxRpt(parser_class, new_msg, frame_id);
188 pacmod_msgs::YawRateRpt new_msg;
189 fillYawRateRpt(parser_class, new_msg, frame_id);
194 pacmod_msgs::VehicleSpeedRpt new_msg;
195 fillVehicleSpeedRpt(parser_class, new_msg, frame_id);
200 pacmod_msgs::VinRpt new_msg;
201 fillVinRpt(parser_class, new_msg, frame_id);
206 pacmod_msgs::WheelSpeedRpt new_msg;
207 fillWheelSpeedRpt(parser_class, new_msg, frame_id);
212 pacmod_msgs::WiperAuxRpt new_msg;
213 fillWiperAuxRpt(parser_class, new_msg, frame_id);
218 pacmod_msgs::DetectedObjectRpt new_msg;
219 fillDetectedObjectRpt(parser_class, new_msg, frame_id);
224 pacmod_msgs::VehicleSpecificRpt1 new_msg;
225 fillVehicleSpecificRpt1(parser_class, new_msg, frame_id);
230 pacmod_msgs::VehicleDynamicsRpt new_msg;
231 fillVehicleDynamicsRpt(parser_class, new_msg, frame_id);
241 new_msg.
enabled = dc_parser->enabled;
242 new_msg.override_active = dc_parser->override_active;
243 new_msg.command_output_fault = dc_parser->command_output_fault;
244 new_msg.input_output_fault = dc_parser->input_output_fault;
245 new_msg.output_reported_fault = dc_parser->output_reported_fault;
246 new_msg.pacmod_fault = dc_parser->pacmod_fault;
247 new_msg.vehicle_fault = dc_parser->vehicle_fault;
249 new_msg.manual_input = dc_parser->manual_input;
250 new_msg.command = dc_parser->command;
251 new_msg.output = dc_parser->output;
253 new_msg.header.frame_id = frame_id;
259 auto dc_parser = std::dynamic_pointer_cast<
SystemRptIntMsg>(parser_class);
261 new_msg.
enabled = dc_parser->enabled;
262 new_msg.override_active = dc_parser->override_active;
263 new_msg.command_output_fault = dc_parser->command_output_fault;
264 new_msg.input_output_fault = dc_parser->input_output_fault;
265 new_msg.output_reported_fault = dc_parser->output_reported_fault;
266 new_msg.pacmod_fault = dc_parser->pacmod_fault;
267 new_msg.vehicle_fault = dc_parser->vehicle_fault;
269 new_msg.manual_input = dc_parser->manual_input;
270 new_msg.command = dc_parser->command;
271 new_msg.output = dc_parser->output;
273 new_msg.header.frame_id = frame_id;
281 new_msg.
enabled = dc_parser->enabled;
282 new_msg.override_active = dc_parser->override_active;
283 new_msg.command_output_fault = dc_parser->command_output_fault;
284 new_msg.input_output_fault = dc_parser->input_output_fault;
285 new_msg.output_reported_fault = dc_parser->output_reported_fault;
286 new_msg.pacmod_fault = dc_parser->pacmod_fault;
287 new_msg.vehicle_fault = dc_parser->vehicle_fault;
289 new_msg.manual_input = dc_parser->manual_input;
290 new_msg.command = dc_parser->command;
291 new_msg.output = dc_parser->output;
293 new_msg.header.frame_id = frame_id;
299 auto dc_parser = std::dynamic_pointer_cast<
GlobalRptMsg>(parser_class);
301 new_msg.
enabled = dc_parser->enabled;
302 new_msg.override_active = dc_parser->override_active;
303 new_msg.fault_active = dc_parser->fault_active;
304 new_msg.config_fault_active = dc_parser->config_fault_active;
305 new_msg.user_can_timeout = dc_parser->user_can_timeout;
306 new_msg.steering_can_timeout = dc_parser->steering_can_timeout;
307 new_msg.brake_can_timeout = dc_parser->brake_can_timeout;
308 new_msg.subsystem_can_timeout = dc_parser->subsystem_can_timeout;
309 new_msg.vehicle_can_timeout = dc_parser->vehicle_can_timeout;
310 new_msg.user_can_read_errors = dc_parser->user_can_read_errors;
312 new_msg.header.frame_id = frame_id;
318 auto dc_parser = std::dynamic_pointer_cast<
AccelAuxRptMsg>(parser_class);
321 new_msg.raw_pedal_force = dc_parser->raw_pedal_force;
322 new_msg.user_interaction = dc_parser->user_interaction;
323 new_msg.raw_pedal_pos_is_valid = dc_parser->raw_pedal_pos_is_valid;
324 new_msg.raw_pedal_force_is_valid = dc_parser->raw_pedal_force_is_valid;
325 new_msg.user_interaction_is_valid = dc_parser->user_interaction_is_valid;
327 new_msg.header.frame_id = frame_id;
333 auto dc_parser = std::dynamic_pointer_cast<
BrakeAuxRptMsg>(parser_class);
336 new_msg.raw_pedal_force = dc_parser->raw_pedal_force;
337 new_msg.raw_brake_pressure = dc_parser->raw_brake_pressure;
338 new_msg.user_interaction = dc_parser->user_interaction;
339 new_msg.brake_on_off = dc_parser->brake_on_off;
340 new_msg.raw_pedal_pos_is_valid = dc_parser->raw_pedal_pos_is_valid;
341 new_msg.raw_pedal_force_is_valid = dc_parser->raw_pedal_force_is_valid;
342 new_msg.user_interaction_is_valid = dc_parser->user_interaction_is_valid;
343 new_msg.brake_on_off_is_valid = dc_parser->brake_on_off_is_valid;
345 new_msg.header.frame_id = frame_id;
351 auto dc_parser = std::dynamic_pointer_cast<
DateTimeRptMsg>(parser_class);
353 new_msg.
year = dc_parser->year;
354 new_msg.month = dc_parser->month;
355 new_msg.day = dc_parser->day;
356 new_msg.hour = dc_parser->hour;
357 new_msg.minute = dc_parser->minute;
358 new_msg.second = dc_parser->second;
360 new_msg.header.frame_id = frame_id;
369 new_msg.front_object_distance_high_res = dc_parser->front_object_distance_high_res;
371 new_msg.header.frame_id = frame_id;
376 auto dc_parser = std::dynamic_pointer_cast<
DoorRptMsg>(parser_class);
379 new_msg.driver_door_open_is_valid = dc_parser->driver_door_open_is_valid;
380 new_msg.passenger_door_open = dc_parser->passenger_door_open;
381 new_msg.passenger_door_open_is_valid = dc_parser->passenger_door_open_is_valid;
382 new_msg.rear_driver_door_open = dc_parser->rear_driver_door_open;
383 new_msg.rear_driver_door_open_is_valid = dc_parser->rear_driver_door_open_is_valid;
384 new_msg.rear_passenger_door_open = dc_parser->rear_passenger_door_open;
385 new_msg.rear_passenger_door_open_is_valid = dc_parser->rear_passenger_door_open_is_valid;
386 new_msg.hood_open = dc_parser->hood_open;
387 new_msg.hood_open_is_valid = dc_parser->hood_open_is_valid;
388 new_msg.trunk_open = dc_parser->trunk_open;
389 new_msg.trunk_open_is_valid = dc_parser->trunk_open_is_valid;
390 new_msg.fuel_door_open = dc_parser->fuel_door_open;
391 new_msg.fuel_door_open_is_valid = dc_parser->fuel_door_open_is_valid;
393 new_msg.header.frame_id = frame_id;
402 new_msg.headlights_on_bright = dc_parser->headlights_on_bright;
403 new_msg.fog_lights_on = dc_parser->fog_lights_on;
404 new_msg.headlights_mode = dc_parser->headlights_mode;
405 new_msg.headlights_on_is_valid = dc_parser->headlights_on_is_valid;
406 new_msg.headlights_on_bright_is_valid = dc_parser->headlights_on_bright_is_valid;
407 new_msg.fog_lights_on_is_valid = dc_parser->fog_lights_on_is_valid;
408 new_msg.headlights_mode_is_valid = dc_parser->headlights_mode_is_valid;
410 new_msg.header.frame_id = frame_id;
419 new_msg.front_dome_lights_on_is_valid = dc_parser->front_dome_lights_on_is_valid;
420 new_msg.rear_dome_lights_on = dc_parser->rear_dome_lights_on;
421 new_msg.rear_dome_lights_on_is_valid = dc_parser->rear_dome_lights_on_is_valid;
422 new_msg.mood_lights_on = dc_parser->mood_lights_on;
423 new_msg.mood_lights_on_is_valid = dc_parser->mood_lights_on_is_valid;
424 new_msg.dim_level = dc_parser->dim_level;
425 new_msg.dim_level_is_valid = dc_parser->dim_level_is_valid;
427 new_msg.header.frame_id = frame_id;
436 new_msg.latitude_minutes = dc_parser->latitude_minutes;
437 new_msg.latitude_seconds = dc_parser->latitude_seconds;
438 new_msg.longitude_degrees = dc_parser->longitude_degrees;
439 new_msg.longitude_minutes = dc_parser->longitude_minutes;
440 new_msg.longitude_seconds = dc_parser->longitude_seconds;
441 new_msg.heading = dc_parser->heading;
443 new_msg.header.frame_id = frame_id;
449 auto dc_parser = std::dynamic_pointer_cast<
MotorRpt1Msg>(parser_class);
451 new_msg.
current = dc_parser->current;
452 new_msg.position = dc_parser->position;
454 new_msg.header.frame_id = frame_id;
460 auto dc_parser = std::dynamic_pointer_cast<
MotorRpt2Msg>(parser_class);
463 new_msg.motor_temp = dc_parser->motor_temp;
464 new_msg.angular_velocity = dc_parser->velocity;
466 new_msg.header.frame_id = frame_id;
472 auto dc_parser = std::dynamic_pointer_cast<
MotorRpt3Msg>(parser_class);
475 new_msg.torque_input = dc_parser->torque_input;
477 new_msg.header.frame_id = frame_id;
483 auto dc_parser = std::dynamic_pointer_cast<
OccupancyRptMsg>(parser_class);
486 new_msg.driver_seat_occupied_is_valid = dc_parser->driver_seat_occupied_is_valid;
487 new_msg.passenger_seat_occupied = dc_parser->passenger_seat_occupied;
488 new_msg.passenger_seat_occupied_is_valid = dc_parser->passenger_seat_occupied_is_valid;
489 new_msg.rear_seat_occupied = dc_parser->rear_seat_occupied;
490 new_msg.rear_seat_occupied_is_valid = dc_parser->rear_seat_occupied_is_valid;
491 new_msg.driver_seatbelt_buckled = dc_parser->driver_seatbelt_buckled;
492 new_msg.driver_seatbelt_buckled_is_valid = dc_parser->driver_seatbelt_buckled_is_valid;
493 new_msg.passenger_seatbelt_buckled = dc_parser->passenger_seatbelt_buckled;
494 new_msg.passenger_seatbelt_buckled_is_valid = dc_parser->passenger_seatbelt_buckled_is_valid;
495 new_msg.rear_seatbelt_buckled = dc_parser->rear_seatbelt_buckled;
496 new_msg.rear_seatbelt_buckled_is_valid = dc_parser->rear_seatbelt_buckled_is_valid;
498 new_msg.header.frame_id = frame_id;
507 new_msg.brake_lights_on_is_valid = dc_parser->brake_lights_on_is_valid;
508 new_msg.reverse_lights_on = dc_parser->reverse_lights_on;
509 new_msg.reverse_lights_on_is_valid = dc_parser->reverse_lights_on_is_valid;
511 new_msg.header.frame_id = frame_id;
517 auto dc_parser = std::dynamic_pointer_cast<
ShiftAuxRptMsg>(parser_class);
520 new_msg.stay_in_neutral_mode = dc_parser->stay_in_neutral_mode;
521 new_msg.brake_interlock_active = dc_parser->brake_interlock_active;
522 new_msg.speed_interlock_active = dc_parser->speed_interlock_active;
523 new_msg.between_gears_is_valid = dc_parser->between_gears_is_valid;
524 new_msg.stay_in_neutral_mode_is_valid = dc_parser->stay_in_neutral_mode_is_valid;
525 new_msg.brake_interlock_active_is_valid = dc_parser->brake_interlock_active_is_valid;
526 new_msg.speed_interlock_active_is_valid = dc_parser->speed_interlock_active_is_valid;
528 new_msg.header.frame_id = frame_id;
534 auto dc_parser = std::dynamic_pointer_cast<
SteerAuxRptMsg>(parser_class);
537 new_msg.raw_torque = dc_parser->raw_torque;
538 new_msg.rotation_rate = dc_parser->rotation_rate;
539 new_msg.user_interaction = dc_parser->user_interaction;
540 new_msg.raw_position_is_valid = dc_parser->raw_position_is_valid;
541 new_msg.raw_torque_is_valid = dc_parser->raw_torque_is_valid;
542 new_msg.rotation_rate_is_valid = dc_parser->rotation_rate_is_valid;
543 new_msg.user_interaction_is_valid = dc_parser->user_interaction_is_valid;
545 new_msg.header.frame_id = frame_id;
553 new_msg.
dt = dc_parser->dt;
554 new_msg.Kp = dc_parser->Kp;
555 new_msg.Ki = dc_parser->Ki;
556 new_msg.Kd = dc_parser->Kd;
558 new_msg.header.frame_id = frame_id;
566 new_msg.
P_term = dc_parser->P_term;
567 new_msg.I_term = dc_parser->I_term;
568 new_msg.D_term = dc_parser->D_term;
569 new_msg.all_terms = dc_parser->all_terms;
571 new_msg.header.frame_id = frame_id;
580 new_msg.str_angle_desired = dc_parser->str_angle_desired;
581 new_msg.str_angle_actual = dc_parser->str_angle_actual;
582 new_msg.error = dc_parser->error;
584 new_msg.header.frame_id = frame_id;
593 new_msg.angular_acceleration = dc_parser->angular_acceleration;
595 new_msg.header.frame_id = frame_id;
601 auto dc_parser = std::dynamic_pointer_cast<
TurnAuxRptMsg>(parser_class);
604 new_msg.passenger_blinker_bulb_on = dc_parser->passenger_blinker_bulb_on;
605 new_msg.driver_blinker_bulb_on_is_valid = dc_parser->driver_blinker_bulb_on_is_valid;
606 new_msg.passenger_blinker_bulb_on_is_valid = dc_parser->passenger_blinker_bulb_on_is_valid;
608 new_msg.header.frame_id = frame_id;
616 new_msg.
g_forces = dc_parser->g_forces;
617 new_msg.brake_torque = dc_parser->brake_torque;
619 new_msg.header.frame_id = frame_id;
628 new_msg.shift_pos_2 = dc_parser->shift_pos_2;
630 new_msg.header.frame_id = frame_id;
639 new_msg.vehicle_speed_valid = dc_parser->vehicle_speed_valid;
640 new_msg.vehicle_speed_raw[0] = dc_parser->vehicle_speed_raw[0];
641 new_msg.vehicle_speed_raw[1] = dc_parser->vehicle_speed_raw[1];
643 new_msg.header.frame_id = frame_id;
649 auto dc_parser = std::dynamic_pointer_cast<
VinRptMsg>(parser_class);
651 new_msg.
mfg_code = dc_parser->mfg_code;
652 new_msg.mfg = dc_parser->mfg;
653 new_msg.model_year_code = dc_parser->model_year_code;
654 new_msg.model_year = dc_parser->model_year;
655 new_msg.serial = dc_parser->serial;
657 new_msg.header.frame_id = frame_id;
666 new_msg.front_right_wheel_speed = dc_parser->front_right_wheel_speed;
667 new_msg.rear_left_wheel_speed = dc_parser->rear_left_wheel_speed;
668 new_msg.rear_right_wheel_speed = dc_parser->rear_right_wheel_speed;
670 new_msg.header.frame_id = frame_id;
676 auto dc_parser = std::dynamic_pointer_cast<
WiperAuxRptMsg>(parser_class);
679 new_msg.front_spraying = dc_parser->front_spraying;
680 new_msg.rear_wiping = dc_parser->rear_wiping;
681 new_msg.rear_spraying = dc_parser->rear_spraying;
682 new_msg.spray_near_empty = dc_parser->spray_near_empty;
683 new_msg.spray_empty = dc_parser->spray_empty;
684 new_msg.front_wiping_is_valid = dc_parser->front_wiping_is_valid;
685 new_msg.front_spraying_is_valid = dc_parser->front_spraying_is_valid;
686 new_msg.rear_wiping_is_valid = dc_parser->rear_wiping_is_valid;
687 new_msg.rear_spraying_is_valid = dc_parser->rear_spraying_is_valid;
688 new_msg.spray_near_empty_is_valid = dc_parser->spray_near_empty_is_valid;
689 new_msg.spray_empty_is_valid = dc_parser->spray_empty_is_valid;
691 new_msg.header.frame_id = frame_id;
697 auto dc_parser = std::dynamic_pointer_cast<
YawRateRptMsg>(parser_class);
699 new_msg.
yaw_rate = dc_parser->yaw_rate;
701 new_msg.header.frame_id = frame_id;
712 encoder.
encode(msg->enable,
713 msg->ignore_overrides,
721 encoder.
encode(msg->enable,
722 msg->ignore_overrides,
729 std::vector<uint8_t> bad_id;
731 ROS_ERROR(
"A bool system command matching the provided CAN ID could not be found.");
741 encoder.
encode(msg->enable,
742 msg->ignore_overrides,
750 encoder.
encode(msg->enable,
751 msg->ignore_overrides,
758 std::vector<uint8_t> bad_id;
760 ROS_ERROR(
"A float system command matching the provided CAN ID could not be found.");
770 encoder.
encode(msg->enable,
771 msg->ignore_overrides,
779 encoder.
encode(msg->enable,
780 msg->ignore_overrides,
788 encoder.
encode(msg->enable,
789 msg->ignore_overrides,
797 encoder.
encode(msg->enable,
798 msg->ignore_overrides,
806 encoder.
encode(msg->enable,
807 msg->ignore_overrides,
815 encoder.
encode(msg->enable,
816 msg->ignore_overrides,
824 encoder.
encode(msg->enable,
825 msg->ignore_overrides,
833 encoder.
encode(msg->enable,
834 msg->ignore_overrides,
841 std::vector<uint8_t> bad_id;
843 ROS_ERROR(
"An enum system command matching the provided CAN ID could not be found.");
853 encoder.
encode(msg->enable,
854 msg->ignore_overrides,
862 std::vector<uint8_t> bad_id;
864 ROS_ERROR(
"A steering system command matching the provided CAN ID could not be found.");
void fillDoorRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::DoorRpt &new_msg, std::string frame_id)
double front_object_distance_low_res
static const int64_t CAN_ID
void fillSteeringPIDRpt2(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SteeringPIDRpt2 &new_msg, std::string frame_id)
void encode(bool enable, bool ignore_overrides, bool clear_override, uint8_t cmd)
void fillSystemRptFloat(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SystemRptFloat &new_msg, std::string frame_id)
static const int64_t CAN_ID
void fillBrakeAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::BrakeAuxRpt &new_msg, std::string frame_id)
void publish(const boost::shared_ptr< M > &message) const
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillDetectedObjectRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::DetectedObjectRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillRearLightsRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::RearLightsRpt &new_msg, std::string frame_id)
void fillDateTimeRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::DateTimeRpt &new_msg, std::string frame_id)
void fillHeadlightAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::HeadlightAuxRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void fillGlobalRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::GlobalRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void fillSteeringPIDRpt4(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SteeringPIDRpt4 &new_msg, std::string frame_id)
std::vector< unsigned char > getData() const
void fillOccupancyRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::OccupancyRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillMotorRpt3(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::MotorRpt3 &new_msg, std::string frame_id)
void fillVinRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::VinRpt &new_msg, std::string frame_id)
void fillMotorRpt2(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::MotorRpt2 &new_msg, std::string frame_id)
void fillSystemRptInt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SystemRptInt &new_msg, std::string frame_id)
void fillAndPublish(const int64_t &can_id, std::string frame_id, ros::Publisher &pub, std::shared_ptr< Pacmod3TxMsg > &parser_class)
static const int64_t CAN_ID
void fillVehicleSpeedRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::VehicleSpeedRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void fillTurnAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::TurnAuxRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void encode(bool enabled, bool ignore_overrides, bool clear_override, float steer_pos, float steer_spd)
void fillSteeringPIDRpt3(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SteeringPIDRpt3 &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
bool front_dome_lights_on
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillWheelSpeedRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::WheelSpeedRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void fillMotorRpt1(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::MotorRpt1 &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillSteerAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SteerAuxRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
std::vector< unsigned char > _data
void fillShiftAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::ShiftAuxRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
void encode(bool enable, bool ignore_overrides, bool clear_override, float cmd)
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillVehicleSpecificRpt1(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::VehicleSpecificRpt1 &new_msg, std::string frame_id)
void fillVehicleDynamicsRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::VehicleDynamicsRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillSteeringPIDRpt1(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SteeringPIDRpt1 &new_msg, std::string frame_id)
void fillYawRateRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::YawRateRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillAccelAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::AccelAuxRpt &new_msg, std::string frame_id)
static const int64_t CAN_ID
void encode(bool enable, bool ignore_overrides, bool clear_override, bool cmd)
static const int64_t CAN_ID
double front_left_wheel_speed
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
static const int64_t CAN_ID
std::vector< uint8_t > data
static std::vector< uint8_t > unpackAndEncode(const int64_t &can_id, const pacmod_msgs::SystemCmdBool::ConstPtr &msg)
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillInteriorLightsRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::InteriorLightsRpt &new_msg, std::string frame_id)
void fillLatLonHeadingRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::LatLonHeadingRpt &new_msg, std::string frame_id)
void setData(std::vector< unsigned char > new_data)
static const int64_t CAN_ID
static const int64_t CAN_ID
void fillSystemRptBool(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::SystemRptBool &new_msg, std::string frame_id)
bool driver_blinker_bulb_on
static const int64_t CAN_ID
void fillWiperAuxRpt(std::shared_ptr< Pacmod3TxMsg > &parser_class, pacmod_msgs::WiperAuxRpt &new_msg, std::string frame_id)
bool driver_seat_occupied
static const int64_t CAN_ID