19 #ifndef HPP_CORE_JOINT_BOUND_VALIDATION_HH 20 # define HPP_CORE_JOINT_BOUND_VALIDATION_HH 22 # include <hpp/pinocchio/joint.hh> 38 joint_ (joint), rank_ (rank), lowerBound_ (lowerBound),
39 upperBound_ (upperBound), value_ (value)
43 virtual std::ostream&
print (std::ostream& os)
const 46 os <<
"Joint " << joint_->name () <<
", rank: " << rank_
47 <<
", value out of range: " << value_ <<
" not in [" 48 << lowerBound_ <<
", " << upperBound_ <<
"]";
50 os <<
"Extra config space at rank: " << rank_
51 <<
", value out of range: " << value_ <<
" not in [" 52 << lowerBound_ <<
", " << upperBound_ <<
"]";
94 #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:43
Definition: validation-report.hh:36
boost::shared_ptr< ValidationReport > ValidationReportPtr_t
Definition: fwd.hh:206
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:114
ObjectFactory * create(ObjectFactory *parent=NULL, const XMLElement *element=NULL)
pinocchio::size_type size_type
Definition: fwd.hh:156
pinocchio::JointConstPtr_t JointConstPtr_t
Definition: fwd.hh:132
size_type rank_
degree of freedom in the joint (usually 0)
Definition: joint-bound-validation.hh:60
value_type upperBound_
upper bound
Definition: joint-bound-validation.hh:64
Definition: joint-bound-validation.hh:71
pinocchio::value_type value_type
Definition: fwd.hh:157
boost::shared_ptr< JointBoundValidation > JointBoundValidationPtr_t
Definition: fwd.hh:135
report returned when a configuration is not within the bounds
Definition: joint-bound-validation.hh:31
JointBoundValidationReport(const JointConstPtr_t &joint, size_type rank, value_type lowerBound, value_type upperBound, value_type value)
Definition: joint-bound-validation.hh:34
value_type value_
configuration value
Definition: joint-bound-validation.hh:66
Definition: config-validation.hh:35
value_type lowerBound_
lower bound
Definition: joint-bound-validation.hh:62
JointConstPtr_t joint_
Joint the configuration value is out of bounds.
Definition: joint-bound-validation.hh:58
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:96