Go to the documentation of this file.
19 #ifndef NE_RAPTOR_INTERFACE__TEST_NE_RAPTOR_INTERFACE_LISTENER_HPP_
20 #define NE_RAPTOR_INTERFACE__TEST_NE_RAPTOR_INTERFACE_LISTENER_HPP_
22 #include <gtest/gtest.h>
70 rclcpp::SubscriptionBase::SharedPtr
74 l_global_enable_cmd_sub,
78 l_dbw_disable_cmd_sub;
80 rclcpp::SubscriptionBase::SharedPtr
83 l_vehicle_kin_state_sub;
89 void on_accel_cmd(
const AcceleratorPedalCmd::SharedPtr & msg);
93 void on_brake_cmd(
const BrakeCmd::SharedPtr & msg);
97 void on_gear_cmd(
const GearCmd::SharedPtr & msg);
101 void on_global_enable_cmd(
const GlobalEnableCmd::SharedPtr & msg);
105 void on_misc_cmd(
const MiscCmd::SharedPtr & msg);
109 void on_steer_cmd(
const SteeringCmd::SharedPtr & msg);
113 void on_dbw_enable_cmd(
const std_msgs::msg::Empty::SharedPtr & msg);
117 void on_dbw_disable_cmd(
const std_msgs::msg::Empty::SharedPtr & msg);
121 void on_vehicle_state(
const VehicleStateReport::SharedPtr & msg);
125 void on_vehicle_odo(
const VehicleOdometry::SharedPtr & msg);
129 void on_vehicle_kin_state(
const VehicleKinematicState::SharedPtr & msg);
135 #endif // NE_RAPTOR_INTERFACE__TEST_NE_RAPTOR_INTERFACE_LISTENER_HPP_
VehicleOdometry l_vehicle_odo
Definition: test_ne_raptor_interface_listener.hpp:52
bool8_t l_got_brake_cmd
Definition: test_ne_raptor_interface_listener.hpp:57
bool8_t l_got_dbw_disable_cmd
Definition: test_ne_raptor_interface_listener.hpp:63
bool8_t l_got_global_enable_cmd
Definition: test_ne_raptor_interface_listener.hpp:59
GearCmd l_gear_cmd
Definition: test_ne_raptor_interface_listener.hpp:47
NERaptorInterfaceListener(const rclcpp::NodeOptions &options)
Default constructor.
bool8_t l_got_vehicle_odo
Definition: test_ne_raptor_interface_listener.hpp:65
bool8_t l_got_gear_cmd
Definition: test_ne_raptor_interface_listener.hpp:58
GlobalEnableCmd l_enable_cmd
Definition: test_ne_raptor_interface_listener.hpp:48
bool8_t l_got_dbw_enable_cmd
Definition: test_ne_raptor_interface_listener.hpp:62
VehicleStateReport l_vehicle_state
Definition: test_ne_raptor_interface_listener.hpp:51
Definition: ne_raptor_interface.launch.py:1
SteeringCmd l_steer_cmd
Definition: test_ne_raptor_interface_listener.hpp:50
Class that listens for messages published while testing NERaptorInterface.
Definition: test_ne_raptor_interface_listener.hpp:37
bool8_t l_got_vehicle_state
Definition: test_ne_raptor_interface_listener.hpp:64
bool bool8_t
Definition: types.hpp:39
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24
This file defines the NERaptorInterface class.
MiscCmd l_misc_cmd
Definition: test_ne_raptor_interface_listener.hpp:49
bool8_t l_got_vehicle_kin_state
Definition: test_ne_raptor_interface_listener.hpp:66
bool8_t l_got_misc_cmd
Definition: test_ne_raptor_interface_listener.hpp:60
AcceleratorPedalCmd l_accel_cmd
Definition: test_ne_raptor_interface_listener.hpp:45
bool8_t l_got_steer_cmd
Definition: test_ne_raptor_interface_listener.hpp:61
VehicleKinematicState l_vehicle_kin_state
Definition: test_ne_raptor_interface_listener.hpp:53
BrakeCmd l_brake_cmd
Definition: test_ne_raptor_interface_listener.hpp:46
autoware_auto_vehicle_msgs::msg::VehicleKinematicState VehicleKinematicState
Definition: trajectory_spoofer.hpp:42
bool8_t l_got_accel_cmd
Definition: test_ne_raptor_interface_listener.hpp:56