logger correction
This commit is contained in:
parent
07d14f9479
commit
2d0824be00
|
@ -179,7 +179,7 @@ void code_message_inqueue_process(){
|
||||||
(char*) dbgf_name,(size_t)update_bcode_size) ) {
|
(char*) dbgf_name,(size_t)update_bcode_size) ) {
|
||||||
*(uint16_t*)(updater->update_no)=update_no;
|
*(uint16_t*)(updater->update_no)=update_no;
|
||||||
neigh=1;
|
neigh=1;
|
||||||
gettimeofday(&t1, NULL);
|
//gettimeofday(&t1, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -247,7 +247,7 @@ void update_routine(const char* bcfname,
|
||||||
if(neigh==0 && (!is_msg_present())){
|
if(neigh==0 && (!is_msg_present())){
|
||||||
ROS_INFO("Sending code... \n");
|
ROS_INFO("Sending code... \n");
|
||||||
code_message_outqueue_append();
|
code_message_outqueue_append();
|
||||||
gettimeofday(&t1, NULL);
|
|
||||||
}
|
}
|
||||||
timer_steps++;
|
timer_steps++;
|
||||||
buzzvm_pushs(VM, buzzvm_string_register(VM, "barrier_val",1));
|
buzzvm_pushs(VM, buzzvm_string_register(VM, "barrier_val",1));
|
||||||
|
@ -297,6 +297,7 @@ int test_set_code(uint8_t* BO_BUF, const char* dbgfname,size_t bcode_size ){
|
||||||
buzz_utility::buzz_update_init_test((updater)->standby_bcode,
|
buzz_utility::buzz_update_init_test((updater)->standby_bcode,
|
||||||
(char*)dbgfname,(size_t) *(size_t*)(updater->standby_bcode_size));
|
(char*)dbgfname,(size_t) *(size_t*)(updater->standby_bcode_size));
|
||||||
buzzvm_t VM = buzz_utility::get_vm();
|
buzzvm_t VM = buzz_utility::get_vm();
|
||||||
|
gettimeofday(&t1, NULL);
|
||||||
buzzvm_pushs(VM, buzzvm_string_register(VM, "ROBOTS", 1));
|
buzzvm_pushs(VM, buzzvm_string_register(VM, "ROBOTS", 1));
|
||||||
buzzvm_pushi(VM, no_of_robot);
|
buzzvm_pushi(VM, no_of_robot);
|
||||||
buzzvm_gstore(VM);
|
buzzvm_gstore(VM);
|
||||||
|
|
Loading…
Reference in New Issue