Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/RDzRyan/src
Browse files Browse the repository at this point in the history
  • Loading branch information
Naufaldo committed Sep 18, 2021
2 parents 5b07012 + 205d9d3 commit a2b053c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion navstack_pub/src/move1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ void kontrol(char arah_, float batas0,float batas1,float batas2,float batas3,flo
}
if (laser[0]<=batas0){
flag1=2;
ROS_INFO("clear");
}
}

Expand Down Expand Up @@ -129,7 +130,7 @@ int main(int argc, char **argv)
for(int i = 0; i < 9; i++) {
ROS_INFO(": [%f]", laser[i]);
float batasan[9]={0,0,0,0,0,0,0,0,0};
kontrol('a',0,0,0,0,0,0,0,0,0);
kontrol('a',0.2,0,0,0,0,0,0,0,0);
}
ros::spinOnce();
r.sleep();
Expand Down

0 comments on commit a2b053c

Please sign in to comment.