PublishVelocityForceCommand Class
Publishes a velocity force command to the velocity force controller at a fixed rate. More...
Declaration
class moveit_pro::behaviors::PublishVelocityForceCommand { ... }
#include <publish_velocity_force_command.hpp>
Base class
Public Member Typedefs Index
Public Constructors Index
| PublishVelocityForceCommand (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) |
|
|
|
Public Member Functions Index
Private Member Functions Index
Private Member Attributes Index
Public Static Functions Index
Description
Publishes a velocity force command to the velocity force controller at a fixed rate.
By default the controller interprets the twist and wrench in its configured ee_frame (see the velocity_force_controller config). Set control_frame_id to a robot-model link (e.g. the world or base link) to express the references in that frame instead, for world-relative motion that stays fixed as the end-effector rotates; this Behavior does not transform between frames itself. Wire either the unstamped twist / wrench ports (recommended) or the legacy twist_stamped / wrench_stamped ports (deprecated, header.frame_id is ignored). Use UnpackTwistStampedMessage / UnpackWrenchStampedMessage to bridge from stamped sources.
| Data Port Name | Port Type | Object Type |
|---|
| velocity_force_controller_command_topic | input | std::string |
| velocity_controlled_axes | input | std::vector<int> |
| force_controlled_axes | input | std::vector<int> |
| wrench_gain | input | double |
| twist | input | geometry_msgs::msg::Twist |
| wrench | input | geometry_msgs::msg::Wrench |
| twist_stamped | input | geometry_msgs::msg::TwistStamped |
| wrench_stamped | input | geometry_msgs::msg::WrenchStamped |
| publish_rate | input | int |
| control_frame_id | input | std::string |
Definition at line 49 of file publish_velocity_force_command.hpp.
Public Member Typedefs
VelocityForceCommand
| using moveit_pro::behaviors::PublishVelocityForceCommand::VelocityForceCommand = moveit_pro_controllers_msgs::msg::VelocityForceCommand |
|
Public Constructors
PublishVelocityForceCommand()
| moveit_pro::behaviors::PublishVelocityForceCommand::PublishVelocityForceCommand (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources) |
|
Public Member Functions
onHalted()
| void moveit_pro::behaviors::PublishVelocityForceCommand::onHalted () |
|
onRunning()
| BT::NodeStatus moveit_pro::behaviors::PublishVelocityForceCommand::onRunning () |
|
onStart()
| BT::NodeStatus moveit_pro::behaviors::PublishVelocityForceCommand::onStart () |
|
Private Member Functions
publishCommand()
| void moveit_pro::behaviors::PublishVelocityForceCommand::publishCommand () |
|
updateCommand()
| std::optional< std::string > moveit_pro::behaviors::PublishVelocityForceCommand::updateCommand () |
|
Private Member Attributes
command_
| VelocityForceCommand moveit_pro::behaviors::PublishVelocityForceCommand::command_ |
|
command_mutex_
| std::mutex moveit_pro::behaviors::PublishVelocityForceCommand::command_mutex_ |
|
command_publisher_
| std::shared_ptr<rclcpp::Publisher<moveit_pro_controllers_msgs::msg::VelocityForceCommand> > moveit_pro::behaviors::PublishVelocityForceCommand::command_publisher_ |
|
timer_
| rclcpp::TimerBase::SharedPtr moveit_pro::behaviors::PublishVelocityForceCommand::timer_ |
|
warned_twist_stamped_deprecated_
| bool moveit_pro::behaviors::PublishVelocityForceCommand::warned_twist_stamped_deprecated_ = false |
|
warned_wrench_stamped_deprecated_
| bool moveit_pro::behaviors::PublishVelocityForceCommand::warned_wrench_stamped_deprecated_ = false |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::PublishVelocityForceCommand::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::PublishVelocityForceCommand::providedPorts () |
|
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.