Skip to content

Commit

Permalink
Add the sample log entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmurooka committed Sep 10, 2023
1 parent 81e9281 commit 45ba367
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/HVACTutorialController.cpp
Expand Up @@ -37,6 +37,9 @@ HVACTutorialController::HVACTutorialController(mc_rbdyn::RobotModulePtr rm, doub
mc_rtc::gui::Button("Move CoM to the center", [this]() { comFlag = 0; }),
mc_rtc::gui::Button("Move CoM to the right", [this]() { comFlag = -1; }));

// Add the sample log entry
logger().addLogEntry("sampleEntry", this, [this]() { return std::sin(t) + std::cos(0.4 * t); });

mc_rtc::log::success("HVACTutorialController init done ");
}

Expand Down

0 comments on commit 45ba367

Please sign in to comment.