Skip to content

Commit

Permalink
[hot fix] comment out calls to Go2DataManager to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosiglezb committed Sep 9, 2024
1 parent f694b25 commit f7c2d23
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions controller/go2_controller/go2_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ void Go2Interface::GetCommand(void *sensor_data, void *command_data) {
// ctrl_arch_->GetCommand(draco_command);

#if B_USE_ZMQ
if (sp_->count_ % sp_->data_save_freq_ == 0) {
Go2DataManager *dm = Go2DataManager::GetDataManager();
dm->data_->time_ = sp_->current_time_;
dm->data_->phase_ = sp_->state_;
dm->SendData();
}
// if (sp_->count_ % sp_->data_save_freq_ == 0) {
// Go2DataManager *dm = Go2DataManager::GetDataManager();
// dm->data_->time_ = sp_->current_time_;
// dm->data_->phase_ = sp_->state_;
// dm->SendData();
// }
#endif

// step control count
Expand Down

0 comments on commit f7c2d23

Please sign in to comment.