-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestGravForcesProcessor.cpp
30 lines (24 loc) · 1.09 KB
/
TestGravForcesProcessor.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*============================================================================
JSN, 20230704 - TestGravForcesProcessor.cpp
Test the GravForcesProcessor class
============================================================================*/
//=============================================================================
// INCLUDES
//=============================================================================
#include <iostream>
#include "GravForcesProcessor.h"
//=============================================================================
// DEFINES
//=============================================================================
#define OSIM_ARM_MODEL "./resources/test0.osim"
#define TEST 20
int main()
{
// Set global log level to debug
spdlog::set_level(spdlog::level::debug);
spdlog::debug("Running main TestGravForcesProcessor...");
// Create the GravForcesProcessor instance
GravForcesProcessor myGravTest = GravForcesProcessor(TEST);
spdlog::debug("Gravity Force Test: {}", myGravTest.getGravTorques());
spdlog::debug("Done !");
}