Classes | Typedefs | Variables
kinematics_exchanger.h File Reference
#include <map>
#include <vector>
#include <numeric>
#include <ros/ros.h>
#include <tf2/utils.h>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/PoseStamped.h>
#include <geometry_msgs/Twist.h>
#include <geometry_msgs/TwistStamped.h>
#include <cpswarm_msgs/ArrayOfPositions.h>
#include <cpswarm_msgs/Position.h>
#include <cpswarm_msgs/Velocity.h>
#include <cpswarm_msgs/ArrayOfVectors.h>
#include <cpswarm_msgs/VectorStamped.h>
Include dependency graph for kinematics_exchanger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cartesian_vector_t
 A vector type in Cartesian format containing UUID of the corresponding CPS together with last updated time stamp. More...
 
struct  polar_vector_t
 A vector type in polar format containing UUID of the corresponding CPS together with last updated time stamp. More...
 

Typedefs

typedef struct cartesian_vector_t cartesian_vector_t
 A vector type in Cartesian format containing UUID of the corresponding CPS together with last updated time stamp. More...
 
typedef struct polar_vector_t polar_vector_t
 A vector type in polar format containing UUID of the corresponding CPS together with last updated time stamp. More...
 

Variables

int pos_init
 The number of position messages to ignore during initialization. This is because the first messages are inaccurate. More...
 
geometry_msgs::Pose pose
 Current position of the CPS. More...
 
bool pose_valid
 Whether a valid position has been received. More...
 
int sample_size
 The number of data samples to average over for reliable results. More...
 
map< string, cartesian_vector_tswarm_positions
 The absolute positions of all known swarm members. More...
 
map< string, polar_vector_tswarm_positions_rel
 The relative positions of all known swarm members. More...
 
map< string, polar_vector_tswarm_velocities
 The velocities of all known swarm members. More...
 
int vel_init
 The number of velocity messages to ignore during initialization. This is because the first messages are inaccurate. More...
 
bool vel_valid
 Whether a valid velocity has been received. More...
 
geometry_msgs::Twist velo
 Current velocity of the CPS. More...
 

Typedef Documentation

◆ cartesian_vector_t

A vector type in Cartesian format containing UUID of the corresponding CPS together with last updated time stamp.

◆ polar_vector_t

A vector type in polar format containing UUID of the corresponding CPS together with last updated time stamp.

Variable Documentation

◆ pos_init

int pos_init

The number of position messages to ignore during initialization. This is because the first messages are inaccurate.

Definition at line 85 of file kinematics_exchanger.h.

◆ pose

geometry_msgs::Pose pose

Current position of the CPS.

Definition at line 45 of file kinematics_exchanger.h.

◆ pose_valid

bool pose_valid

Whether a valid position has been received.

Definition at line 50 of file kinematics_exchanger.h.

◆ sample_size

int sample_size

The number of data samples to average over for reliable results.

Definition at line 80 of file kinematics_exchanger.h.

◆ swarm_positions

map<string, cartesian_vector_t> swarm_positions

The absolute positions of all known swarm members.

Definition at line 65 of file kinematics_exchanger.h.

◆ swarm_positions_rel

map<string, polar_vector_t> swarm_positions_rel

The relative positions of all known swarm members.

Definition at line 70 of file kinematics_exchanger.h.

◆ swarm_velocities

map<string, polar_vector_t> swarm_velocities

The velocities of all known swarm members.

Definition at line 75 of file kinematics_exchanger.h.

◆ vel_init

int vel_init

The number of velocity messages to ignore during initialization. This is because the first messages are inaccurate.

Definition at line 90 of file kinematics_exchanger.h.

◆ vel_valid

bool vel_valid

Whether a valid velocity has been received.

Definition at line 60 of file kinematics_exchanger.h.

◆ velo

geometry_msgs::Twist velo

Current velocity of the CPS.

Definition at line 55 of file kinematics_exchanger.h.



kinematics_exchanger
Author(s): Micha Sende
autogenerated on Thu Oct 31 2019 10:52:41