Skip to content

Commit d7a05c4

Browse files
committed
Initial commit
0 parents  commit d7a05c4

15 files changed

+1549
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
*.sw?

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CMakeLists.txt has to be located in the project folder and cmake has to be
2+
# executed from 'project/build' with 'cmake ../'.
3+
cmake_minimum_required(VERSION 2.6)
4+
find_package(Rock)
5+
rock_init(imu_inemo 0.1)
6+
rock_standard_layout()

Doxyfile.in

Lines changed: 1417 additions & 0 deletions
Large diffs are not rendered by default.

INSTALL

Whitespace-only changes.

LICENSE

Whitespace-only changes.

README

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
NOTE
2+
This directory structure follows some simple rules, to allow for generic build
3+
processes and simplify reuse of this project.
4+
5+
For build automation the project structure should be parsed and validated
6+
7+
8+
STRUCTURE
9+
-- src/
10+
Contains all header (*.h/*.hpp) and source files
11+
-- build/
12+
The target directory for the build process, temporary content
13+
-- bindings/
14+
Language bindings for this package, e.g. put into subfolders such as
15+
|-- ruby/
16+
Ruby language bindings
17+
-- viz/
18+
Source files for a vizkit plugin / widget related to this library
19+
-- resources/
20+
General resources such as images that are needed by the program
21+
-- configuration/
22+
Configuration files for running the program
23+
-- external/
24+
When including software that needs a non standard installation process, or one that can be
25+
easily embedded include the external software directly here
26+
-- doc/
27+
should contain the existing doxygen file: doxygen.conf

manifest.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<package>
2+
<description brief="Driver library for ST devices from the INEMO line">
3+
This is a partial implementation of the UM1744 protocol description, which supports connecting to inemo devices and retrieving sensor data.
4+
</description>
5+
<author>Jakob Schwendner/[email protected]</author>
6+
<license></license>
7+
<url>http://</url>
8+
<logo>http://</logo>
9+
<depend package="base/cmake" />
10+
<!--
11+
To add any dependencies use the depend tag
12+
<depend package="dummy-dependency-0" />
13+
...
14+
<depend package="dummy-dependency-n-1" />
15+
<depend package="dummy-dependency-n" />
16+
-->
17+
<depend package="iodrivers_base" />
18+
</package>

src/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rock_library(imu_inemo
2+
SOURCES Dummy.cpp
3+
HEADERS Dummy.hpp)
4+
5+
rock_executable(imu_inemo_bin Main.cpp
6+
DEPS imu_inemo)
7+

src/Dummy.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include "Dummy.hpp"
2+
3+
namespace imu_inemo
4+
{
5+
6+
void DummyClass::welcome()
7+
{
8+
std::cout << "You successfully compiled and executed DummyProject. Welcome!" << std::endl;
9+
}
10+
11+
}

src/Dummy.hpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#ifndef _DUMMYPROJECT_DUMMY_HPP_
2+
#define _DUMMYPROJECT_DUMMY_HPP_
3+
4+
#include <iostream>
5+
6+
namespace imu_inemo
7+
{
8+
class DummyClass
9+
{
10+
public:
11+
/**
12+
* Print a welcome to stdout
13+
* \return nothing
14+
*/
15+
void welcome();
16+
};
17+
18+
} // end namespace imu_inemo
19+
20+
#endif // _DUMMYPROJECT_DUMMY_HPP_

0 commit comments

Comments
 (0)