Skip to content

Commit

Permalink
Update mainpage.dox (#496)
Browse files Browse the repository at this point in the history
* Update mainpage.dox

Bugfix in documentation

* Update hardware_interface/mainpage.dox

Co-authored-by: Matt Reynolds <mtreynolds@uwaterloo.ca>

Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
Co-authored-by: Matt Reynolds <mtreynolds@uwaterloo.ca>
  • Loading branch information
3 people authored Feb 23, 2022
1 parent 53c2487 commit 83a392b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hardware_interface/mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ int main(int argc, char **argv)
// Basic bookkeeping to get the system time in order to compute the control period.
const ros::Time time = ros:Time::now();
const ros::Duration period = time - prev_time;
prev_time = time;

// Execution of the actual control loop.
robot.read();
Expand Down

0 comments on commit 83a392b

Please sign in to comment.