hpp-python: include/pyhpp/core/path-planner.hh Source File

hpp-python 9.0.2 python bindings for HPP, based on boost python

Loading...
Searching...
No Matches
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
33#include <hpp/core/path-vector.hh>
34#include <hpp/core/problem.hh>
35#include <hpp/core/roadmap.hh>
36#include <pyhpp/core/problem.hh>
37
38namespace pyhpp {
39namespace core {
40 typedef hpp::core::RoadmapPtr_t RoadmapPtr_t;
41 typedef hpp::core::ProblemConstPtr_t ProblemConstPtr_t;
42 typedef hpp::core::PathVectorPtr_t PathVectorPtr_t;
43
44 struct PathPlanner {
45 hpp::core::PathPlannerPtr_t obj;
46
47 // Methods from hpp::core::PathPlanner
48 const RoadmapPtr_t& roadmap() const;
49 ProblemConstPtr_t problem() const;
50 void startSolve();
51 PathVectorPtr_t solve();
52 void tryConnectInitAndGoals();
53 void oneStep();
54 PathVectorPtr_t finishSolve(const PathVectorPtr_t& path);
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);
61 PathVectorPtr_t computePath() const;
62
63}; // struct PathPlanner
64
65} // namespace core
66} // namespace pyhpp
67
68#endif
hpp::core::PathPlanner
hpp::core::PathPlanner::timeOut
double timeOut() const
Definition path-planner.cc:145
problem.hh
hpp::core::PathVectorPtr_t
shared_ptr< PathVector > PathVectorPtr_t
hpp::core::PathPlannerPtr_t
shared_ptr< PathPlanner > PathPlannerPtr_t
hpp::core::RoadmapPtr_t
shared_ptr< Roadmap > RoadmapPtr_t
hpp::core::ProblemConstPtr_t
shared_ptr< const Problem > ProblemConstPtr_t
pyhpp
Definition fwd.hh:35
path-vector.hh
roadmap.hh
pyhpp::core::PathPlanner::startSolve
void startSolve()
pyhpp::core::PathPlanner::stopWhenProblemIsSolved
void stopWhenProblemIsSolved(bool enable)
pyhpp::core::PathPlanner::interrupt
void interrupt()
pyhpp::core::PathPlanner::timeOut
double timeOut() const
pyhpp::core::PathPlanner::roadmap
const RoadmapPtr_t & roadmap() const
pyhpp::core::PathPlanner::timeOut
void timeOut(const double &timeOut)
pyhpp::core::PathPlanner::obj
hpp::core::PathPlannerPtr_t obj
Definition path-planner.hh:45
pyhpp::core::PathPlanner::computePath
PathVectorPtr_t computePath() const
pyhpp::core::PathPlanner::maxIterations
unsigned long int maxIterations() const
pyhpp::core::PathPlanner::finishSolve
PathVectorPtr_t finishSolve(const PathVectorPtr_t &path)
pyhpp::core::PathPlanner::problem
ProblemConstPtr_t problem() const
pyhpp::core::PathPlanner::tryConnectInitAndGoals
void tryConnectInitAndGoals()
pyhpp::core::PathPlanner::solve
PathVectorPtr_t solve()
pyhpp::core::PathPlanner::oneStep
void oneStep()
pyhpp::core::PathPlanner::maxIterations
void maxIterations(const unsigned long int &n)