#include <ros/ros.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>
#include <stdlib.h>
#include <boost/thread/mutex.hpp>
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/PoseWithCovarianceStamped.h"
#include <gazebo_msgs/ModelState.h>
Go to the source code of this file.
Functions | |
void | fakeSetTargetVelocity (const geometry_msgs::Twist &cmd_vel) |
nav_msgs::Odometry | getOdomMsg (ros::Time current_time) |
geometry_msgs::TransformStamped | getOdomTF (ros::Time current_time) |
gazebo_msgs::ModelState | getRobotStateGazebo () |
void | gotInitialRobotPose (const geometry_msgs::PoseWithCovarianceStamped &initialPose) |
int | main (int argc, char **argv) |
Variables | |
boost::mutex | mutex |
double | th = 0.0 |
geometry_msgs::Twist | velocity_cmd |
double | vth = 0.0 |
double | vx = 0.0 |
double | vy = 0.0 |
double | x = 0.0 |
double | y = 0.0 |
void fakeSetTargetVelocity | ( | const geometry_msgs::Twist & | cmd_vel | ) |
Definition at line 45 of file mild_fake_odom.cpp.
nav_msgs::Odometry getOdomMsg | ( | ros::Time | current_time | ) |
Definition at line 78 of file mild_fake_odom.cpp.
geometry_msgs::TransformStamped getOdomTF | ( | ros::Time | current_time | ) |
Definition at line 59 of file mild_fake_odom.cpp.
gazebo_msgs::ModelState getRobotStateGazebo | ( | ) |
Definition at line 103 of file mild_fake_odom.cpp.
void gotInitialRobotPose | ( | const geometry_msgs::PoseWithCovarianceStamped & | initialPose | ) |
Definition at line 52 of file mild_fake_odom.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 123 of file mild_fake_odom.cpp.
boost::mutex mutex |
Copyright (c) 2016, Dehmani Souheil, Karrenbauer Oliver, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 29 of file mild_fake_odom.cpp.
double th = 0.0 |
Definition at line 38 of file mild_fake_odom.cpp.
geometry_msgs::Twist velocity_cmd |
Definition at line 32 of file mild_fake_odom.cpp.
double vth = 0.0 |
Definition at line 42 of file mild_fake_odom.cpp.
double vx = 0.0 |
Definition at line 40 of file mild_fake_odom.cpp.
double vy = 0.0 |
Definition at line 41 of file mild_fake_odom.cpp.
double x = 0.0 |
Definition at line 36 of file mild_fake_odom.cpp.
double y = 0.0 |
Definition at line 37 of file mild_fake_odom.cpp.