#include <abstract_robot.h>
|
| Abstract_robot (std::string &name, tf2::Transform tf, tf2::Vector3 size) |
|
| Abstract_robot (std::string name, tf2::Transform tf, tf2::Vector3 size) |
|
float | area_calculation (tf2::Transform &A, tf2::Transform &B, tf2::Transform &C) |
| Triangle area calculator. More...
|
|
std::vector< tf2::Transform > & | bounds () |
|
virtual std::vector< tf2::Transform > & | bounds ()=0 |
|
virtual bool | check_single_object_collision (tf2::Transform &obj, std::string &b)=0 |
|
virtual bool | check_single_object_collision (tf2::Transform &obj, std::string &b)=0 |
|
std::string & | name () |
|
virtual std::string & | name ()=0 |
|
virtual void | notify ()=0 |
|
virtual void | notify ()=0 |
|
std::bitset< 3 > | observer_mask () |
|
std::vector< tf2::Transform > & | robot_root_bounds () |
|
virtual std::vector< tf2::Transform > & | robot_root_bounds ()=0 |
|
tf2::Transform & | root_tf () |
|
virtual tf2::Transform & | root_tf ()=0 |
|
void | rotate (float deg) |
|
void | rotate (float deg) |
|
void | set_observer_mask (int i) |
|
void | set_tf (tf2::Transform &t) |
|
void | set_tf (tf2::Transform &t) |
|
tf2::Vector3 & | size () |
|
virtual tf2::Vector3 & | size ()=0 |
|
void | size (tf2::Vector3 &s) |
|
void | size (tf2::Vector3 &s) |
|
tf2::Transform & | tf () |
|
virtual tf2::Transform & | tf ()=0 |
|
void | translate (tf2::Vector3 t) |
|
void | translate (tf2::Vector3 t) |
|
virtual void | workload_checker (std::vector< int > &count_vector, tf2::Transform &obj)=0 |
|
virtual void | workload_checker (std::vector< int > &count_vector, tf2::Transform &obj)=0 |
|
Definition at line 25 of file impl/abstract_robot.h.
◆ Abstract_robot() [1/2]
Abstract_robot::Abstract_robot |
( |
std::string & |
name, |
|
|
tf2::Transform |
tf, |
|
|
tf2::Vector3 |
size |
|
) |
| |
|
inline |
◆ Abstract_robot() [2/2]
Abstract_robot::Abstract_robot |
( |
std::string |
name, |
|
|
tf2::Transform |
tf, |
|
|
tf2::Vector3 |
size |
|
) |
| |
◆ area_calculation()
float Abstract_robot::area_calculation |
( |
tf2::Transform & |
A, |
|
|
tf2::Transform & |
B, |
|
|
tf2::Transform & |
C |
|
) |
| |
Triangle area calculator.
Calculates triangle with 3 vertices
- Parameters
-
A | pose of triagnel vertice |
B | pose of triagnel vertice |
C | pose of triagnel vertice |
- Returns
- float triangle area
Definition at line 22 of file abstract_robot.cpp.
◆ bounds() [1/2]
std::vector<tf2::Transform>& Abstract_robot::bounds |
( |
| ) |
|
|
inline |
◆ bounds() [2/2]
virtual std::vector<tf2::Transform>& Abstract_robot::bounds |
( |
| ) |
|
|
pure virtual |
◆ check_single_object_collision() [1/2]
virtual bool Abstract_robot::check_single_object_collision |
( |
tf2::Transform & |
obj, |
|
|
std::string & |
b |
|
) |
| |
|
pure virtual |
◆ check_single_object_collision() [2/2]
virtual bool Abstract_robot::check_single_object_collision |
( |
tf2::Transform & |
obj, |
|
|
std::string & |
b |
|
) |
| |
|
pure virtual |
◆ name() [1/2]
std::string& Abstract_robot::name |
( |
| ) |
|
|
inline |
◆ name() [2/2]
virtual std::string& Abstract_robot::name |
( |
| ) |
|
|
pure virtual |
◆ notify() [1/2]
virtual void Abstract_robot::notify |
( |
| ) |
|
|
pure virtual |
◆ notify() [2/2]
virtual void Abstract_robot::notify |
( |
| ) |
|
|
pure virtual |
◆ observer_mask()
std::bitset<3> Abstract_robot::observer_mask |
( |
| ) |
|
|
inline |
◆ robot_root_bounds() [1/2]
std::vector<tf2::Transform>& Abstract_robot::robot_root_bounds |
( |
| ) |
|
|
inline |
◆ robot_root_bounds() [2/2]
virtual std::vector<tf2::Transform>& Abstract_robot::robot_root_bounds |
( |
| ) |
|
|
pure virtual |
◆ root_tf() [1/2]
tf2::Transform& Abstract_robot::root_tf |
( |
| ) |
|
|
inline |
◆ root_tf() [2/2]
virtual tf2::Transform& Abstract_robot::root_tf |
( |
| ) |
|
|
pure virtual |
◆ rotate() [1/2]
void Abstract_robot::rotate |
( |
float |
deg | ) |
|
|
inline |
◆ rotate() [2/2]
void Abstract_robot::rotate |
( |
float |
deg | ) |
|
|
inline |
◆ set_observer_mask()
void Abstract_robot::set_observer_mask |
( |
int |
i | ) |
|
|
inline |
◆ set_tf() [1/2]
void Abstract_robot::set_tf |
( |
tf2::Transform & |
t | ) |
|
|
inline |
◆ set_tf() [2/2]
void Abstract_robot::set_tf |
( |
tf2::Transform & |
t | ) |
|
|
inline |
◆ size() [1/4]
tf2::Vector3& Abstract_robot::size |
( |
| ) |
|
|
inline |
◆ size() [2/4]
virtual tf2::Vector3& Abstract_robot::size |
( |
| ) |
|
|
pure virtual |
◆ size() [3/4]
void Abstract_robot::size |
( |
tf2::Vector3 & |
s | ) |
|
|
inline |
◆ size() [4/4]
void Abstract_robot::size |
( |
tf2::Vector3 & |
s | ) |
|
|
inline |
◆ tf() [1/2]
tf2::Transform& Abstract_robot::tf |
( |
| ) |
|
|
inline |
◆ tf() [2/2]
virtual tf2::Transform& Abstract_robot::tf |
( |
| ) |
|
|
pure virtual |
◆ translate() [1/2]
void Abstract_robot::translate |
( |
tf2::Vector3 |
t | ) |
|
|
inline |
◆ translate() [2/2]
void Abstract_robot::translate |
( |
tf2::Vector3 |
t | ) |
|
|
inline |
◆ workload_checker() [1/2]
virtual void Abstract_robot::workload_checker |
( |
std::vector< int > & |
count_vector, |
|
|
tf2::Transform & |
obj |
|
) |
| |
|
pure virtual |
◆ workload_checker() [2/2]
virtual void Abstract_robot::workload_checker |
( |
std::vector< int > & |
count_vector, |
|
|
tf2::Transform & |
obj |
|
) |
| |
|
pure virtual |
◆ bounds_
std::vector< tf2::Transform > Abstract_robot::bounds_ |
|
protected |
◆ name_
std::string Abstract_robot::name_ |
|
protected |
◆ observer_mask_
std::bitset<3> Abstract_robot::observer_mask_ |
|
protected |
◆ robot_root_bounds_
std::vector< tf2::Transform > Abstract_robot::robot_root_bounds_ |
|
protected |
◆ root_tf_
tf2::Transform Abstract_robot::root_tf_ |
|
protected |
◆ size_
tf2::Vector3 Abstract_robot::size_ |
|
protected |
◆ tf_
tf2::Transform Abstract_robot::tf_ |
|
protected |
The documentation for this class was generated from the following files: