escaping msgs debug

This commit is contained in:
vivek-shankar 2017-01-27 22:44:28 -05:00
parent 4795c36525
commit 22730a275b
3 changed files with 3 additions and 4 deletions

View File

@ -10,7 +10,7 @@
<!-- param name="in_payload" value="/rosbuzz_node1/outMavlink"-->
<param name="out_payload" value="/outMavlink"/>
<param name="robot_id" value="1"/>
<param name="No_of_Robots" value="1"/>
<param name="No_of_Robots" value="2"/>
<param name="stand_by" value="/home/vivek/catkin_ws/src/rosbuzz/src/stand_by.bo"/>
</node>
<!-- node name="rosbuzz_node1" pkg="rosbuzz" type="rosbuzz_node" respawn="false" output="screen" -->

View File

@ -284,7 +284,6 @@ buzzvm_pushs(VM, buzzvm_string_register(VM, "update_no", 1));
}
else{
if(neigh==0 && (!is_msg_present())){
fprintf(stdout,"Sending code... \n");
code_message_outqueue_append();

View File

@ -457,9 +457,9 @@ namespace rosbzz_node{
fprintf(stdout,"Update packet read msg size : %u \n",unMsgSize);
if(unMsgSize>0){
code_message_inqueue_append((uint8_t*)(pl + sizeof(uint16_t)),unMsgSize);
//fprintf(stdout,"before in queue process : utils\n");
fprintf(stdout,"before in queue process : utils\n");
code_message_inqueue_process();
//fprintf(stdout,"after in queue process : utils\n");
fprintf(stdout,"after in queue process : utils\n");
}
delete[] pl;