-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rob] added Redermor example + data classes + traj/tube updates
- Loading branch information
1 parent
365f80e
commit 123c71a
Showing
13 changed files
with
60,250 additions
and
15 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# ================================================================== | ||
# tubex-lib - cmake configuration file | ||
# ================================================================== | ||
|
||
|
||
# Sources | ||
|
||
set(SRC | ||
main.cpp | ||
) | ||
|
||
set(HEADERS | ||
|
||
) | ||
|
||
add_executable(ex_redermor_traj ${SRC}) | ||
|
||
target_link_libraries(ex_redermor_traj | ||
${LIBS} | ||
tubex-core | ||
tubex-robotics) | ||
|
||
|
||
# Tests | ||
|
||
#if(BUILD_TESTS) | ||
# add_test(NAME ex_redermor_traj COMMAND ex_redermor_traj 0) | ||
#endif(BUILD_TESTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#include "ibex.h" | ||
#include "tubex.h" | ||
#include "tubex-robotics.h" | ||
|
||
using namespace std; | ||
using namespace ibex; | ||
using namespace tubex; | ||
|
||
int main() | ||
{ | ||
TubeVector *x; | ||
TrajectoryVector *x_truth; | ||
DataLoader_Redermor data_loader("./data/redermor/gesmi.txt"); | ||
data_loader.load_data(x, x_truth); | ||
|
||
vibes::beginDrawing(); | ||
VibesFigure_Tube fig("Redermor", x, x_truth); | ||
fig.set_properties(1550, 50, 600, 300); | ||
fig.show(); | ||
vibes::endDrawing(); | ||
|
||
delete x; | ||
delete x_truth; | ||
return EXIT_SUCCESS; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters