Texas Aerial Robotics Documentation
positionEstimate.cpp File Reference
#include <ros/ros.h>
#include <geometry_msgs/TransformStamped.h>
#include <geometry_msgs/PoseStamped.h>
#include <mavros_msgs/OverrideRCIn.h>
#include <gazebo_msgs/ModelStates.h>
#include <geometry_msgs/Pose.h>
#include <tf/transform_broadcaster.h>
#include <nav_msgs/Odometry.h>

Go to the source code of this file.

Functions

void model_cb (const gazebo_msgs::ModelStates::ConstPtr &msg)
 
void pose_cb (const nav_msgs::Odometry::ConstPtr &msg)
 
int main (int argc, char **argv)
 

Variables

geometry_msgs::PoseStamped currentDroneState
 
nav_msgs::Odometry current_poseEKF
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 48 of file positionEstimate.cpp.

◆ model_cb()

void model_cb ( const gazebo_msgs::ModelStates::ConstPtr &  msg)

Definition at line 13 of file positionEstimate.cpp.

◆ pose_cb()

void pose_cb ( const nav_msgs::Odometry::ConstPtr &  msg)

Definition at line 41 of file positionEstimate.cpp.

Variable Documentation

◆ current_poseEKF

nav_msgs::Odometry current_poseEKF

Definition at line 40 of file positionEstimate.cpp.

◆ currentDroneState

geometry_msgs::PoseStamped currentDroneState

Definition at line 10 of file positionEstimate.cpp.