Classes | Public Member Functions | Private Attributes | List of all members
FourWheelSteering Class Reference

#include <four_wheel_steering.h>

Inheritance diagram for FourWheelSteering:
Inheritance graph
[legend]

Classes

struct  Joint
 
struct  SteeringJoint
 

Public Member Functions

 FourWheelSteering ()
 
ros::Duration getPeriod () const
 
ros::Time getTime () const
 
void read ()
 
bool start_callback (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool stop_callback (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
void write ()
 
- Public Member Functions inherited from hardware_interface::RobotHW
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual void doSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual bool init (ros::NodeHandle &, ros::NodeHandle &)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual SwitchState switchResult () const
 
virtual SwitchState switchResult (const ControllerInfo &) const
 
virtual void write (const ros::Time &, const ros::Duration &)
 
virtual void write (const ros::Time &, const ros::Duration &)
 
virtual ~RobotHW ()=default
 
- Public Member Functions inherited from hardware_interface::InterfaceManager
T * get ()
 
std::vector< std::string > getInterfaceResources (std::string iface_type) const
 
std::vector< std::string > getNames () const
 
void registerInterface (T *iface)
 
void registerInterfaceManager (InterfaceManager *iface_man)
 

Private Attributes

hardware_interface::PositionJointInterface jnt_pos_interface_
 
hardware_interface::JointStateInterface jnt_state_interface_
 
hardware_interface::VelocityJointInterface jnt_vel_interface_
 
struct FourWheelSteering::Joint joints_ [4]
 
ros::NodeHandle nh_
 
bool running_
 
ros::ServiceServer start_srv_
 
struct FourWheelSteering::SteeringJoint steering_joints_ [4]
 
ros::ServiceServer stop_srv_
 

Additional Inherited Members

- Public Types inherited from hardware_interface::RobotHW
enum  SwitchState { SwitchState::DONE, SwitchState::ONGOING, SwitchState::ERROR }
 
- Protected Types inherited from hardware_interface::InterfaceManager
typedef std::vector< InterfaceManager * > InterfaceManagerVector
 
typedef std::map< std::string, void * > InterfaceMap
 
typedef std::map< std::string, std::vector< std::string > > ResourceMap
 
typedef std::map< std::string, size_t > SizeMap
 
- Protected Attributes inherited from hardware_interface::InterfaceManager
std::vector< ResourceManagerBase * > interface_destruction_list_
 
InterfaceManagerVector interface_managers_
 
InterfaceMap interfaces_
 
InterfaceMap interfaces_combo_
 
SizeMap num_ifaces_registered_
 
ResourceMap resources_
 

Detailed Description

Definition at line 24 of file four_wheel_steering.h.

Constructor & Destructor Documentation

◆ FourWheelSteering()

FourWheelSteering::FourWheelSteering ( )
inline

Definition at line 27 of file four_wheel_steering.h.

Member Function Documentation

◆ getPeriod()

ros::Duration FourWheelSteering::getPeriod ( ) const
inline

Definition at line 63 of file four_wheel_steering.h.

◆ getTime()

ros::Time FourWheelSteering::getTime ( ) const
inline

Definition at line 62 of file four_wheel_steering.h.

◆ read()

void FourWheelSteering::read ( )
inline

Definition at line 65 of file four_wheel_steering.h.

◆ start_callback()

bool FourWheelSteering::start_callback ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)
inline

Definition at line 120 of file four_wheel_steering.h.

◆ stop_callback()

bool FourWheelSteering::stop_callback ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
)
inline

Definition at line 126 of file four_wheel_steering.h.

◆ write()

void FourWheelSteering::write ( )
inline

Definition at line 98 of file four_wheel_steering.h.

Member Data Documentation

◆ jnt_pos_interface_

hardware_interface::PositionJointInterface FourWheelSteering::jnt_pos_interface_
private

Definition at line 135 of file four_wheel_steering.h.

◆ jnt_state_interface_

hardware_interface::JointStateInterface FourWheelSteering::jnt_state_interface_
private

Definition at line 133 of file four_wheel_steering.h.

◆ jnt_vel_interface_

hardware_interface::VelocityJointInterface FourWheelSteering::jnt_vel_interface_
private

Definition at line 134 of file four_wheel_steering.h.

◆ joints_

struct FourWheelSteering::Joint FourWheelSteering::joints_[4]
private

◆ nh_

ros::NodeHandle FourWheelSteering::nh_
private

Definition at line 158 of file four_wheel_steering.h.

◆ running_

bool FourWheelSteering::running_
private

Definition at line 156 of file four_wheel_steering.h.

◆ start_srv_

ros::ServiceServer FourWheelSteering::start_srv_
private

Definition at line 159 of file four_wheel_steering.h.

◆ steering_joints_

struct FourWheelSteering::SteeringJoint FourWheelSteering::steering_joints_[4]
private

◆ stop_srv_

ros::ServiceServer FourWheelSteering::stop_srv_
private

Definition at line 160 of file four_wheel_steering.h.


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


four_wheel_steering_controller
Author(s): Vincent Rousseau
autogenerated on Fri May 24 2024 02:41:15