18 #define HUMOTO_CONFIG_SECTION_ID "RigidBodyPose" 19 #define HUMOTO_CONFIG_CONSTRUCTOR RigidBodyPose 20 #define HUMOTO_CONFIG_ENTRIES \ 21 HUMOTO_CONFIG_COMPOUND_(position) \ 22 HUMOTO_CONFIG_COMPOUND_(rpy) 23 #include HUMOTO_CONFIG_DEFINE_ACCESSORS 62 friend std::ostream& operator<< ( std::ostream& out,
68 << pose.
rpy_.x() <<
" " 69 << pose.
rpy_.y() <<
" " 85 const std::string &name =
"rigid_body_pose")
const 89 logger.log(
LogEntryName(subname).add(
"position"), position_);
102 #define HUMOTO_CONFIG_SECTION_ID "RigidBodyState" 103 #define HUMOTO_CONFIG_CONSTRUCTOR RigidBodyState 104 #define HUMOTO_CONFIG_ENTRIES \ 105 HUMOTO_CONFIG_PARENT_CLASS(PointMassState) \ 106 HUMOTO_CONFIG_PARENT_CLASS(RotaryState) 107 #include HUMOTO_CONFIG_DEFINE_ACCESSORS 149 const std::string &name =
"rigid_body_state")
const void unset()
Initialize state (everything is set to NaN).
Class that groups together parameters related to a robot foot.
void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="rotary_state") const
Log.
etools::Vector3 position_
void setDefaults()
Set default values.
#define HUMOTO_GLOBAL_LOGGER_IF_DEFINED
Default configurable base is strict.
RigidBodyState()
Default constructor.
Represents log entry name.
void unset()
Initialize state (everything is set to NaN).
void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="rigid_body_state") const
Log.
Class that groups together parameters related to a robot foot.
void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="rigid_body_pose") const
Log.
void log(humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="point_mass_state") const
Log.
void unset()
Initialize state (everything is set to NaN).
Threaded logger: any data sent to this logger is wrapped in a message and pushed to a queue...
RigidBodyPose()
Default constructor.
The root namespace of HuMoTo.
void setDefaults()
Initialize state (everything is set to zeros).
Class that groups together parmeters related to a robot foot.
LogEntryName & add(const char *name)
extends entry name with a subname
void setDefaults()
Initialize state (everything is set to zeros).
void setDefaults()
Initialize state (everything is set to zeros).