loop rate change

This commit is contained in:
vivek-shankar 2017-01-29 05:11:28 -05:00
parent 331da53d62
commit 4ec997352c
2 changed files with 4 additions and 5 deletions

View File

@ -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;

View File

@ -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"