Skip to content

Commit

Permalink
fix tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
alaurenzi committed Oct 16, 2024
1 parent f3027a2 commit 00ede6c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
7 changes: 2 additions & 5 deletions tests/solvers/TestBasicAlgebra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <qpOASES/SQProblem.hpp>
#include <chrono>
#include <gtest/gtest.h>
#include <XBotInterface/MatLogger.hpp>
#include <matlogger2/matlogger2.h>

namespace{
class testBasicAlgebra: public ::testing::Test{
Expand Down Expand Up @@ -281,7 +281,7 @@ TEST_F(testBasicAlgebra, testqpOASES)

TEST_F(testBasicAlgebra, checkProductOptimization)
{
auto logger = XBot::MatLogger::getLogger("/tmp/checkProductOptimization");
auto logger = XBot::MatLogger2::MakeLogger("/tmp/checkProductOptimization");



Expand Down Expand Up @@ -473,9 +473,6 @@ TEST_F(testBasicAlgebra, checkProductOptimization)
EXPECT_NEAR((H-H_naive).norm(), 0.0, 1e-9);
}


logger->flush();

}

}
Expand Down
1 change: 1 addition & 0 deletions tests/solvers/TestOSQP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <OpenSoT/tasks/velocity/Cartesian.h>
#include <OpenSoT/solvers/iHQP.h>
#include <OpenSoT/constraints/velocity/VelocityLimits.h>
#include <kdl/frames_io.hpp>

std::string relative_path = OPENSOT_TEST_PATH "configs/coman/configs/config_coman_RBDL.yaml";
std::string _path_to_cfg = relative_path;
Expand Down
2 changes: 1 addition & 1 deletion tests/solvers/TestQPOases.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <OpenSoT/tasks/velocity/MinimumEffort.h>
#include <XBotInterface/ModelInterface.h>
#include <OpenSoT/utils/AutoStack.h>

#include <kdl/frames_io.hpp>

std::string relative_path = OPENSOT_TEST_PATH "configs/coman/configs/config_coman_RBDL.yaml";
std::string _path_to_cfg = relative_path;
Expand Down
1 change: 1 addition & 0 deletions tests/solvers/TesteiQuadProg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <OpenSoT/tasks/velocity/Cartesian.h>
#include <OpenSoT/solvers/iHQP.h>
#include <OpenSoT/constraints/velocity/VelocityLimits.h>
#include <kdl/frames_io.hpp>

std::string relative_path = OPENSOT_TEST_PATH "configs/coman/configs/config_coman_RBDL.yaml";
std::string _path_to_cfg = relative_path;
Expand Down
1 change: 1 addition & 0 deletions tests/solvers/TestqpSWIFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <OpenSoT/tasks/velocity/Cartesian.h>
#include <OpenSoT/solvers/iHQP.h>
#include <OpenSoT/constraints/velocity/VelocityLimits.h>
#include <kdl/frames_io.hpp>

std::string relative_path = OPENSOT_TEST_PATH "configs/coman/configs/config_coman_RBDL.yaml";
std::string _path_to_cfg = relative_path;
Expand Down

0 comments on commit 00ede6c

Please sign in to comment.