Skip to content

Commit

Permalink
initialize Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuern committed Sep 4, 2018
0 parents commit 4725f61
Show file tree
Hide file tree
Showing 11 changed files with 585 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cmake-build-debug

29 changes: 29 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/untitled1.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

276 changes: 276 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
cmake_minimum_required(VERSION 3.10)
project(untitled1)

set(CMAKE_CXX_STANDARD 11)




find_package(SDL2 REQUIRED)

include_directories(${SDL2_INCLUDE_DIRS})

add_executable(untitled1 main.cpp Robot.cpp Robot.h defines.h)


target_link_libraries(untitled1 ${SDL2_LIBRARIES})
19 changes: 19 additions & 0 deletions Robot.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// Created by jannik on 04.09.18.
//

#include "Robot.h"


Robot::Robot()
{
Pose pose1;
pose1.x = 0;
pose1.y = 0;
pose1.phi = 0.;
}

Robot::~Robot()
{

}
28 changes: 28 additions & 0 deletions Robot.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// Created by jannik on 04.09.18.
//

#ifndef UNTITLED1_ROBOT_H
#define UNTITLED1_ROBOT_H

typedef struct Pose
{
int x, y;
float phi;
} Pose;



class Robot {
public:
Robot();
~Robot();
Pose pose;


private:

};


#endif //UNTITLED1_ROBOT_H
Loading

0 comments on commit 4725f61

Please sign in to comment.