Public Member Functions | Private Types | Private Member Functions | Private Attributes
labust::control::IdentificationNode Class Reference

#include <IdentificationNode.hpp>

List of all members.

Public Member Functions

 IdentificationNode ()
void onInit ()

Private Types

enum  {
  u = 0, v, w, p,
  q, r
}
enum  {
  x = 0, y, z, roll,
  pitch, yaw
}
enum  {
  X = 0, Y, Z, K,
  M, N
}
enum  { alpha = 0, beta, betaa }
typedef
navcon_msgs::DOFIdentificationAction 
Action
typedef
actionlib::SimpleActionServer
< Action
ActionServer
typedef boost::shared_ptr
< ActionServer
ActionServerPtr
typedef
navcon_msgs::DOFIdentificationGoal 
Goal
typedef
navcon_msgs::DOFIdentificationResult 
Result

Private Member Functions

void doIdentification (const Goal::ConstPtr &goal)
void onMeasurement (const auv_msgs::NavSts::ConstPtr &meas)
void setTau (int elem, double value)

Private Attributes

ActionServerPtr aserver
boost::thread identrunner
bool integrateUV
ros::Subscriber meas
boost::mutex measmux
labust::simulation::vector measurements
ros::Publisher tauOut

Detailed Description

The class contains the implementation of the SO identification algorithm in the ROS framework.

Todo:

Set feedback value in ident action.

Make SOIdentification more user friendly C++ class.

Make SOIdentification more simple/ C implementable for uC.

Definition at line 57 of file IdentificationNode.hpp.


Member Typedef Documentation

typedef navcon_msgs::DOFIdentificationAction labust::control::IdentificationNode::Action [private]

Definition at line 64 of file IdentificationNode.hpp.

Definition at line 65 of file IdentificationNode.hpp.

Definition at line 66 of file IdentificationNode.hpp.

typedef navcon_msgs::DOFIdentificationGoal labust::control::IdentificationNode::Goal [private]

Definition at line 67 of file IdentificationNode.hpp.

typedef navcon_msgs::DOFIdentificationResult labust::control::IdentificationNode::Result [private]

Definition at line 68 of file IdentificationNode.hpp.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
u 
v 
w 
p 
q 
r 

Definition at line 59 of file IdentificationNode.hpp.

anonymous enum [private]
Enumerator:
x 
y 
z 
roll 
pitch 
yaw 

Definition at line 60 of file IdentificationNode.hpp.

anonymous enum [private]
Enumerator:
X 
Y 
Z 
K 
M 
N 

Definition at line 61 of file IdentificationNode.hpp.

anonymous enum [private]
Enumerator:
alpha 
beta 
betaa 

Definition at line 62 of file IdentificationNode.hpp.


Constructor & Destructor Documentation

Main constructor

Definition at line 49 of file IdentificationNode.cpp.


Member Function Documentation

void IdentificationNode::doIdentification ( const Goal::ConstPtr &  goal) [private]

Execute the identification loop.

Definition at line 98 of file IdentificationNode.cpp.

Initialize and setup controller.

Definition at line 56 of file IdentificationNode.cpp.

void IdentificationNode::onMeasurement ( const auv_msgs::NavSts::ConstPtr &  meas) [private]

Handle incoming estimates message.

Definition at line 72 of file IdentificationNode.cpp.

void IdentificationNode::setTau ( int  elem,
double  value 
) [private]

Publish the force and torque values.

Definition at line 198 of file IdentificationNode.cpp.


Member Data Documentation

The identification action server.

Definition at line 105 of file IdentificationNode.hpp.

The identification thread.

Definition at line 109 of file IdentificationNode.hpp.

Integration based x,y. The x,y measurements will be calculated by integration of forward and lateral speed measurements.

Definition at line 120 of file IdentificationNode.hpp.

The subscribed topics.

Definition at line 101 of file IdentificationNode.hpp.

The measurement mutex.

Definition at line 124 of file IdentificationNode.hpp.

The measurement vector.

Definition at line 113 of file IdentificationNode.hpp.

The publisher of the TAU message.

Definition at line 97 of file IdentificationNode.hpp.


The documentation for this class was generated from the following files:


ident_so
Author(s): Gyula Nagy
autogenerated on Mon Oct 6 2014 01:39:47