We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 80ea973 + 32eaedb commit 1017637Copy full SHA for 1017637
src/roscontrol-sot-controller.cpp
@@ -78,6 +78,11 @@ RCSotController::RCSotController()
78
}
79
80
RCSotController::~RCSotController() {
81
+ std::string afilename("/tmp/sot.log");
82
+
83
+ RcSotLog_.record(DataOneIter_);
84
+ RcSotLog_.save(afilename);
85
86
SotLoaderBasic::CleanUp();
87
using namespace ::dynamicgraph;
88
RealTimeLogger::destroy();
@@ -1125,11 +1130,6 @@ void RCSotController::starting(const ros::Time &) {
1125
1130
1126
1131
1127
1132
void RCSotController::stopping(const ros::Time &) {
1128
- std::string afilename("/tmp/sot.log");
1129
-
- RcSotLog_.record(DataOneIter_);
- RcSotLog_.save(afilename);
1133
1134
1135
PLUGINLIB_EXPORT_CLASS(sot_controller::RCSotController, lci::ControllerBase)
0 commit comments