Public Member Functions | Protected Types | Protected Attributes | List of all members
scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface > Class Template Reference

#include <scaled_joint_trajectory_controller.h>

Inheritance diagram for scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >:
Inheritance graph
[legend]

Public Member Functions

 ScaledJointTrajectoryController ()=default
 
void update (const ros::Time &time, const ros::Duration &period)
 
virtual ~ScaledJointTrajectoryController ()=default
 
- Public Member Functions inherited from joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
bool init (HardwareInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh)
 
bool init (HardwareInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh)
 
 JointTrajectoryController ()
 
void starting (const ros::Time &time)
 
void stopping (const ros::Time &)
 
void update (const ros::Time &time, const ros::Duration &period)
 

Protected Types

using Base = joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
 
- Protected Types inherited from joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
typedef actionlib::ActionServer< control_msgs::FollowJointTrajectoryAction > ActionServer
 
typedef std::shared_ptr< ActionServerActionServerPtr
 
typedef ActionServer::GoalHandle GoalHandle
 
typedef HardwareInterfaceAdapter< HardwareInterface, typename Segment::StateHwIfaceAdapter
 
typedef HardwareInterface::ResourceHandleType JointHandle
 
typedef trajectory_msgs::JointTrajectory::ConstPtr JointTrajectoryConstPtr
 
typedef realtime_tools::RealtimeServerGoalHandle< control_msgs::FollowJointTrajectoryAction > RealtimeGoalHandle
 
typedef boost::shared_ptr< RealtimeGoalHandleRealtimeGoalHandlePtr
 
typedef Segment::Scalar Scalar
 
typedef JointTrajectorySegment< SegmentImpl > Segment
 
typedef realtime_tools::RealtimePublisher< control_msgs::JointTrajectoryControllerState > StatePublisher
 
typedef std::unique_ptr< StatePublisherStatePublisherPtr
 
typedef std::vector< TrajectoryPerJointTrajectory
 
typedef realtime_tools::RealtimeBox< TrajectoryPtrTrajectoryBox
 
typedef std::vector< SegmentTrajectoryPerJoint
 
typedef std::shared_ptr< TrajectoryPerJointTrajectoryPerJointPtr
 
typedef std::shared_ptr< TrajectoryTrajectoryPtr
 

Protected Attributes

double scaling_factor_
 
- Protected Attributes inherited from joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
ros::Duration action_monitor_period_
 
ActionServerPtr action_server_
 
bool allow_partial_joints_goal_
 
std::vector< bool > angle_wraparound_
 
ros::NodeHandle controller_nh_
 
TrajectoryBox curr_trajectory_box_
 
Segment::State current_state_
 
SegmentTolerances< Scalardefault_tolerances_
 
Segment::State desired_joint_state_
 
Segment::State desired_state_
 
ros::Timer goal_handle_timer_
 
std::unique_ptr< TrajectoryBuilder< SegmentImpl > > hold_traj_builder_
 
TrajectoryPtr hold_trajectory_ptr_
 
HwIfaceAdapter hw_iface_adapter_
 
std::vector< std::string > joint_names_
 
std::vector< JointHandlejoints_
 
ros::Time last_state_publish_time_
 
std::string name_
 
Segment::State old_desired_state_
 
TimeData old_time_data_
 
ros::ServiceServer query_state_service_
 
RealtimeGoalHandlePtr rt_active_goal_
 
Segment::State state_error_
 
Segment::State state_joint_error_
 
StatePublisherPtr state_publisher_
 
ros::Duration state_publisher_period_
 
Segment::Time stop_trajectory_duration_
 
boost::dynamic_bitset successful_joint_traj_
 
realtime_tools::RealtimeBuffer< TimeData > time_data_
 
ros::Subscriber trajectory_command_sub_
 
bool verbose_
 

Additional Inherited Members

- Protected Member Functions inherited from joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
virtual void cancelCB (GoalHandle gh)
 
unsigned int getNumberOfJoints () const
 
virtual void goalCB (GoalHandle gh)
 
virtual void preemptActiveGoal ()
 
void publishState (const ros::Time &time)
 
virtual bool queryStateService (control_msgs::QueryTrajectoryState::Request &req, control_msgs::QueryTrajectoryState::Response &resp)
 
void setHoldPosition (const ros::Time &time, RealtimeGoalHandlePtr gh=RealtimeGoalHandlePtr())
 
virtual void trajectoryCommandCB (const JointTrajectoryConstPtr &msg)
 
void updateStates (const ros::Time &sample_time, const Trajectory *const traj)
 
virtual bool updateTrajectoryCommand (const JointTrajectoryConstPtr &msg, RealtimeGoalHandlePtr gh, std::string *error_string=nullptr)
 
- Static Protected Member Functions inherited from joint_trajectory_controller::JointTrajectoryController< SegmentImpl, HardwareInterface >
static TrajectoryPtr createHoldTrajectory (const unsigned int &number_of_joints)
 

Detailed Description

template<class SegmentImpl, class HardwareInterface>
class scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >

Definition at line 37 of file scaled_joint_trajectory_controller.h.

Member Typedef Documentation

◆ Base

template<class SegmentImpl , class HardwareInterface >
using scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >::Base = joint_trajectory_controller::JointTrajectoryController<SegmentImpl, HardwareInterface>
protected

Definition at line 200 of file scaled_joint_trajectory_controller.h.

Constructor & Destructor Documentation

◆ ScaledJointTrajectoryController()

template<class SegmentImpl , class HardwareInterface >
scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >::ScaledJointTrajectoryController ( )
default

◆ ~ScaledJointTrajectoryController()

template<class SegmentImpl , class HardwareInterface >
virtual scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >::~ScaledJointTrajectoryController ( )
virtualdefault

Member Function Documentation

◆ update()

template<class SegmentImpl , class HardwareInterface >
void scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >::update ( const ros::Time time,
const ros::Duration period 
)
inline

Definition at line 44 of file scaled_joint_trajectory_controller.h.

Member Data Documentation

◆ scaling_factor_

template<class SegmentImpl , class HardwareInterface >
double scaled_controllers::ScaledJointTrajectoryController< SegmentImpl, HardwareInterface >::scaling_factor_
protected

Definition at line 201 of file scaled_joint_trajectory_controller.h.


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


scaled_joint_trajectory_controller
Author(s):
autogenerated on Thu Oct 17 2024 02:27:36