Skip to content

Commit

Permalink
possible fix for rflex delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Medvedev committed Oct 9, 2012
1 parent 15fa5da commit df3f4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atrvjr_drivers/rflex/src/atrvjr_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ int main(int argc, char** argv) {
ros::Rate loop_rate(hz);

while (ros::ok()) {
node.spinOnce();
// Process a round of subscription messages
ros::spinOnce();
node.spinOnce();
// This will adjust as needed per iteration
loop_rate.sleep();
}
Expand Down

0 comments on commit df3f4a1

Please sign in to comment.