hpp-python 6.1.0
python bindings for HPP, based on boost python
path-planner.hh
Go to the documentation of this file.
1//
2// Copyright (c) 2025, CNRS
3// Authors: Paul Sardin
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_CORE_PATH_PLANNER_HH
31#define PYHPP_CORE_PATH_PLANNER_HH
32
34#include <hpp/core/problem.hh>
35#include <hpp/core/roadmap.hh>
36#include <pyhpp/core/problem.hh>
37
38namespace pyhpp {
39namespace core {
43
46
47 // Methods from hpp::core::PathPlanner
48 const RoadmapPtr_t& roadmap() const;
50 void startSolve();
53 void oneStep();
55 void interrupt();
56 void maxIterations(const unsigned long int& n);
57 unsigned long int maxIterations() const;
58 void timeOut(const double& timeOut);
59 double timeOut() const;
60 void stopWhenProblemIsSolved(bool enable);
62
63}; // struct PathPlanner
64
65} // namespace core
66} // namespace pyhpp
67
68#endif
double timeOut() const
Definition: path-planner.cc:136
shared_ptr< PathVector > PathVectorPtr_t
shared_ptr< PathPlanner > PathPlannerPtr_t
shared_ptr< Roadmap > RoadmapPtr_t
shared_ptr< const Problem > ProblemConstPtr_t
hpp::core::ProblemConstPtr_t ProblemConstPtr_t
Definition: path-planner.hh:41
hpp::core::PathVectorPtr_t PathVectorPtr_t
Definition: path-planner.hh:42
hpp::core::RoadmapPtr_t RoadmapPtr_t
Definition: path-planner.hh:40
Definition: fwd.hh:35
void stopWhenProblemIsSolved(bool enable)
double timeOut() const
const RoadmapPtr_t & roadmap() const
void timeOut(const double &timeOut)
hpp::core::PathPlannerPtr_t obj
Definition: path-planner.hh:45
PathVectorPtr_t computePath() const
unsigned long int maxIterations() const
PathVectorPtr_t finishSolve(const PathVectorPtr_t &path)
ProblemConstPtr_t problem() const
PathVectorPtr_t solve()
void maxIterations(const unsigned long int &n)