Skip to content

Commit

Permalink
Merge pull request #900 from tue-robotics/rwc2019_challenge_rips
Browse files Browse the repository at this point in the history
Rwc2019 challenge rips
  • Loading branch information
MatthijsBurgh committed Nov 12, 2019
2 parents d3122d0 + b6ef863 commit 57df7ae
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 56 deletions.
61 changes: 5 additions & 56 deletions challenge_rips/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,65 +7,14 @@ find_package(catkin REQUIRED COMPONENTS
robot_smach_states
)

# find_package(Boost REQUIRED COMPONENTS system program_options)
# find_package(PCL REQUIRED)
# find_package(OpenCV REQUIRED)

# ------------------------------------------------------------------------------------------------
# ROS MESSAGES AND SERVICES
# ------------------------------------------------------------------------------------------------

# Generate messages
# add_message_files(
# FILES
# message1.msg
# ...
# )

# Generate services
# add_service_files(
# FILES
# service1.srv
# ...
# )

# Generate added messages and services with any dependencies listed here
# generate_messages(
# DEPENDENCIES
# geometry_msgs
# ...
# )

# ------------------------------------------------------------------------------------------------
# CATKIN EXPORT
# ------------------------------------------------------------------------------------------------

catkin_package(
# INCLUDE_DIRS include
# LIBRARIES bla
# CATKIN_DEPENDS other_catkin_pkg
# DEPENDS system_lib
)

# ------------------------------------------------------------------------------------------------
# BUILD
# ------------------------------------------------------------------------------------------------

include_directories(
include
${catkin_INCLUDE_DIRS}
)

# add_library(library_name
# src/lib_source_file1.cpp
# ...
# )
# target_link_libraries(library_name ${catkin_LIBRARIES})

# add_executable(exec_name
# src/source_file1.cpp
# ...
# )
# target_link_libraries(exec_name ${catkin_LIBRARIES})
catkin_python_setup()

catkin_package()

if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(test)
endif()
13 changes: 13 additions & 0 deletions challenge_rips/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
# # don't do this unless you want a globally visible script
# scripts=['bin/myscript'],
packages=['challenge_rips'],
package_dir={'': 'src'}
)

setup(**d)
Empty file.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions challenge_rips/test/test_construction.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import unittest

from robot_skills.mockbot import Mockbot

from challenge_rips.rips import setup_statemachine


class TestChallengeConstruction(unittest.TestCase):
def test_construction(self):
"""
If no exception is raised, this test will succeed
"""
robot = Mockbot()
setup_statemachine(robot)


if __name__ == '__main__':
unittest.main()
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# RIPS KNOWLEDGE FILE RWC2019

starting_point = "initial_pose"

intermediate_1 = "registration_table1"
intermediate_2 = "registration_table2"
intermediate_3 = "registration_table3"

exit_1 = "exit_1_rips"
exit_2 = "exit_2_rips"
exit_3 = "exit_3_rips"

0 comments on commit 57df7ae

Please sign in to comment.