#include <vehicle_model.h>
Definition at line 44 of file vehicle_model.h.
ArtVehicleModel::ArtVehicleModel | ( | Stg::ModelPosition * | stgPos, |
tf::TransformBroadcaster * | tfBroad, | ||
std::string | ns_prefix | ||
) | [inline] |
Definition at line 49 of file vehicle_model.h.
ArtVehicleModel::~ArtVehicleModel | ( | ) | [inline] |
Definition at line 64 of file vehicle_model.h.
void ArtVehicleModel::brakeReceived | ( | const art_msgs::BrakeState::ConstPtr & | msg | ) | [private] |
Definition at line 92 of file vehicle_model.cc.
void ArtVehicleModel::ModelAcceleration | ( | geometry_msgs::Twist * | odomVel, |
sensor_msgs::Imu * | imuMsg, | ||
ros::Time | sim_time | ||
) | [private] |
Model vehicle acceleration
odomVel[out] | -> the Odometry message Twist component |
imuMsg[out] | -> the IMU message |
sim_time[in] | current simulation time |
Definition at line 137 of file vehicle_model.cc.
void ArtVehicleModel::publishGPS | ( | ros::Time | sim_time | ) | [private] |
Definition at line 273 of file vehicle_model.cc.
void ArtVehicleModel::setup | ( | void | ) |
Definition at line 33 of file vehicle_model.cc.
void ArtVehicleModel::shifterReceived | ( | const art_msgs::Shifter::ConstPtr & | msg | ) | [private] |
Definition at line 100 of file vehicle_model.cc.
void ArtVehicleModel::steeringReceived | ( | const art_msgs::SteeringState::ConstPtr & | msg | ) | [private] |
Definition at line 108 of file vehicle_model.cc.
void ArtVehicleModel::throttleReceived | ( | const art_msgs::ThrottleState::ConstPtr & | msg | ) | [private] |
Definition at line 116 of file vehicle_model.cc.
void ArtVehicleModel::update | ( | ros::Time | sim_time | ) |
Definition at line 197 of file vehicle_model.cc.
float ArtVehicleModel::brake_position_ [private] |
Definition at line 110 of file vehicle_model.h.
ros::Subscriber ArtVehicleModel::brake_sub_ [private] |
Definition at line 94 of file vehicle_model.h.
ros::Publisher ArtVehicleModel::gps_pub_ [private] |
Definition at line 91 of file vehicle_model.h.
Definition at line 87 of file vehicle_model.h.
nav_msgs::Odometry ArtVehicleModel::groundTruthMsg_ [private] |
Definition at line 86 of file vehicle_model.h.
ros::Publisher ArtVehicleModel::imu_pub_ [private] |
Definition at line 90 of file vehicle_model.h.
ros::Time ArtVehicleModel::last_update_time_ [private] |
Definition at line 88 of file vehicle_model.h.
double ArtVehicleModel::map_origin_x_ [private] |
Definition at line 123 of file vehicle_model.h.
double ArtVehicleModel::map_origin_y_ [private] |
Definition at line 124 of file vehicle_model.h.
boost::mutex ArtVehicleModel::msg_lock_ [private] |
Definition at line 109 of file vehicle_model.h.
ros::NodeHandle ArtVehicleModel::node_ [private] |
Definition at line 79 of file vehicle_model.h.
std::string ArtVehicleModel::ns_prefix_ [private] |
Definition at line 81 of file vehicle_model.h.
ros::Publisher ArtVehicleModel::odom_pub_ [private] |
Definition at line 85 of file vehicle_model.h.
nav_msgs::Odometry ArtVehicleModel::odomMsg_ [private] |
Definition at line 84 of file vehicle_model.h.
double ArtVehicleModel::origin_easting_ [private] |
Definition at line 120 of file vehicle_model.h.
double ArtVehicleModel::origin_elev_ [private] |
Definition at line 119 of file vehicle_model.h.
double ArtVehicleModel::origin_lat_ [private] |
Definition at line 117 of file vehicle_model.h.
double ArtVehicleModel::origin_long_ [private] |
Definition at line 118 of file vehicle_model.h.
double ArtVehicleModel::origin_northing_ [private] |
Definition at line 121 of file vehicle_model.h.
char ArtVehicleModel::origin_zone_[20] [private] |
Definition at line 122 of file vehicle_model.h.
uint8_t ArtVehicleModel::shifter_gear_ [private] |
Definition at line 111 of file vehicle_model.h.
ros::Subscriber ArtVehicleModel::shifter_sub_ [private] |
Definition at line 95 of file vehicle_model.h.
float ArtVehicleModel::steering_angle_ [private] |
Definition at line 112 of file vehicle_model.h.
Definition at line 96 of file vehicle_model.h.
Stg::ModelPosition* ArtVehicleModel::stgp_ [private] |
Definition at line 76 of file vehicle_model.h.
tf::TransformBroadcaster* ArtVehicleModel::tf_ [private] |
Definition at line 80 of file vehicle_model.h.
std::string ArtVehicleModel::tf_prefix_ [private] |
Definition at line 82 of file vehicle_model.h.
float ArtVehicleModel::throttle_position_ [private] |
Definition at line 113 of file vehicle_model.h.
Definition at line 97 of file vehicle_model.h.