Skip to content

Commit

Permalink
Merge pull request #154 from una-auxme/153-feature-restructure-planni…
Browse files Browse the repository at this point in the history
…ng-package

153 feature restructure planning package
  • Loading branch information
samuelkuehnel authored Jan 11, 2024
2 parents c0aa944 + 8397119 commit e318820
Show file tree
Hide file tree
Showing 41 changed files with 76 additions and 847 deletions.
2 changes: 1 addition & 1 deletion code/agent/launch/agent.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</include>

<!-- planning -->
<include file="$(find planning_runner)/launch/planning_runner.launch">
<include file="$(find planning)/launch/planning.launch">
</include>

<include file="$(find mock)/launch/mock.launch">
Expand Down
22 changes: 17 additions & 5 deletions code/planning/local_planner/CMakeLists.txt → code/planning/CMakeLists.txt
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
cmake_minimum_required(VERSION 3.0.2)
project(local_planner)
project(planning)

## Compile as C++11, supported in ROS Kinetic and newer
# add_compile_options(-std=c++11)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED)

## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
find_package(catkin REQUIRED COMPONENTS
perception
rospy
roslaunch
std_msgs
)

roslaunch_add_file_check(launch)
## Uncomment this if the package has a setup.py. This macro ensures
## modules and global scripts declared therein get installed
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
# catkin_python_setup()
catkin_python_setup()

################################################
## Declare ROS messages, services and actions ##
Expand Down Expand Up @@ -102,7 +105,7 @@ catkin_package(
# LIBRARIES planning
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
CATKIN_DEPENDS perception
CATKIN_DEPENDS perception rospy
)

###########
Expand All @@ -113,7 +116,7 @@ catkin_package(
## Your package locations should be listed before other locations
include_directories(
# include
# ${catkin_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)

## Declare a C++ library
Expand Down Expand Up @@ -200,3 +203,12 @@ include_directories(

## Add folders to be run by python nosetests
# catkin_add_nosetests(test)

# catkin_install_python(
# PROGRAMS
# src/behavior_agent/behavior_tree.py
# src/behavior_agent/__init__.py
# DESTINATION
# ${CATKIN_PACKAGE_BIN_DESTINATION}
# )
install(DIRECTORY launch/ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch)
File renamed without changes.
21 changes: 0 additions & 21 deletions code/planning/behavior_agent/CMakeLists.txt

This file was deleted.

8 changes: 0 additions & 8 deletions code/planning/behavior_agent/launch/behavior_agent.launch

This file was deleted.

18 changes: 0 additions & 18 deletions code/planning/behavior_agent/package.xml

This file was deleted.

190 changes: 0 additions & 190 deletions code/planning/behavior_agent/readme.md

This file was deleted.

15 changes: 0 additions & 15 deletions code/planning/behavior_agent/setup.py

This file was deleted.

Loading

0 comments on commit e318820

Please sign in to comment.