4 _imu_sub_ = this->create_subscription<sensor_msgs::msg::Imu>(
5 "/pacsim/imu/cog_imu", 1,
8 "/pacsim/wheelspeeds", 1,
11 "/pacsim/steeringFront", 1,
17 msg->linear_acceleration.y, msg->header.stamp);
void steering_angle_callback(const pacsim::msg::StampedScalar::SharedPtr msg)
callback that gets called when the steering angle is received
rclcpp::Subscription< pacsim::msg::Wheels >::SharedPtr wheel_speeds_sub_
void wss_callback(const pacsim::msg::Wheels::SharedPtr msg)
callback that gets called when the wheel speeds are received
PacsimAdapter(std::shared_ptr< SENode > se_node)
void imu_callback(const sensor_msgs::msg::Imu::SharedPtr msg)
callback that gets called when the IMU data is received
rclcpp::Subscription< sensor_msgs::msg::Imu >::SharedPtr _imu_sub_
rclcpp::Subscription< pacsim::msg::StampedScalar >::SharedPtr _steering_angle_sub_
Node class for the velocity estimation node.
void publish_velocities() const
VEParameters _parameters_
std::shared_ptr< VelocityEstimator > _velocity_estimator_
common_lib::car_parameters::CarParameters car_parameters_
Struct for wheel encoder data.