March 2018
Intermediate to advanced
1396 pages
42h 14m
English
The first function executing when a controller is loaded is init(). The init() function will not start running the controller. The initialization can take any amount of time before starting the controllers. The declaration of the init function is given as follows:
virtual bool init(pr2_mechanism_model::RobotState *robot,ros::NodeHandle &n);
This method will not run as real time.
The function arguments are given as follows: