Closed michael-jaia closed 3 months ago
Switch checks from ignoring old commands and task packets to ignoring commands and task packets with the same timestamps.
Function handle_task_packet
handle_task_packet
machine.cpp
Repeat taskpacket received! Ignoring...
glog.is_debug1() && glog << "Publishing taskpacket..." << std::endl;
hub_manager
Publishing taskpacket...
Function handle_command
handle_command
now
jaia_portal.py
Repeat command received! Ignoring...
glog.is_debug1() && glog << "Processing command..." << std::endl;
Processing command...
Summary
Switch checks from ignoring old commands and task packets to ignoring commands and task packets with the same timestamps.
Testing
Function
handle_task_packet
machine.cpp
Repeat taskpacket received! Ignoring...
for the logging of the second task packetmachine.cpp
)glog.is_debug1() && glog << "Publishing taskpacket..." << std::endl;
to 420 ofhub_manager
Publishing taskpacket...
twiceFunction
handle_command
now
function injaia_portal.py
to the UNIX timestampRepeat command received! Ignoring...
glog.is_debug1() && glog << "Processing command..." << std::endl;
to line 717 ofhandle_command
in mission_manager/app.cppProcessing command...
two times when two commands are sent