mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
commander: remove duplicate publishing of vehicle_control_mode and actuator_armed topics, remove unused "counter" field from topics
This commit is contained in:
@@ -497,7 +497,6 @@ int hil_state_transition(hil_state_t new_state, int status_pub, struct vehicle_s
|
||||
if (valid_transition) {
|
||||
current_status->hil_state = new_state;
|
||||
|
||||
current_status->counter++;
|
||||
current_status->timestamp = hrt_absolute_time();
|
||||
orb_publish(ORB_ID(vehicle_status), status_pub, current_status);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user