30 #ifndef HPP_CORE_JOINT_BOUND_VALIDATION_HH 31 #define HPP_CORE_JOINT_BOUND_VALIDATION_HH 34 #include <hpp/pinocchio/joint.hh> 50 lowerBound_(lowerBound),
51 upperBound_(upperBound),
54 virtual std::ostream&
print(std::ostream& os)
const {
56 os <<
"Joint " << joint_->name() <<
", rank: " << rank_
57 <<
", value out of range: " << value_ <<
" not in [" << lowerBound_
58 <<
", " << upperBound_ <<
"]";
60 os <<
"Extra config space at rank: " << rank_
61 <<
", value out of range: " << value_ <<
" not in [" << lowerBound_
62 <<
", " << upperBound_ <<
"]";
105 #endif // HPP_CORE_JOINT_BOUND_VALIDATION_HH virtual std::ostream & print(std::ostream &os) const
Print report in a stream.
Definition: joint-bound-validation.hh:54
Definition: validation-report.hh:47
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:134
Definition: bi-rrt-planner.hh:35
shared_ptr< JointBoundValidation > JointBoundValidationPtr_t
Definition: fwd.hh:153
pinocchio::size_type size_type
Definition: fwd.hh:173
pinocchio::JointConstPtr_t JointConstPtr_t
Definition: fwd.hh:150
size_type rank_
degree of freedom in the joint (usually 0)
Definition: joint-bound-validation.hh:70
shared_ptr< ValidationReport > ValidationReportPtr_t
Definition: fwd.hh:225
value_type upperBound_
upper bound
Definition: joint-bound-validation.hh:74
Definition: joint-bound-validation.hh:81
pinocchio::value_type value_type
Definition: fwd.hh:174
report returned when a configuration is not within the bounds
Definition: joint-bound-validation.hh:42
JointBoundValidationReport(const JointConstPtr_t &joint, size_type rank, value_type lowerBound, value_type upperBound, value_type value)
Definition: joint-bound-validation.hh:44
value_type value_
configuration value
Definition: joint-bound-validation.hh:76
Definition: config-validation.hh:46
value_type lowerBound_
lower bound
Definition: joint-bound-validation.hh:72
JointConstPtr_t joint_
Joint the configuration value is out of bounds.
Definition: joint-bound-validation.hh:68
#define HPP_CORE_DLLAPI
Definition: config.hh:64
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:106