Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron authored and Aaron committed Jul 18, 2017
0 parents commit 6bba319
Show file tree
Hide file tree
Showing 38 changed files with 1,638 additions and 0 deletions.
88 changes: 88 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
cmake_minimum_required(VERSION 2.8.3)
project(ddrp)

## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
std_msgs
geometry_msgs
rospy
message_generation
)



#catkin_python_setup()


###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)


add_message_files(
FILES
Environment.msg
Objective.msg
RegionObjectiveState.msg
Region.msg
Agent.msg
Waypoint.msg
Task.msg)
#PoseWithName.msg

#add_message_files( DIRECTORY msg FILES pathData.msg )
#PoseWithName.msg

generate_messages(
DEPENDENCIES
std_msgs
# geometry_msgs
)


catkin_package(
# INCLUDE_DIRS include
# LIBRARIES polyhedral_terrains_demo
# CATKIN_DEPENDS roscpp rospy std_msgs
# DEPENDS system_lib
CATKIN_DEPENDS message_runtime
)




###########
## Build ##
###########

#file(GLOB_RECURSE HEADER_FILES include/*.h)


catkin_install_python(PROGRAMS
src/main_ros.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
# catkin_install_python(PROGRAMS
# src/agent_standard.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

# catkin_install_python(PROGRAMS
# src/draw.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )








88 changes: 88 additions & 0 deletions CMakeLists.txt~
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
cmake_minimum_required(VERSION 2.8.3)
project(ddrp)

## Find catkin macros and libraries
find_package(catkin REQUIRED COMPONENTS
std_msgs
geometry_msgs
rospy
message_generation
)



#catkin_python_setup()


###########
## Build ##
###########

## Specify additional locations of header files
## Your package locations should be listed before other locations
# include_directories(include)
include_directories(
${catkin_INCLUDE_DIRS}
)


add_message_files(
FILES
Environment.msg
Objective.msg
RegionObjectiveState.msg
Region.msg
Agent.msg
Waypoint.msg
Task.msg)
#PoseWithName.msg

#add_message_files( DIRECTORY msg FILES pathData.msg )
#PoseWithName.msg

generate_messages(
DEPENDENCIES
std_msgs
# geometry_msgs
)


catkin_package(
# INCLUDE_DIRS include
# LIBRARIES polyhedral_terrains_demo
# CATKIN_DEPENDS roscpp rospy std_msgs
# DEPENDS system_lib
CATKIN_DEPENDS message_runtime
)




###########
## Build ##
###########

#file(GLOB_RECURSE HEADER_FILES include/*.h)


catkin_install_python(PROGRAMS
src/main_ros.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
# catkin_install_python(PROGRAMS
# src/agent_standard.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

# catkin_install_python(PROGRAMS
# src/draw.py
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )








1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ddrp
2 changes: 2 additions & 0 deletions msg/Agent.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
int8 x
int8 y
4 changes: 4 additions & 0 deletions msg/Environment.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string frame_id
ddrp/Objective[] objectives
ddrp/RegionObjectiveState[] region_objective_states

5 changes: 5 additions & 0 deletions msg/Environment.msg~
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
string frame_id

dynamic_domain_reduction_planning/Objective[] objectives
dynamic_domain_reduction_planning/RegionObjectiveState[] region_objective_states

2 changes: 2 additions & 0 deletions msg/Objective.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
string objective_name
ddrp/Waypoint[] waypoints
2 changes: 2 additions & 0 deletions msg/Objective.msg~
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
string objective_name
dynamic_domain_reduction_planning/Waypoint[] waypoints
2 changes: 2 additions & 0 deletions msg/Region.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
int8 x
int8 y
3 changes: 3 additions & 0 deletions msg/RegionObjectiveState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ddrp/Region region
string objective_name
int8 state
3 changes: 3 additions & 0 deletions msg/RegionObjectiveState.msg~
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dynamic_domain_reduction_planning/Region region
string objective_name
int8 state
4 changes: 4 additions & 0 deletions msg/Task.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
string objective_name
int8 objective_state
ddrp/Region initial_region
ddrp/Region target_region
2 changes: 2 additions & 0 deletions msg/Waypoint.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
int8 x
int8 y
58 changes: 58 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0"?>
<package>
<name>ddrp</name>
<version>0.0.0</version>
<description>The ddrp package</description>

<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">aaron</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
<!-- Commonly used license strings: -->
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 -->
<license>TODO</license>


<!-- Url tags are optional, but multiple are allowed, one per tag -->
<!-- Optional attribute type can be: website, bugtracker, or repository -->
<!-- Example: -->
<!-- <url type="website">http://wiki.ros.org/ddrp</url> -->


<!-- Author tags are optional, multiple are allowed, one per tag -->
<!-- Authors do not have to be maintainers, but could be -->
<!-- Example: -->
<!-- <author email="[email protected]">Jane Doe</author> -->


<!-- The *_depend tags are used to specify dependencies -->
<!-- Dependencies can be catkin packages or system dependencies -->
<!-- Examples: -->
<!-- Use build_depend for packages you need at compile time: -->
<!-- <build_depend>message_generation</build_depend> -->
<!-- Use buildtool_depend for build tool packages: -->
<!-- <buildtool_depend>catkin</buildtool_depend> -->
<!-- Use run_depend for packages you need at runtime: -->
<!-- <run_depend>message_runtime</run_depend> -->
<!-- Use test_depend for packages you need only for testing: -->
<!-- <test_depend>gtest</test_depend> -->
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp</build_depend>
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>message_runtime</build_depend>
<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>message_runtime</run_depend>


<!-- The export tag contains other, unspecified, tags -->
<export>
<!-- Other tools can request additional information be placed here -->

</export>
</package>
57 changes: 57 additions & 0 deletions package.xml~
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<package>
<name>ddrp</name>
<version>0.0.0</version>
<description>The ddrp package</description>

<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">aaron</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
<!-- Commonly used license strings: -->
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 -->
<license>TODO</license>


<!-- Url tags are optional, but multiple are allowed, one per tag -->
<!-- Optional attribute type can be: website, bugtracker, or repository -->
<!-- Example: -->
<!-- <url type="website">http://wiki.ros.org/ddrp</url> -->


<!-- Author tags are optional, multiple are allowed, one per tag -->
<!-- Authors do not have to be maintainers, but could be -->
<!-- Example: -->
<!-- <author email="[email protected]">Jane Doe</author> -->


<!-- The *_depend tags are used to specify dependencies -->
<!-- Dependencies can be catkin packages or system dependencies -->
<!-- Examples: -->
<!-- Use build_depend for packages you need at compile time: -->
<!-- <build_depend>message_generation</build_depend> -->
<!-- Use buildtool_depend for build tool packages: -->
<!-- <buildtool_depend>catkin</buildtool_depend> -->
<!-- Use run_depend for packages you need at runtime: -->
<!-- <run_depend>message_runtime</run_depend> -->
<!-- Use test_depend for packages you need only for testing: -->
<!-- <test_depend>gtest</test_depend> -->
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp</build_depend>
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>message_runtime</build_depend>
<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>std_msgs</run_depend>


<!-- The export tag contains other, unspecified, tags -->
<export>
<!-- Other tools can request additional information be placed here -->

</export>
</package>
Loading

0 comments on commit 6bba319

Please sign in to comment.