loop rate tunning
This commit is contained in:
parent
6fc6d91ddb
commit
724b790700
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue