loop rate change
This commit is contained in:
parent
331da53d62
commit
4ec997352c
|
@ -68,14 +68,14 @@ namespace rosbzz_node{
|
|||
/*run once*/
|
||||
ros::spinOnce();
|
||||
/*loop rate of ros*/
|
||||
if( get_update_mode() == CODE_STANDBY){
|
||||
/*if( get_update_mode() == CODE_STANDBY){
|
||||
ros::Rate loop_rate(10);
|
||||
loop_rate.sleep();
|
||||
}
|
||||
else{
|
||||
ros::Rate loop_rate(10);
|
||||
else{*/
|
||||
ros::Rate loop_rate(50);
|
||||
loop_rate.sleep();
|
||||
}
|
||||
//}
|
||||
/*sleep for the mentioned loop rate*/
|
||||
|
||||
timer_step+=1;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
# We need this for 2D vectors
|
||||
# Make sure you pass the correct include path to "bzzc -I <path1:path2> ..."
|
||||
include "/home/ubuntu/buzz/src/include/vec2.bzz"
|
||||
|
|
Loading…
Reference in New Issue