hpp-python  9.0.2
python bindings for HPP, based on boost python
cartesian.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2026, CNRS
3 // Authors: Florent Lamiraux
4 //
5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions
7 // are met:
8 
9 // 1. Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer.
11 
12 // 2. Redistributions in binary form must reproduce the above
13 // copyright notice, this list of conditions and the following
14 // disclaimer in the documentation and/or other materials provided
15 // with the distribution.
16 
17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
20 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
21 // COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
28 // OF THE POSSIBILITY OF SUCH DAMAGE.
29 
30 #ifndef PYHPP_MANIPULATION_STEERING_METHOD_CARTESIAN_HH
31 #define PYHPP_MANIPULATION_STEERING_METHOD_CARTESIAN_HH
32 
33 #include <hpp/manipulation/steering-method/cartesian.hh>
34 #include <pyhpp/core/problem.hh>
35 
36 namespace pyhpp {
37 namespace manipulation {
38 namespace steeringMethod {
39 
48 
49 class Cartesian {
50  public:
53  void setMaxIterations(size_type iterations);
55  void setErrorThreshold(value_type threshold);
57  void setTrajectoryConstraint(const ImplicitPtr_t& ic);
59  void setRightHandSide1(const PathPtr_t& rhs, bool se3Output);
61  const interval_t& timeRange);
63  interval_t getTimeRange() const;
67 };
68 
69 void exposeCartesian();
70 } // namespace steeringMethod
71 } // namespace manipulation
72 } // namespace pyhpp
73 
74 #endif
void setMaxIterations(size_type iterations)
Definition: cartesian.cc:46
void setNDiscreteSteps(size_type n)
Definition: cartesian.cc:74
size_type getNDiscreteSteps() const
Definition: cartesian.cc:73
void setErrorThreshold(value_type threshold)
Definition: cartesian.cc:50
size_type getMaxIterations() const
Definition: cartesian.cc:49
boost::python::tuple planPath(const Configuration_t &q_init)
Definition: cartesian.cc:75
ImplicitPtr_t getTrajectoryConstraint()
Definition: cartesian.cc:59
void setRightHandSide1(const PathPtr_t &rhs, bool se3Output)
Definition: cartesian.cc:62
value_type getErrorThreshold() const
Definition: cartesian.cc:53
void setRightHandSide2(const DifferentiableFunctionPtr_t &rhs, const interval_t &timeRange)
Definition: cartesian.cc:65
interval_t getTimeRange() const
Definition: cartesian.cc:72
DifferentiableFunctionPtr_t getRightHandSide() const
Definition: cartesian.cc:69
void setTrajectoryConstraint(const ImplicitPtr_t &ic)
Definition: cartesian.cc:56
Cartesian(const pyhpp::core::Problem &problem)
Definition: cartesian.cc:43
hpp::manipulation::steeringMethod::CartesianPtr_t obj
Definition: cartesian.hh:51
ProblemConstPtr_t problem() const
pinocchio::Configuration_t Configuration_t
shared_ptr< DifferentiableFunction > DifferentiableFunctionPtr_t
shared_ptr< Implicit > ImplicitPtr_t
std::pair< value_type, value_type > interval_t
pinocchio::size_type size_type
pinocchio::value_type value_type
shared_ptr< Path > PathPtr_t
shared_ptr< Cartesian > CartesianPtr_t
hpp::constraints::value_type value_type
Definition: cartesian.hh:46
hpp::constraints::DifferentiableFunctionPtr_t DifferentiableFunctionPtr_t
Definition: cartesian.hh:42
hpp::constraints::ImplicitPtr_t ImplicitPtr_t
Definition: cartesian.hh:44
hpp::core::PathPtr_t PathPtr_t
Definition: cartesian.hh:47
hpp::constraints::size_type size_type
Definition: cartesian.hh:45
hpp::constraints::interval_t interval_t
Definition: cartesian.hh:43
hpp::constraints::Configuration_t Configuration_t
Definition: cartesian.hh:40
void exposeCartesian()
Definition: cartesian.cc:82
boost::python::tuple tuple
Definition: path-planner.hh:39
Definition: fwd.hh:35