Skip to content
Snippets Groups Projects
Commit d5db819c authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add libraries locations and graphs

parent 75fc6610
No related branches found
No related tags found
1 merge request!1Add Locations and Graph to Navigation Memory and Redesign Location Graph Editor
set(LIB_NAME ${PROJECT_NAME}Graph)
armarx_component_set_name("${LIB_NAME}")
armarx_set_target("Library: ${LIB_NAME}")
armarx_add_library(
LIBS
ArmarXCoreInterfaces
ArmarXCore
# ${PROJECT_NAME}Core
SOURCES
constants.cpp
HEADERS
constants.h
)
add_library(
${PROJECT_NAME}::Graph
ALIAS
"${LIB_NAME}"
)
armarx_enable_aron_file_generation_for_target(
TARGET_NAME
"${LIB_NAME}"
ARON_FILES
aron/Graph.xml
)
<?xml version="1.0" encoding="UTF-8" ?>
<AronTypeDefinition>
<CodeIncludes>
<!--Include include="armarx/navigation/locations/aron/Location.aron.generated.h" /-->
</CodeIncludes>
<AronIncludes>
<!-- <Include include="<armarx/navigation/locations/aron/Location.xml>" /> -->
</AronIncludes>
<GenerateTypes>
<Object name='armarx::nav::graphs::arondto::Graph'>
<!--ObjectChild key='location'>
<armarx::nav::locs::arondto::Location />
</ObjectChild-->
</Object>
</GenerateTypes>
</AronTypeDefinition>
#include "aron_conversions.h"
namespace armarx::nav
{
void core::test()
{
}
}
/**
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
* @date 2021
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#pragma once
namespace armarx::nav::core
{
void test();
}
set(LIB_NAME ${PROJECT_NAME}Location)
armarx_component_set_name("${LIB_NAME}")
armarx_set_target("Library: ${LIB_NAME}")
armarx_add_library(
LIBS
ArmarXCoreInterfaces
ArmarXCore
# ${ProjectName}Libraries
SOURCES
constants.cpp
HEADERS
constants.h
)
add_library(
${PROJECT_NAME}::Location
ALIAS
${LIB_NAME}
)
armarx_enable_aron_file_generation_for_target(
TARGET_NAME
"${LIB_NAME}"
ARON_FILES
aron/Location.xml
)
<?xml version="1.0" encoding="UTF-8" ?>
<AronTypeDefinition>
<CodeIncludes>
</CodeIncludes>
<AronIncludes>
<Include include="<RobotAPI/libraries/armem/aron/MemoryID.xml>" autoinclude="true"/>
</AronIncludes>
<GenerateTypes>
<!--
ToDo: Model regions. Ideas:
- Polygon (convex, non-convex)
-
-->
<Object name='armarx::nav::locs::arondto::ObjectRelativeLocation'>
<ObjectChild key='objectInstanceID'>
<armarx::armem::arondto::MemoryID />
</ObjectChild>
<ObjectChild key='relativeRobotPose'>
<Pose />
</ObjectChild>
</Object>
<Object name='armarx::nav::locs::arondto::Location'>
<ObjectChild key='globalRobotPose'>
<Pose />
</ObjectChild>
<ObjectChild key='relativeToObject'>
<armarx::nav::locs::arondto::ObjectRelativeLocation optional="true" />
</ObjectChild>
</Object>
</GenerateTypes>
</AronTypeDefinition>
#include "aron_conversions.h"
namespace armarx::nav
{
void coree::test()
{
}
}
/**
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @author Rainer Kartmann ( rainer dot kartmann at kit dot edu )
* @date 2021
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#pragma once
namespace armarx::nav::coree
{
void test();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment