Skip to main content

SdfControlPoint Struct

A single collision proxy that the SDF nullspace task should push away from obstacles. More...

Declaration

struct path_ik::SdfControlPoint { ... }

Included Headers

#include <sdf_repulsion_task.hpp>

Public Member Attributes Index

const moveit_pro::base::LinkModel *jacobian_tip_link = nullptr

Link used as the Jacobian tip and the FK origin for offset_in_tip_link. Defaults to nullptr so a default-constructed control point produces the documented safe-skip behavior instead of an indeterminate pointer dereference. More...

Eigen::Vector3doffset_in_tip_link = Eigen::Vector3d::Zero()

Sphere center in jacobian_tip_link coordinates (meters). More...

doubleradius = 0.0

Sphere radius (meters). Subtracted from the SDF distance to obtain surface clearance. More...

Description

A single collision proxy that the SDF nullspace task should push away from obstacles.

Each control point models a sphere rigidly attached to jacobian_tip_link. The sphere center in world coordinates is computed from FK as T_world_jacobian_tip_link * offset_in_tip_link. The Jacobian is built with jacobian_tip_link as the kinematic tip, which means joints downstream of that link (e.g. wrist joints when watching the elbow) get zero columns and don't move the sphere. Pick jacobian_tip_link accordingly: usually the link the sphere is fixed to, or one link up the chain if you want a more restrictive control.

Definition at line 35 of file sdf_repulsion_task.hpp.

Public Member Attributes

jacobian_tip_link

const moveit_pro::base::LinkModel* path_ik::SdfControlPoint::jacobian_tip_link = nullptr

Link used as the Jacobian tip and the FK origin for offset_in_tip_link. Defaults to nullptr so a default-constructed control point produces the documented safe-skip behavior instead of an indeterminate pointer dereference.

Definition at line 40 of file sdf_repulsion_task.hpp.

offset_in_tip_link

Eigen::Vector3d path_ik::SdfControlPoint::offset_in_tip_link = Eigen::Vector3d::Zero()

Sphere center in jacobian_tip_link coordinates (meters).

Definition at line 42 of file sdf_repulsion_task.hpp.

radius

double path_ik::SdfControlPoint::radius = 0.0

Sphere radius (meters). Subtracted from the SDF distance to obtain surface clearance.

Definition at line 44 of file sdf_repulsion_task.hpp.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.