Go to the documentation of this file.
20 #ifndef ROBOT_CALIBRATION_MODELS_CHAIN_H
21 #define ROBOT_CALIBRATION_MODELS_CHAIN_H
24 #include <kdl/chain.hpp>
25 #include <kdl/tree.hpp>
28 #include <geometry_msgs/PointStamped.h>
29 #include <sensor_msgs/JointState.h>
30 #include <robot_calibration_msgs/CalibrationData.h>
117 ChainModel(
const std::string&
name, KDL::Tree model, std::string root, std::string tip);
125 virtual std::vector<geometry_msgs::PointStamped>
project(
126 const robot_calibration_msgs::CalibrationData& data,
134 const sensor_msgs::JointState& state);
139 virtual std::string
getName()
const;
144 virtual std::string
getType()
const;
163 #endif // ROBOT_CALIBRATION_MODELS_CHAIN_H
ChainModel(const std::string &name, KDL::Tree model, std::string root, std::string tip)
Create a new chain model.
Combined parser and configuration for calibration offsets. Holds the configuration of what is to be c...
KDL::Rotation rotation_from_axis_magnitude(const double x, const double y, const double z)
Converts our angle-axis-with-integrated-magnitude representation to a KDL::Rotation.
void axis_magnitude_from_rotation(const KDL::Rotation &r, double &x, double &y, double &z)
Converts from KDL::Rotation to angle-axis-with-integrated-magnitude.
Calibration code lives under this namespace.
virtual std::string getName() const
Get the name of this model (as provided in the YAML config)
virtual std::string getType() const
Get the type of this model.
KDL::Frame getChainFK(const CalibrationOffsetParser &offsets, const sensor_msgs::JointState &state)
Compute the forward kinematics of the chain, based on the offsets and the joint positions of the stat...
virtual std::vector< geometry_msgs::PointStamped > project(const robot_calibration_msgs::CalibrationData &data, const CalibrationOffsetParser &offsets)
Compute the position of the estimated points.
Model of a kinematic chain. This is the basic instance where we transform the world observations into...
robot_calibration
Author(s): Michael Ferguson
autogenerated on Fri Sep 1 2023 02:52:01