Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
pose.hpp
Go to the documentation of this file.
1
#ifndef _POSE_HPP
2
#define _POSE_HPP
3
4
#include <vector>
5
#include <memory>
6
#include <Eigen/Dense>
7
8
namespace
galaxis
{
9
namespace
control {
10
11
class
CarPose
{
12
public
:
13
Eigen::Vector2f
position
;
// (x,y) position in m
14
float
orientation
;
// car view directed to x axis (counter-clockwise) in radians [0,2pi] // should be 0 if coordinate system is relative to vehicle
15
CarPose
(
Eigen::Vector2f
const
&
position
=
Eigen::Vector2f
(0.0, 0.0),
float
orientation
= 0);
16
};
17
18
std::ostream&
operator<<
(std::ostream& strm,
CarPose
const
& pose);
19
20
typedef
std::vector<std::shared_ptr<CarPose>>
CarPoseSeries
;
21
22
}
// namespace control
23
}
// namespace galaxis
24
25
#endif // _POSE_HPP
galaxis::control::CarPoseSeries
std::vector< std::shared_ptr< CarPose > > CarPoseSeries
Definition:
pose.hpp:20
galaxis::control::CarPose::position
Eigen::Vector2f position
Definition:
pose.hpp:13
galaxis::control::CarPose::CarPose
CarPose(Eigen::Vector2f const &position=Eigen::Vector2f(0.0, 0.0), float orientation=0)
Definition:
pose.cpp:8
galaxis
Definition:
MapClasses.hpp:10
galaxis::lina::Vector2f
Eigen::Vector2f Vector2f
Definition:
linatypes.hpp:14
galaxis::control::CarPose::orientation
float orientation
Definition:
pose.hpp:14
galaxis::control::CarPose
Definition:
pose.hpp:11
galaxis::control::operator<<
std::ostream & operator<<(std::ostream &strm, CarPose const &pose)
Definition:
pose.cpp:13
utilities
include
control
pose.hpp
Generated by
1.8.17