Revision 06d6a491
examples/yarp_icub/CMakeLists.txt | ||
---|---|---|
30 | 30 |
################# |
31 | 31 |
## style guide ## |
32 | 32 |
################# |
33 |
set(ENABLE_CPPLINT 1) |
|
34 |
include(${CMAKE_CURRENT_SOURCE_DIR}/../../stylecheck/CpplintWrapper.cmake) |
|
35 |
CPPLINT_RECURSIVE(cpplint_include |
|
36 |
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
37 |
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
38 |
${CMAKE_CURRENT_BINARY_DIR}/include) |
|
39 |
CPPLINT_RECURSIVE(cpplint_src |
|
40 |
${CMAKE_CURRENT_SOURCE_DIR}/src |
|
41 |
${CMAKE_CURRENT_SOURCE_DIR}/src |
|
42 |
${CMAKE_CURRENT_BINARY_DIR}/src) |
|
43 |
add_dependencies(${MAIN} cpplint_src cpplint_include) |
|
44 |
|
|
33 |
SET(CPPLINT_CMAKE ${CMAKE_CURRENT_SOURCE_DIR}/../../stylecheck/CpplintWrapper.cmake) |
|
34 |
|
|
35 |
if(EXISTS "${CPPLINT_CMAKE}") |
|
36 |
set(ENABLE_CPPLINT 1) |
|
37 |
include(${CPPLINT_CMAKE}) |
|
38 |
CPPLINT_RECURSIVE(cpplint_include |
|
39 |
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
40 |
${CMAKE_CURRENT_SOURCE_DIR}/include |
|
41 |
${CMAKE_CURRENT_BINARY_DIR}/include) |
|
42 |
CPPLINT_RECURSIVE(cpplint_src |
|
43 |
${CMAKE_CURRENT_SOURCE_DIR}/src |
|
44 |
${CMAKE_CURRENT_SOURCE_DIR}/src |
|
45 |
${CMAKE_CURRENT_BINARY_DIR}/src) |
|
46 |
add_dependencies(${MAIN} cpplint_src cpplint_include) |
|
47 |
else () |
|
48 |
message(WARNING "Could not find cpplint cmake file. Will not do code stylecheck!") |
|
49 |
endif () |
|
45 | 50 |
#workaround for qtcreator ide integration. do not remove! |
46 | 51 |
file(GLOB_RECURSE NODE_DUMMY_TARGETS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h *.cfg *.yaml *.xml *.launch) |
47 | 52 |
add_custom_target(_dummy_target SOURCES ${NODE_DUMMY_TARGETS}) |
examples/yarp_icub/CMakeLists.txt.user | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<!DOCTYPE QtCreatorProject> |
3 |
<!-- Written by QtCreator 3.0.1, 2016-02-18T16:12:37. -->
|
|
3 |
<!-- Written by QtCreator 3.0.1, 2016-02-24T12:55:26. -->
|
|
4 | 4 |
<qtcreator> |
5 | 5 |
<data> |
6 | 6 |
<variable>ProjectExplorer.Project.ActiveTarget</variable> |
... | ... | |
53 | 53 |
<valuemap type="QVariantMap"> |
54 | 54 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
55 | 55 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
56 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{3152ed58-41d1-426c-b17f-dbe12171436a}</value>
|
|
56 |
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{0ff36a7d-682d-4601-a9c1-275f77eefc70}</value>
|
|
57 | 57 |
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
58 | 58 |
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
59 | 59 |
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
60 | 60 |
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
61 | 61 |
<value type="bool" key="CMakeProjectManager.CMakeBuildConfiguration.UseNinja">false</value> |
62 | 62 |
<value type="QString" key="CMakeProjectManager.CMakeBuildConfiguration.UserArguments">-DCMAKE_INSTALL_PREFIX=/vol/icub/sschulz/releases/roman16-humotion-nightly/</value> |
63 |
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/homes/sschulz/src/flobidev.core/humotion/examples/yarp_icub/build</value>
|
|
63 |
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/homes/sschulz/src/flobi/humotion/examples/yarp_icub/build</value> |
|
64 | 64 |
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
65 | 65 |
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
66 | 66 |
<value type="QString" key="CMakeProjectManager.MakeStep.AdditionalArguments"></value> |
... | ... | |
175 | 175 |
</data> |
176 | 176 |
<data> |
177 | 177 |
<variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
178 |
<value type="QByteArray">{ccede451-c1b6-4b92-a13d-14bd6a65dd35}</value>
|
|
178 |
<value type="QByteArray">{44110186-3313-405d-bf42-c546b33c1fcb}</value>
|
|
179 | 179 |
</data> |
180 | 180 |
<data> |
181 | 181 |
<variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
src/server/config.cpp | ||
---|---|---|
89 | 89 |
// exhale 1.5-2s |
90 | 90 |
// pause 2s |
91 | 91 |
// overall period given in seconds |
92 |
breath_period = 1.5 + 1.5 + 1.5; // inhale, pause & exhale
|
|
92 |
breath_period = 4.5; // = 1.5 + 1.5 + 1.5 for inhale, pause & exhale
|
|
93 | 93 |
// amplitude given in degrees |
94 | 94 |
breath_amplitude = 1.0; |
95 | 95 |
|
Also available in: Unified diff