moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
robot_model_test_utils.cpp
Go to the documentation of this file.
1/*********************************************************************
2 * Software License Agreement (BSD License)
3 *
4 * Copyright (c) 2018, Bryce Willey.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 *
11 * * Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * * Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
17 * * Neither the name of MoveIt nor the names of its
18 * contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 *********************************************************************/
34
35/* Author: Bryce Willey */
36
37// ament_index_cpp's get_package_share_directory API changed twice.
38// Guard on ament_index_cpp's own version — not rclcpp — because the
39// changes live in ament_index_cpp and its release cadence is independent
40// of rclcpp's.
41// 1.14+ (Rolling on Resolute):
42// get_package_share_directory.hpp REMOVED, replaced with
43// get_package_share_path.hpp exposing get_package_share_path(pkg)
44// returning std::filesystem::path directly.
45// 1.5+ (Jazzy 1.8.4, Kilted 1.11.4, Lyrical 1.13.3, Rolling-on-Noble 1.13.1):
46// 2-arg out-param overload get_package_share_directory(pkg, path)
47// available; the 1-arg form is deprecated starting in 1.13.
48// Older (Humble 1.4.1):
49// only the non-deprecated 1-arg get_package_share_directory(pkg)
50// returning std::string is available.
51#include <ament_index_cpp/version.h>
52#if AMENT_INDEX_CPP_VERSION_GTE(1, 14, 0)
53#include <ament_index_cpp/get_package_share_path.hpp>
54#else
55#include <ament_index_cpp/get_package_share_directory.hpp>
56#endif
57#include <boost/algorithm/string_regex.hpp>
58#include <filesystem>
59#include <geometry_msgs/msg/pose.hpp>
61#include <rclcpp/logger.hpp>
62#include <rclcpp/logging.hpp>
63#include <urdf_parser/urdf_parser.h>
65
66#include <pluginlib/class_loader.hpp>
67
69
70namespace moveit
71{
72namespace core
73{
74namespace
75{
76rclcpp::Logger getLogger()
77{
78 return moveit::getLogger("moveit.core.robot_model_test_utils");
79}
80} // namespace
81
82moveit::core::RobotModelPtr loadTestingRobotModel(const std::string& package_name,
83 const std::string& urdf_relative_path,
84 const std::string& srdf_relative_path)
85{
86#if AMENT_INDEX_CPP_VERSION_GTE(1, 14, 0)
87 const auto urdf_path = ament_index_cpp::get_package_share_path(package_name) / urdf_relative_path;
88 const auto srdf_path = ament_index_cpp::get_package_share_path(package_name) / srdf_relative_path;
89#elif AMENT_INDEX_CPP_VERSION_GTE(1, 5, 0)
90 std::filesystem::path pkg_share;
91 ament_index_cpp::get_package_share_directory(package_name, pkg_share);
92 const auto urdf_path = pkg_share / urdf_relative_path;
93 const auto srdf_path = pkg_share / srdf_relative_path;
94#else
95 const auto urdf_path =
96 std::filesystem::path(ament_index_cpp::get_package_share_directory(package_name)) / urdf_relative_path;
97 const auto srdf_path =
98 std::filesystem::path(ament_index_cpp::get_package_share_directory(package_name)) / srdf_relative_path;
99#endif
100
101 urdf::ModelInterfaceSharedPtr urdf_model = urdf::parseURDFFile(urdf_path.string());
102 if (urdf_model == nullptr)
103 {
104 return nullptr;
105 }
106
107 auto srdf_model = std::make_shared<srdf::Model>();
108 if (!srdf_model->initFile(*urdf_model, srdf_path.string()))
109 {
110 return nullptr;
111 }
112
113 return std::make_shared<moveit::core::RobotModel>(urdf_model, srdf_model);
114}
115
116moveit::core::RobotModelPtr loadTestingRobotModel(const std::string& robot_name)
117{
118 urdf::ModelInterfaceSharedPtr urdf = loadModelInterface(robot_name);
119 srdf::ModelSharedPtr srdf = loadSRDFModel(robot_name);
120 auto robot_model = std::make_shared<moveit::core::RobotModel>(urdf, srdf);
121 return robot_model;
122}
123
124urdf::ModelInterfaceSharedPtr loadModelInterface(const std::string& robot_name)
125{
126 const std::string package_name = "moveit_resources_" + robot_name + "_description";
127#if AMENT_INDEX_CPP_VERSION_GTE(1, 14, 0)
128 std::filesystem::path res_path = ament_index_cpp::get_package_share_path(package_name);
129#elif AMENT_INDEX_CPP_VERSION_GTE(1, 5, 0)
130 std::filesystem::path res_path;
131 ament_index_cpp::get_package_share_directory(package_name, res_path);
132#else
133 std::filesystem::path res_path(ament_index_cpp::get_package_share_directory(package_name));
134#endif
135 std::string urdf_path;
136 if (robot_name == "pr2")
137 {
138 urdf_path = (res_path / "urdf/robot.xml").string();
139 }
140 else
141 {
142 urdf_path = (res_path / "urdf" / (robot_name + ".urdf")).string();
143 }
144 urdf::ModelInterfaceSharedPtr urdf_model = urdf::parseURDFFile(urdf_path);
145 if (urdf_model == nullptr)
146 {
147 RCLCPP_ERROR(getLogger(),
148 "Cannot find URDF for %s. Make sure moveit_resources_<your_robot_description> is installed",
149 robot_name.c_str());
150 }
151 return urdf_model;
152}
153
154srdf::ModelSharedPtr loadSRDFModel(const std::string& robot_name)
155{
156 urdf::ModelInterfaceSharedPtr urdf_model = loadModelInterface(robot_name);
157 auto srdf_model = std::make_shared<srdf::Model>();
158 std::string srdf_path;
159 if (robot_name == "pr2")
160 {
161 const std::string package_name = "moveit_resources_" + robot_name + "_description";
162#if AMENT_INDEX_CPP_VERSION_GTE(1, 14, 0)
163 std::filesystem::path res_path = ament_index_cpp::get_package_share_path(package_name);
164#elif AMENT_INDEX_CPP_VERSION_GTE(1, 5, 0)
165 std::filesystem::path res_path;
166 ament_index_cpp::get_package_share_directory(package_name, res_path);
167#else
168 std::filesystem::path res_path(ament_index_cpp::get_package_share_directory(package_name));
169#endif
170 srdf_path = (res_path / "srdf/robot.xml").string();
171 }
172 else
173 {
174 const std::string package_name = "moveit_resources_" + robot_name + "_moveit_config";
175#if AMENT_INDEX_CPP_VERSION_GTE(1, 14, 0)
176 std::filesystem::path res_path = ament_index_cpp::get_package_share_path(package_name);
177#elif AMENT_INDEX_CPP_VERSION_GTE(1, 5, 0)
178 std::filesystem::path res_path;
179 ament_index_cpp::get_package_share_directory(package_name, res_path);
180#else
181 std::filesystem::path res_path(ament_index_cpp::get_package_share_directory(package_name));
182#endif
183 srdf_path = (res_path / "config" / (robot_name + ".srdf")).string();
184 }
185 srdf_model->initFile(*urdf_model, srdf_path);
186 return srdf_model;
187}
188
189void loadIKPluginForGroup(const rclcpp::Node::SharedPtr& node, JointModelGroup* jmg, const std::string& base_link,
190 const std::string& tip_link, std::string plugin, double timeout)
191{
192 using LoaderType = pluginlib::ClassLoader<kinematics::KinematicsBase>;
193 static std::weak_ptr<LoaderType> cached_loader;
194 std::shared_ptr<LoaderType> loader = cached_loader.lock();
195 if (!loader)
196 {
197 loader = std::make_shared<LoaderType>("moveit_core", "kinematics::KinematicsBase");
198 cached_loader = loader;
199 }
200
201 // translate short to long names
202 if (plugin == "KDL")
203 plugin = "kdl_kinematics_plugin/KDLKinematicsPlugin";
204
206 [=](const JointModelGroup* jmg) -> kinematics::KinematicsBasePtr {
207 kinematics::KinematicsBasePtr result = loader->createUniqueInstance(plugin);
208 result->initialize(node, jmg->getParentModel(), jmg->getName(), base_link, { tip_link }, 0.0);
209 result->setDefaultTimeout(timeout);
210 return result;
211 },
213}
214
215RobotModelBuilder::RobotModelBuilder(const std::string& name, const std::string& base_link_name)
216 : urdf_model_(std::make_shared<urdf::ModelInterface>()), srdf_writer_(std::make_shared<srdf::SRDFWriter>())
217{
218 urdf_model_->clear();
219 urdf_model_->name_ = name;
220
221 auto base_link = std::make_shared<urdf::Link>();
222 base_link->name = base_link_name;
223 urdf_model_->links_.insert(std::make_pair(base_link_name, base_link));
224
225 srdf_writer_->robot_name_ = name;
226}
227
228void RobotModelBuilder::addChain(const std::string& section, const std::string& type,
229 const std::vector<geometry_msgs::msg::Pose>& joint_origins, urdf::Vector3 joint_axis)
230{
231 std::vector<std::string> link_names;
232 boost::split_regex(link_names, section, boost::regex("->"));
233 if (link_names.empty())
234 {
235 RCLCPP_ERROR(getLogger(), "No links specified (empty section?)");
236 is_valid_ = false;
237 return;
238 }
239 // First link should already be added.
240 if (!urdf_model_->getLink(link_names[0]))
241 {
242 RCLCPP_ERROR(getLogger(), "Link %s not present in builder yet!", link_names[0].c_str());
243 is_valid_ = false;
244 return;
245 }
246
247 if (!joint_origins.empty() && link_names.size() - 1 != joint_origins.size())
248 {
249 RCLCPP_ERROR(getLogger(), "There should be one more link (%zu) than there are joint origins (%zu)",
250 link_names.size(), joint_origins.size());
251 is_valid_ = false;
252 return;
253 }
254
255 // Iterate through each link.
256 for (size_t i = 1; i < link_names.size(); ++i)
257 {
258 // These links shouldn't be present already.
259 if (urdf_model_->getLink(link_names[i]))
260 {
261 RCLCPP_ERROR(getLogger(), "Link %s is already specified", link_names[i].c_str());
262 is_valid_ = false;
263 return;
264 }
265 auto link = std::make_shared<urdf::Link>();
266 link->name = link_names[i];
267 urdf_model_->links_.insert(std::make_pair(link_names[i], link));
268 auto joint = std::make_shared<urdf::Joint>();
269 joint->name = link_names[i - 1] + "-" + link_names[i] + "-joint";
270 // Default to Identity transform for origins.
271 joint->parent_to_joint_origin_transform.clear();
272 if (!joint_origins.empty())
273 {
274 geometry_msgs::msg::Pose o = joint_origins[i - 1];
275 joint->parent_to_joint_origin_transform.position = urdf::Vector3(o.position.x, o.position.y, o.position.z);
276 joint->parent_to_joint_origin_transform.rotation =
277 urdf::Rotation(o.orientation.x, o.orientation.y, o.orientation.z, o.orientation.w);
278 }
279
280 joint->parent_link_name = link_names[i - 1];
281 joint->child_link_name = link_names[i];
282 if (type == "planar")
283 {
284 joint->type = urdf::Joint::PLANAR;
285 }
286 else if (type == "floating")
287 {
288 joint->type = urdf::Joint::FLOATING;
289 }
290 else if (type == "revolute")
291 {
292 joint->type = urdf::Joint::REVOLUTE;
293 }
294 else if (type == "continuous")
295 {
296 joint->type = urdf::Joint::CONTINUOUS;
297 }
298 else if (type == "prismatic")
299 {
300 joint->type = urdf::Joint::PRISMATIC;
301 }
302 else if (type == "fixed")
303 {
304 joint->type = urdf::Joint::FIXED;
305 }
306 else
307 {
308 RCLCPP_ERROR(getLogger(), "No such joint type as %s", type.c_str());
309 is_valid_ = false;
310 return;
311 }
312
313 joint->axis = joint_axis;
314 if (joint->type == urdf::Joint::REVOLUTE || joint->type == urdf::Joint::PRISMATIC)
315 {
316 auto limits = std::make_shared<urdf::JointLimits>();
317 limits->lower = -M_PI;
318 limits->upper = M_PI;
319
320 joint->limits = limits;
321 }
322 urdf_model_->joints_.insert(std::make_pair(joint->name, joint));
323 }
324}
325
326void RobotModelBuilder::addInertial(const std::string& link_name, double mass, geometry_msgs::msg::Pose origin,
327 double ixx, double ixy, double ixz, double iyy, double iyz, double izz)
328{
329 if (!urdf_model_->getLink(link_name))
330 {
331 RCLCPP_ERROR(getLogger(), "Link %s not present in builder yet!", link_name.c_str());
332 is_valid_ = false;
333 return;
334 }
335
336 auto inertial = std::make_shared<urdf::Inertial>();
337 inertial->origin.position = urdf::Vector3(origin.position.x, origin.position.y, origin.position.z);
338 inertial->origin.rotation =
339 urdf::Rotation(origin.orientation.x, origin.orientation.y, origin.orientation.z, origin.orientation.w);
340 inertial->mass = mass;
341 inertial->ixx = ixx;
342 inertial->ixy = ixy;
343 inertial->ixz = ixz;
344 inertial->iyy = iyy;
345 inertial->iyz = iyz;
346 inertial->izz = izz;
347
348 urdf::LinkSharedPtr link;
349 urdf_model_->getLink(link_name, link);
350 link->inertial = inertial;
351}
352
353void RobotModelBuilder::addVisualBox(const std::string& link_name, const std::vector<double>& size,
354 geometry_msgs::msg::Pose origin)
355{
356 auto vis = std::make_shared<urdf::Visual>();
357 auto geometry = std::make_shared<urdf::Box>();
358 geometry->dim = urdf::Vector3(size[0], size[1], size[2]);
359 vis->geometry = geometry;
360 addLinkVisual(link_name, vis, origin);
361}
362
363void RobotModelBuilder::addCollisionBox(const std::string& link_name, const std::vector<double>& dims,
364 geometry_msgs::msg::Pose origin)
365{
366 if (dims.size() != 3)
367 {
368 RCLCPP_ERROR(getLogger(), "There can only be 3 dimensions of a box (given %zu!)", dims.size());
369 is_valid_ = false;
370 return;
371 }
372 auto coll = std::make_shared<urdf::Collision>();
373 auto geometry = std::make_shared<urdf::Box>();
374 geometry->dim = urdf::Vector3(dims[0], dims[1], dims[2]);
375 coll->geometry = geometry;
376 addLinkCollision(link_name, coll, origin);
377}
378
379void RobotModelBuilder::addCollisionMesh(const std::string& link_name, const std::string& filename,
380 geometry_msgs::msg::Pose origin)
381{
382 auto coll = std::make_shared<urdf::Collision>();
383 auto geometry = std::make_shared<urdf::Mesh>();
384 geometry->filename = filename;
385 coll->geometry = geometry;
386 addLinkCollision(link_name, coll, origin);
387}
388
389void RobotModelBuilder::addLinkCollision(const std::string& link_name, const urdf::CollisionSharedPtr& collision,
390 geometry_msgs::msg::Pose origin)
391{
392 if (!urdf_model_->getLink(link_name))
393 {
394 RCLCPP_ERROR(getLogger(), "Link %s not present in builder yet!", link_name.c_str());
395 is_valid_ = false;
396 return;
397 }
398 collision->origin.position = urdf::Vector3(origin.position.x, origin.position.y, origin.position.z);
399 collision->origin.rotation =
400 urdf::Rotation(origin.orientation.x, origin.orientation.y, origin.orientation.z, origin.orientation.w);
401
402 urdf::LinkSharedPtr link;
403 urdf_model_->getLink(link_name, link);
404 link->collision_array.push_back(collision);
405}
406
407void RobotModelBuilder::addLinkVisual(const std::string& link_name, const urdf::VisualSharedPtr& vis,
408 geometry_msgs::msg::Pose origin)
409{
410 if (!urdf_model_->getLink(link_name))
411 {
412 RCLCPP_ERROR(getLogger(), "Link %s not present in builder yet!", link_name.c_str());
413 is_valid_ = false;
414 return;
415 }
416 vis->origin.position = urdf::Vector3(origin.position.x, origin.position.y, origin.position.z);
417 vis->origin.rotation =
418 urdf::Rotation(origin.orientation.x, origin.orientation.y, origin.orientation.z, origin.orientation.w);
419
420 urdf::LinkSharedPtr link;
421 urdf_model_->getLink(link_name, link);
422 if (!link->visual_array.empty())
423 {
424 link->visual_array.push_back(vis);
425 }
426 else if (link->visual)
427 {
428 link->visual_array.push_back(link->visual);
429 link->visual.reset();
430 link->visual_array.push_back(vis);
431 }
432 else
433 {
434 link->visual = vis;
435 }
436}
437
438void RobotModelBuilder::addVirtualJoint(const std::string& parent_frame, const std::string& child_link,
439 const std::string& type, const std::string& name)
440{
441 srdf::Model::VirtualJoint new_virtual_joint;
442 if (name.empty())
443 {
444 new_virtual_joint.name_ = parent_frame + "-" + child_link + "-virtual_joint";
445 }
446 else
447 {
448 new_virtual_joint.name_ = name;
449 }
450 new_virtual_joint.type_ = type;
451 new_virtual_joint.parent_frame_ = parent_frame;
452 new_virtual_joint.child_link_ = child_link;
453 srdf_writer_->virtual_joints_.push_back(new_virtual_joint);
454}
455
456void RobotModelBuilder::addGroupChain(const std::string& base_link, const std::string& tip_link, const std::string& name)
457{
458 srdf::Model::Group new_group;
459 if (name.empty())
460 {
461 new_group.name_ = base_link + "-" + tip_link + "-chain-group";
462 }
463 else
464 {
465 new_group.name_ = name;
466 }
467 new_group.chains_.push_back(std::make_pair(base_link, tip_link));
468 srdf_writer_->groups_.push_back(new_group);
469}
470
471void RobotModelBuilder::addGroup(const std::vector<std::string>& links, const std::vector<std::string>& joints,
472 const std::string& name)
473{
474 srdf::Model::Group new_group;
475 new_group.name_ = name;
476 new_group.links_ = links;
477 new_group.joints_ = joints;
478 srdf_writer_->groups_.push_back(new_group);
479}
480
481void RobotModelBuilder::addEndEffector(const std::string& name, const std::string& parent_link,
482 const std::string& parent_group, const std::string& component_group)
483{
484 srdf::Model::EndEffector eef;
485 eef.name_ = name;
486 eef.parent_link_ = parent_link;
487 eef.parent_group_ = parent_group;
488 eef.component_group_ = component_group;
489 srdf_writer_->end_effectors_.push_back(eef);
490}
491
492void RobotModelBuilder::addJointProperty(const std::string& joint_name, const std::string& property_name,
493 const std::string& value)
494{
495 srdf_writer_->joint_properties_[joint_name].push_back({ joint_name, property_name, value });
496}
497
499{
500 return is_valid_;
501}
502
503moveit::core::RobotModelPtr RobotModelBuilder::build()
504{
505 moveit::core::RobotModelPtr robot_model;
506 std::map<std::string, std::string> parent_link_tree;
507 parent_link_tree.clear();
508
509 try
510 {
511 urdf_model_->initTree(parent_link_tree);
512 }
513 catch (urdf::ParseError& e)
514 {
515 RCLCPP_ERROR(getLogger(), "Failed to build tree: %s", e.what());
516 return robot_model;
517 }
518
519 // find the root link
520 try
521 {
522 urdf_model_->initRoot(parent_link_tree);
523 }
524 catch (urdf::ParseError& e)
525 {
526 RCLCPP_ERROR(getLogger(), "Failed to find root link: %s", e.what());
527 return robot_model;
528 }
529 srdf_writer_->updateSRDFModel(*urdf_model_);
530 robot_model = std::make_shared<moveit::core::RobotModel>(urdf_model_, srdf_writer_->srdf_model_);
531 return robot_model;
532}
533} // namespace core
534} // namespace moveit
const RobotModel & getParentModel() const
Get the kinematic model this group is part of.
void setSolverAllocators(const SolverAllocatorFn &solver, const SolverAllocatorMapFn &solver_map=SolverAllocatorMapFn())
const std::string & getName() const
Get the name of the joint group.
void addChain(const std::string &section, const std::string &type, const std::vector< geometry_msgs::msg::Pose > &joint_origins={}, urdf::Vector3 joint_axis=urdf::Vector3(1.0, 0.0, 0.0))
Adds a chain of links and joints to the builder. The joint names are generated automatically as "<par...
void addInertial(const std::string &link_name, double mass, geometry_msgs::msg::Pose origin, double ixx, double ixy, double ixz, double iyy, double iyz, double izz)
void addEndEffector(const std::string &name, const std::string &parent_link, const std::string &parent_group="", const std::string &component_group="")
void addCollisionBox(const std::string &link_name, const std::vector< double > &dims, geometry_msgs::msg::Pose origin)
Adds a collision box to a specific link.
void addJointProperty(const std::string &joint_name, const std::string &property_name, const std::string &value)
Adds a new joint property.
bool isValid()
Returns true if the building process so far has been valid.
void addGroup(const std::vector< std::string > &links, const std::vector< std::string > &joints, const std::string &name)
Adds a new group using a list of links and a list of joints.
moveit::core::RobotModelPtr build()
Builds and returns the robot model added to the builder.
void addVirtualJoint(const std::string &parent_frame, const std::string &child_link, const std::string &type, const std::string &name="")
Adds a virtual joint to the SRDF.
void addGroupChain(const std::string &base_link, const std::string &tip_link, const std::string &name="")
Adds a new group using a chain of links. The group is the parent joint of each link in the chain.
void addCollisionMesh(const std::string &link_name, const std::string &filename, geometry_msgs::msg::Pose origin)
Adds a collision mesh to a specific link.
RobotModelBuilder(const std::string &name, const std::string &base_link_name)
Constructor, takes the names of the robot and the base link.
void addVisualBox(const std::string &link_name, const std::vector< double > &size, geometry_msgs::msg::Pose origin)
Adds a visual box to a specific link.
Core components of MoveIt.
moveit::core::RobotModelPtr loadTestingRobotModel(const std::string &package_name, const std::string &urdf_relative_path, const std::string &srdf_relative_path)
Loads a robot model given a URDF and SRDF file in a package.
srdf::ModelSharedPtr loadSRDFModel(const std::string &robot_name)
Loads an SRDF Model from moveit_resources.
void loadIKPluginForGroup(const rclcpp::Node::SharedPtr &node, JointModelGroup *jmg, const std::string &base_link, const std::string &tip_link, std::string plugin="KDL", double timeout=0.1)
Load an IK solver plugin for the given joint model group.
urdf::ModelInterfaceSharedPtr loadModelInterface(const std::string &robot_name)
Loads a URDF Model Interface from moveit_resources.
std::map< const JointModelGroup *, SolverAllocatorFn > SolverAllocatorMapFn
Map from group instances to allocator functions & bijections.
Main namespace for MoveIt.
rclcpp::Logger getLogger(const std::string &name)
Creates a namespaced logger.
Definition logger.cpp:79