Commit 500a77ad authored by Robin Vincelle's avatar Robin Vincelle
Browse files

modified: main.c

	modified:   ../lib/hippo/hippo.c
parent 8414368c
......@@ -67,8 +67,12 @@ int stop_start_ROS_THREAD(){
pauseGazebo.call(emptySrv);
while(1){
printf("Choose the number of logical time steps to cross\n");
// pthread_mutex_lock(&mutex_step_number);
scanf("%d \n",&step_number_to_cross);
//pthread_mutex_unlock(&mutex_step_number);
// pthread_mutex_lock(&mutexfreeze);
FREEZE=0;
//pthread_mutex_unlock(&mutexfreeze);
unpauseGazebo.call(emptySrv);
while (sem_wait(&end_time)==-1){
if (errno == EINTR){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment