bipedal locomotion framework
A suite of libraries for achieving bipedal locomotion on humanoid robots
BipedalLocomotion::System::RosClockFactory Class Referencefinal

Public Member Functions

 RosClockFactory (int argc, char const *argv[])
 Constructor of the factory. More...
 
 RosClockFactory (const std::vector< std::string > &args)
 Constructor of the factory. More...
 
IClockcreateClock () final
 Create the ROS clock as a singleton. More...
 
- Public Member Functions inherited from BipedalLocomotion::System::ClockFactory
virtual ~ClockFactory ()=default
 Destructor.
 

Constructor & Destructor Documentation

◆ RosClockFactory() [1/2]

RosClockFactory::RosClockFactory ( int  argc,
char const *  argv[] 
)

Constructor of the factory.

Parameters
argcnumber of command-line arguments to parse.
argvarray of command-line arguments to parse.
Note
This function will call rclcpp::init(argc, argv). Please check here for further details.

◆ RosClockFactory() [2/2]

RosClockFactory::RosClockFactory ( const std::vector< std::string > &  args)

Constructor of the factory.

Parameters
argsarray of command-line arguments to parse.
Note
This function will call rclcpp::init(argc, argv). Please check here for further details.

Member Function Documentation

◆ createClock()

IClock & RosClockFactory::createClock ( )
finalvirtual

Create the ROS clock as a singleton.

Returns
the reference to a System::RosClock

Implements BipedalLocomotion::System::ClockFactory.


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