Skip to content

Commit

Permalink
[Refa] Apply clang format on files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Munier committed Dec 3, 2024
1 parent 1415c93 commit d0615c7
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 3 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .gitmodules
100644 → 100755
Empty file.
Empty file modified CMakeLists.txt
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified example/CMakeLists.txt
100644 → 100755
Empty file.
6 changes: 3 additions & 3 deletions example/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include "ik_geo.h"
#include <array>
#include <iostream>
#include <vector>

#include "ik_geo.h"

using namespace ik_geo;

int main(int argc, char const *argv[]) {
Expand All @@ -27,8 +28,7 @@ int main(int argc, char const *argv[]) {
std::cout << "Is LS: " << (solution.is_ls ? "True" : "False") << std::endl;
std::cout << "Rotation Matrix: " << std::endl;
for (std::size_t i = 0; i < 3; i++) {
for (std::size_t j = 0; j < 3; j++)
std::cout << rotation_matrix[i * 3 + j] << " ";
for (std::size_t j = 0; j < 3; j++) std::cout << rotation_matrix[i * 3 + j] << " ";
std::cout << std::endl;
}
std::cout << "Position Vector: " << std::endl;
Expand Down
1 change: 1 addition & 0 deletions include/ik_geo.h
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class Robot {

public:
~Robot() { lib::deallocate(robot); }
static Robot gen_six_dof(const double *h, const double *p) { return Robot(lib::gen_six_dof(h, p)); }
static Robot irb66400() { return Robot(lib::irb6640()); }
static Robot spherical_bot() { return Robot(lib::spherical_bot()); }
static Robot three_parallel_bot() { return Robot(lib::three_parallel_bot()); }
Expand Down
Empty file modified rust-wrapper/Cargo.lock
100644 → 100755
Empty file.
Empty file modified rust-wrapper/Cargo.toml
100644 → 100755
Empty file.
Empty file modified rust-wrapper/src/lib.rs
100644 → 100755
Empty file.

0 comments on commit d0615c7

Please sign in to comment.