moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
online_signal_smoothing::RuckigFilterPlugin Class Reference

#include <ruckig_filter.h>

Inheritance diagram for online_signal_smoothing::RuckigFilterPlugin:
Inheritance graph
[legend]
Collaboration diagram for online_signal_smoothing::RuckigFilterPlugin:
Collaboration graph
[legend]

Public Member Functions

bool initialize (rclcpp::Node::SharedPtr node, moveit::core::RobotModelConstPtr robot_model, size_t num_joints) override
 
bool doSmoothing (Eigen::VectorXd &positions, Eigen::VectorXd &velocities, Eigen::VectorXd &accelerations) override
 
bool reset (const Eigen::VectorXd &positions, const Eigen::VectorXd &velocities, const Eigen::VectorXd &accelerations) override
 
- Public Member Functions inherited from online_signal_smoothing::SmoothingBaseClass
 SmoothingBaseClass ()
 
virtual ~SmoothingBaseClass ()
 

Detailed Description

Definition at line 52 of file ruckig_filter.h.

Member Function Documentation

◆ doSmoothing()

bool online_signal_smoothing::RuckigFilterPlugin::doSmoothing ( Eigen::VectorXd &  positions,
Eigen::VectorXd &  velocities,
Eigen::VectorXd &  accelerations 
)
overridevirtual

Smooth the command signals for all DOF

Parameters
positionsarray of joint position commands
velocitiesarray of joint velocity commands
accelerationsarray of joint acceleration commands
Returns
True if initialization was successful

Implements online_signal_smoothing::SmoothingBaseClass.

Definition at line 82 of file ruckig_filter.cpp.

Here is the call graph for this function:

◆ initialize()

bool online_signal_smoothing::RuckigFilterPlugin::initialize ( rclcpp::Node::SharedPtr  node,
moveit::core::RobotModelConstPtr  robot_model,
size_t  num_joints 
)
overridevirtual

Initialize the smoothing algorithm

Parameters
nodeROS node, used for parameter retrieval
robot_modelused to retrieve vel/accel/jerk limits
num_jointsnumber of actuated joints in the JointGroup
Returns
True if initialization was successful

Implements online_signal_smoothing::SmoothingBaseClass.

Definition at line 52 of file ruckig_filter.cpp.

◆ reset()

bool online_signal_smoothing::RuckigFilterPlugin::reset ( const Eigen::VectorXd &  positions,
const Eigen::VectorXd &  velocities,
const Eigen::VectorXd &  accelerations 
)
overridevirtual

Reset to a given joint state

Parameters
positionsreset the filters to these joint positions
velocities(unused)
accelerations(unused)
Returns
True if reset was successful

Implements online_signal_smoothing::SmoothingBaseClass.

Definition at line 139 of file ruckig_filter.cpp.


The documentation for this class was generated from the following files: