loop rate tunning

This commit is contained in:
vivek-shankar 2017-01-28 03:59:59 -05:00
parent 6fc6d91ddb
commit 724b790700
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ namespace rosbzz_node{
ros::spinOnce();
/*loop rate of ros*/
if( get_update_mode() == CODE_STANDBY){
ros::Rate loop_rate(2);
ros::Rate loop_rate(20);
loop_rate.sleep();
}
else{