Commit a5dab535 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Make IDL deprecated.

parent 0756fd58
......@@ -28,6 +28,10 @@ module hpp {
interface Problem {
/// Type of static stability constraints.
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createSlidingStabilityConstraint
/// hpp::corbaserver::robot::HumanoidRobot::createStaticStabilityConstraint
/// hpp::corbaserver::robot::HumanoidRobot::createAlignedCOMStabilityConstraint
enum StaticStabilityType {
/// Corresponds to a robot sliding on the floor, the relative position
/// ot the feet being constant. It contains five following constraints:
......@@ -38,6 +42,9 @@ module hpp {
/// \li prefix + "/relative-position": relative position of the feet,
/// \li prefix + "/orientation-left-foot": orientation of the left foot,
/// \li prefix + "/position-left-foot": position of the left foot.
///
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createSlidingStabilityConstraint
SLIDING,
/// Corresponds to a robot sliding on two feets, the COM between the
/// the feet. The feet are constrained to stay on the floor, parallel to
......@@ -48,26 +55,25 @@ module hpp {
/// \li prefix + "/position-right": height of the right foot,
/// \li prefix + "/orientation-left": left foot remains horizontal,
/// \li prefix + "/position-left": height of the left foot.
///
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createAlignedCOMStabilityConstraint
SLIDING_ALIGNED_COM,
/// Same as SLIDING except that the feet are fixed on the ground
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createStaticStabilityConstraint
FIXED_ON_THE_GROUND,
/// Same as SLIDING_ALIGNED_COM, except that the feet are fixed on the
/// ground
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createAlignedCOMStabilityConstraint
FIXED_ALIGNED_COM
};
/// Create static stability constraints and store into ProblemSolver
/// \param prefix prefix of the names of the constraint as stored in
/// core::ProblemSolver,
/// \param floatArray input configuration for computing constraint reference,
/// \param leftAnkle, rightAnkle: names of the ankle joints.
/// \param comName name of the PartialCOM in the problem solver map. Put "" for
/// a full COM computations.
/// \param type type of static stability constraints you wish to create.
///
/// The constraints are stored in the core::ProblemSolver constraints map
/// and are accessible through the method
/// core::ProblemSolver::addNumericalConstraint:
/// \deprecated Use
/// hpp::corbaserver::robot::HumanoidRobot::createSlidingStabilityConstraint
/// hpp::corbaserver::robot::HumanoidRobot::createStaticStabilityConstraint
/// hpp::corbaserver::robot::HumanoidRobot::createAlignedCOMStabilityConstraint
void addStaticStabilityConstraints (in string prefix,
in floatSeq floatArray,
in string leftAnkle,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment