flat_world_imu_node.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018 ROBOTIS CO., LTD.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *******************************************************************************/
16 
17 #ifndef FLAT_WORLD_IMU_NODE_H_
18 #define FLAT_WORLD_IMU_NODE_H_
19 
20 #include <ros/ros.h>
21 #include <sensor_msgs/Imu.h>
22 
23 #define GRAVITY 9.8
24 
26 {
27  public:
30  bool init();
31 
32  private:
37  void msgCallback(const sensor_msgs::ImuConstPtr imu_in);
38 };
39 
40 #endif // FLAT_WORLD_IMU_NODE_H_
ros::Publisher
ros.h
FlatWorldImuNode::init
bool init()
Definition: flat_world_imu_node.cpp:29
FlatWorldImuNode::FlatWorldImuNode
FlatWorldImuNode()
Definition: flat_world_imu_node.cpp:19
FlatWorldImuNode
Definition: flat_world_imu_node.h:25
FlatWorldImuNode::msgCallback
void msgCallback(const sensor_msgs::ImuConstPtr imu_in)
Definition: flat_world_imu_node.cpp:37
FlatWorldImuNode::nh_
ros::NodeHandle nh_
Definition: flat_world_imu_node.h:33
FlatWorldImuNode::publisher_
ros::Publisher publisher_
Definition: flat_world_imu_node.h:35
FlatWorldImuNode::subscriber_
ros::Subscriber subscriber_
Definition: flat_world_imu_node.h:36
FlatWorldImuNode::last_published_time_
ros::Time last_published_time_
Definition: flat_world_imu_node.h:34
ros::Time
FlatWorldImuNode::~FlatWorldImuNode
~FlatWorldImuNode()
Definition: flat_world_imu_node.cpp:25
ros::NodeHandle
ros::Subscriber


turtlebot3_slam
Author(s): Pyo , Darby Lim , Gilbert , Leon Jung
autogenerated on Wed Mar 2 2022 01:08:44