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 publisher_
ros::Subscriber subscriber_
void msgCallback(const sensor_msgs::ImuConstPtr imu_in)
ros::NodeHandle nh_
ros::Time last_published_time_


turtlebot3_slam
Author(s): Pyo , Darby Lim , Gilbert , Leon Jung
autogenerated on Wed Apr 7 2021 02:10:39