Go to the documentation of this file.
16 using namespace Eigen;
18 typedef Eigen::Matrix<bool, Eigen::Dynamic, 1>
VectorXb;
24 const bool stopAtFirstCollision =
false)
35 const Eigen::VectorXd &
q,
36 const bool stopAtFirstCollision =
false)
45 const Eigen::MatrixXd &
q,
46 bool stopAtFirstCollisionInConfiguration =
false,
47 bool stopAtFirstCollisionInBatch =
false)
51 num_thread,
pool,
q,
res, stopAtFirstCollisionInConfiguration, stopAtFirstCollisionInBatch);
59 using namespace Eigen;
63 (bp::arg(
"num_thread"), bp::arg(
"geometry_model"), bp::arg(
"geometry_data"),
64 bp::arg(
"stop_at_first_collision") =
false),
65 "Evaluates in parallel the collisions for a single data and returns the result.\n\n"
67 "\tnum_thread: number of threads used for the computation\n"
68 "\tgeometry_model: the geometry model\n"
69 "\tgeometry_data: the geometry data\n"
70 "\tstop_at_first_collision: if set to true, stops when encountering the first "
75 (bp::arg(
"num_thread"), bp::arg(
"model"), bp::arg(
"data"), bp::arg(
"geometry_model"),
76 bp::arg(
"geometry_data"), bp::arg(
"q"), bp::arg(
"stop_at_first_collision") =
false),
77 "Evaluates in parallel the collisions for a single data and returns the result.\n\n"
79 "\tnum_thread: number of threads used for the computation\n"
80 "\tmodel: the kinematic model\n"
81 "\tdata: the data associated to the model\n"
82 "\tgeometry_model: the geometry model\n"
83 "\tgeometry_data: the geometry data associated to the tgeometry_model\n"
84 "\tq: the joint configuration vector (size model.nq)\n"
85 "\tstop_at_first_collision: if set to true, stops when encountering the first "
90 (bp::arg(
"num_thread"), bp::arg(
"pool"), bp::arg(
"q"),
91 bp::arg(
"stop_at_first_collision_in_configuration") =
false,
92 bp::arg(
"stop_at_first_collision_in_batch") =
false),
93 "Evaluates in parallel the collisions and returns the result.\n\n"
95 "\tnum_thread: number of threads used for the computation\n"
96 "\tpool: pool of geometry model/ geometry data\n"
97 "\tq: the joint configuration vector (size model.nq x batch_size)\n"
98 "\tstop_at_first_collision_in_configuration: if set to true, stops when encountering "
99 "the first collision in a configuration\n"
100 "\tstop_at_first_collision_in_batch: if set to true, stops when encountering the "
101 "first collision in a batch.\n");
static bool computeCollisionsInParallel_full_proxy(const size_t num_threads, const Model &model, Data &data, const GeometryModel &geom_model, GeometryData &geom_data, const Eigen::VectorXd &q, const bool stopAtFirstCollision=false)
static bool computeCollisionsInParallel_proxy(const size_t num_threads, const GeometryModel &geom_model, GeometryData &geom_data, const bool stopAtFirstCollision=false)
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
static VectorXb computeCollisionsInParallel_pool_proxy(const int num_thread, GeometryPool &pool, const Eigen::MatrixXd &q, bool stopAtFirstCollisionInConfiguration=false, bool stopAtFirstCollisionInBatch=false)
Eigen::Matrix< bool, Eigen::Dynamic, 1 > VectorXb
void computeCollisionsInParallel(const size_t num_threads, BroadPhaseManagerPoolBase< BroadPhaseManagerDerived, Scalar, Options, JointCollectionTpl > &pool, const Eigen::MatrixBase< ConfigVectorPool > &q, const Eigen::MatrixBase< CollisionVectorResult > &res, const bool stopAtFirstCollisionInConfiguration=false, const bool stopAtFirstCollisionInBatch=false)
void exposeParallelGeometry()
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:29