Revision 72a875cc
Added linesensor package.
scout/linesensor/CMakeLists.txt | ||
---|---|---|
1 |
cmake_minimum_required(VERSION 2.4.6) |
|
2 |
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake) |
|
3 |
|
|
4 |
# Set the build type. Options are: |
|
5 |
# Coverage : w/ debug symbols, w/o optimization, w/ code-coverage |
|
6 |
# Debug : w/ debug symbols, w/o optimization |
|
7 |
# Release : w/o debug symbols, w/ optimization |
|
8 |
# RelWithDebInfo : w/ debug symbols, w/ optimization |
|
9 |
# MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries |
|
10 |
#set(ROS_BUILD_TYPE RelWithDebInfo) |
|
11 |
|
|
12 |
rosbuild_init() |
|
13 |
|
|
14 |
#set the default path for built executables to the "bin" directory |
|
15 |
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) |
|
16 |
#set the default path for built libraries to the "lib" directory |
|
17 |
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) |
|
18 |
|
|
19 |
#uncomment if you have defined messages |
|
20 |
#rosbuild_genmsg() |
|
21 |
#uncomment if you have defined services |
|
22 |
rosbuild_gensrv() |
|
23 |
|
|
24 |
#common commands for building c++ executables and libraries |
|
25 |
#rosbuild_add_library(${PROJECT_NAME} src/example.cpp) |
|
26 |
#target_link_libraries(${PROJECT_NAME} another_library) |
|
27 |
#rosbuild_add_boost_directories() |
|
28 |
#rosbuild_link_boost(${PROJECT_NAME} thread) |
|
29 |
#rosbuild_add_executable(example examples/example.cpp) |
|
30 |
#target_link_libraries(example ${PROJECT_NAME}) |
|
31 |
|
|
32 |
#rosbuild_add_executable(linesensor_node src/linesensor.cpp) |
scout/linesensor/Makefile | ||
---|---|---|
1 |
include $(shell rospack find mk)/cmake.mk |
scout/linesensor/mainpage.dox | ||
---|---|---|
1 |
/** |
|
2 |
\mainpage |
|
3 |
\htmlinclude manifest.html |
|
4 |
|
|
5 |
\b encoders is the ros node that will provide all encoder functionality and control. |
|
6 |
|
|
7 |
<!-- |
|
8 |
Encoders will contain the functions necessary for reading encoder data. |
|
9 |
--> |
|
10 |
|
|
11 |
|
|
12 |
\section codeapi Code API |
|
13 |
|
|
14 |
<!-- |
|
15 |
Provide links to specific auto-generated API documentation within your |
|
16 |
package that is of particular interest to a reader. Doxygen will |
|
17 |
document pretty much every part of your code, so do your best here to |
|
18 |
point the reader to the actual API. |
|
19 |
|
|
20 |
If your codebase is fairly large or has different sets of APIs, you |
|
21 |
should use the doxygen 'group' tag to keep these APIs together. For |
|
22 |
example, the roscpp documentation has 'libros' group. |
|
23 |
--> |
|
24 |
|
|
25 |
|
|
26 |
*/ |
scout/linesensor/manifest.xml | ||
---|---|---|
1 |
<package> |
|
2 |
<description brief="encoders"> |
|
3 |
|
|
4 |
Provides access to the line following sensors and their readings. |
|
5 |
|
|
6 |
</description> |
|
7 |
<author>azirbel</author> |
|
8 |
<license>BSD</license> |
|
9 |
<review status="unreviewed" notes=""/> |
|
10 |
<url>https://www.roboticsclub.org/redmine/projects/colonyscout/wiki</url> |
|
11 |
<depend package="roscpp"/> |
|
12 |
<depend package="std_msgs"/> |
|
13 |
|
|
14 |
</package> |
|
15 |
|
|
16 |
|
scout/linesensor/srv/query_linesensor.srv | ||
---|---|---|
1 |
--- |
|
2 |
# 10-bit unsigned integers, 0 is perfectly white. |
|
3 |
uint32[] readings |
Also available in: Unified diff