Public Member Functions | Public Attributes | Protected Attributes | List of all members
RobotState Class Reference

#include <RobotState.h>

Public Member Functions

ros::NodeHandlegetNodeHandle ()
 
int getSocket ()
 
double getTh ()
 
double getVTh ()
 
double getVX ()
 
double getVY ()
 
double getX ()
 
double getY ()
 
void publishOdomMsg (nav_msgs::Odometry odom)
 
 RobotState (ros::NodeHandle *n, int socket)
 
void sendTransformOdomTF (geometry_msgs::TransformStamped odom_trans)
 
void setTh (double th)
 
void setVTh (double vth)
 
void setVX (double vx)
 
void setVY (double vy)
 
void setX (double x)
 
void setY (double y)
 

Public Attributes

ros::NodeHandlen
 
ros::Publisher odom_pub
 

Protected Attributes

boost::mutex mutex
 
tf::TransformBroadcaster odom_broadcaster
 
int socket
 
double th
 
double vth
 
double vx
 
double vy
 
double x
 
double y
 

Detailed Description

Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Dehmani Souheil, Marek Felix, Meißner Pascal, Reckling Reno

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. All the information which must be used to estimate the pose of the robot in odom frame are stored here and initialized to zero.

Definition at line 31 of file RobotState.h.

Constructor & Destructor Documentation

RobotState::RobotState ( ros::NodeHandle n,
int  socket 
)
inline

Definition at line 56 of file RobotState.h.

Member Function Documentation

ros::NodeHandle* RobotState::getNodeHandle ( )
inline

Definition at line 71 of file RobotState.h.

int RobotState::getSocket ( )
inline

Definition at line 109 of file RobotState.h.

double RobotState::getTh ( )
inline

Definition at line 85 of file RobotState.h.

double RobotState::getVTh ( )
inline

Definition at line 103 of file RobotState.h.

double RobotState::getVX ( )
inline

Definition at line 91 of file RobotState.h.

double RobotState::getVY ( )
inline

Definition at line 97 of file RobotState.h.

double RobotState::getX ( )
inline

Definition at line 73 of file RobotState.h.

double RobotState::getY ( )
inline

Definition at line 79 of file RobotState.h.

void RobotState::publishOdomMsg ( nav_msgs::Odometry  odom)
inline

Definition at line 69 of file RobotState.h.

void RobotState::sendTransformOdomTF ( geometry_msgs::TransformStamped  odom_trans)
inline

Definition at line 67 of file RobotState.h.

void RobotState::setTh ( double  th)
inline

Definition at line 126 of file RobotState.h.

void RobotState::setVTh ( double  vth)
inline

Definition at line 144 of file RobotState.h.

void RobotState::setVX ( double  vx)
inline

Definition at line 132 of file RobotState.h.

void RobotState::setVY ( double  vy)
inline

Definition at line 138 of file RobotState.h.

void RobotState::setX ( double  x)
inline

Definition at line 114 of file RobotState.h.

void RobotState::setY ( double  y)
inline

Definition at line 120 of file RobotState.h.

Member Data Documentation

boost::mutex RobotState::mutex
protected

Definition at line 49 of file RobotState.h.

ros::NodeHandle* RobotState::n

Definition at line 55 of file RobotState.h.

tf::TransformBroadcaster RobotState::odom_broadcaster
protected

Definition at line 35 of file RobotState.h.

ros::Publisher RobotState::odom_pub

Definition at line 54 of file RobotState.h.

int RobotState::socket
protected

Definition at line 51 of file RobotState.h.

double RobotState::th
protected

Definition at line 42 of file RobotState.h.

double RobotState::vth
protected

Definition at line 48 of file RobotState.h.

double RobotState::vx
protected

Definition at line 44 of file RobotState.h.

double RobotState::vy
protected

Definition at line 46 of file RobotState.h.

double RobotState::x
protected

Definition at line 38 of file RobotState.h.

double RobotState::y
protected

Definition at line 40 of file RobotState.h.


The documentation for this class was generated from the following file:


asr_mild_base_driving
Author(s): Aumann Florian, Borella Jocelyn, Dehmani Souheil, Marek Felix, Meißner Pascal, Reckling Reno
autogenerated on Mon Jun 10 2019 12:43:40