6 #ifndef __sot_torque_control_free_flyer_locator_H__
7 #define __sot_torque_control_free_flyer_locator_H__
14 #if defined(free_flyer_locator_EXPORTS)
15 #define SOTFREEFLYERLOCATOR_EXPORT __declspec(dllexport)
17 #define SOTFREEFLYERLOCATOR_EXPORT __declspec(dllimport)
20 #define SOTFREEFLYERLOCATOR_EXPORT
28 #include "boost/assign.hpp"
31 #include <pinocchio/algorithm/kinematics.hpp>
32 #include <pinocchio/multibody/model.hpp>
33 #include <pinocchio/parsers/urdf.hpp>
37 #include <dynamic-graph/linear-algebra.h>
39 #include <dynamic-graph/signal-helper.h>
41 #include <sot/core/matrix-geometry.hh>
42 #include <sot/core/robot-utils.hh>
54 :
public ::dynamicgraph::Entity {
56 DYNAMIC_GRAPH_ENTITY_DECL();
59 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
65 void init(
const std::string& robotRef);
68 DECLARE_SIGNAL_IN(base6d_encoders, dynamicgraph::Vector);
69 DECLARE_SIGNAL_IN(joint_velocities, dynamicgraph::Vector);
70 DECLARE_SIGNAL_INNER(kinematics_computations, dynamicgraph::Vector);
72 DECLARE_SIGNAL_OUT(freeflyer_aa, dynamicgraph::Vector);
74 DECLARE_SIGNAL_OUT(base6dFromFoot_encoders, dynamicgraph::Vector);
76 DECLARE_SIGNAL_OUT(v, dynamicgraph::Vector);
79 void displayRobotUtil();
82 virtual void display(std::ostream& os)
const;
84 void sendMsg(
const std::string& msg, MsgType t = MSG_TYPE_INFO,
85 const char* =
"",
int = 0) {
86 logger_.stream(t) << (
"[FreeFlyerLocator-" + name +
"] " + msg) <<
'\n';
114 #endif // #ifndef __sot_torque_control_free_flyer_locator_H__