#include <IdentificationNode.hpp>
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 |
The class contains the implementation of the SO identification algorithm in the ROS framework.
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.
typedef navcon_msgs::DOFIdentificationAction labust::control::IdentificationNode::Action [private] |
Definition at line 64 of file IdentificationNode.hpp.
typedef actionlib::SimpleActionServer<Action> labust::control::IdentificationNode::ActionServer [private] |
Definition at line 65 of file IdentificationNode.hpp.
typedef boost::shared_ptr<ActionServer> labust::control::IdentificationNode::ActionServerPtr [private] |
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.
anonymous enum [private] |
Definition at line 59 of file IdentificationNode.hpp.
anonymous enum [private] |
Definition at line 60 of file IdentificationNode.hpp.
anonymous enum [private] |
Definition at line 61 of file IdentificationNode.hpp.
anonymous enum [private] |
Definition at line 62 of file IdentificationNode.hpp.
Main constructor
Definition at line 49 of file IdentificationNode.cpp.
void IdentificationNode::doIdentification | ( | const Goal::ConstPtr & | goal | ) | [private] |
Execute the identification loop.
Definition at line 98 of file IdentificationNode.cpp.
void IdentificationNode::onInit | ( | ) |
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.
The identification action server.
Definition at line 105 of file IdentificationNode.hpp.
boost::thread labust::control::IdentificationNode::identrunner [private] |
The identification thread.
Definition at line 109 of file IdentificationNode.hpp.
bool labust::control::IdentificationNode::integrateUV [private] |
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.
boost::mutex labust::control::IdentificationNode::measmux [private] |
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.