Updating the ROS controller

The update() function is the most important method that makes the controller alive. The update method, by default, executes the code inside it at a rate of 1,000 Hz. It means the controller completes one execution within 1 millisecond.

virtual void update(); 

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.