Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
adapter.cpp
Go to the documentation of this file.
1
#include "
adapter_ekf_state_est/eufs.hpp
"
2
#include "
ros_node/se_node.hpp
"
3
4
Adapter::Adapter
(std::shared_ptr<SENode> se_node) : node_(se_node) {
5
RCLCPP_INFO(this->
node_
->get_logger(),
"Adapter created"
);
6
}
7
8
void
Adapter::imu_subscription_callback
(
const
sensor_msgs::msg::Imu& msg) {
9
this->
node_
->_imu_subscription_callback(msg);
10
}
Adapter::imu_subscription_callback
void imu_subscription_callback(const sensor_msgs::msg::Imu &msg)
Function that parses the message sent from the ros IMU topic and calls the respective node's function...
Definition
adapter.cpp:8
Adapter::node_
std::shared_ptr< SENode > node_
Definition
adapter.hpp:23
Adapter::Adapter
Adapter(std::shared_ptr< SENode > se_node)
Definition
adapter.cpp:4
eufs.hpp
se_node.hpp
src
ekf_state_est
src
adapter_ekf_state_est
adapter.cpp
Generated by
1.9.8