Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soma trajectory #82

Open
wants to merge 4 commits into
base: indigo-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion soma_trajectory/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ find_package(catkin REQUIRED COMPONENTS
interactive_markers
visualization_msgs
soma_msgs
soma_manager
soma_map_manager
mongodb_store
std_msgs
Expand Down Expand Up @@ -39,7 +40,7 @@ generate_messages(
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES soma_trajectory
CATKIN_DEPENDS human_trajectory rospy soma_msgs geometry_msgs soma_map_manager mongodb_store message_runtime interactive_markers visualization_msgs std_msgs nav_msgs
CATKIN_DEPENDS human_trajectory rospy soma_msgs geometry_msgs soma_map_manager mongodb_store message_runtime interactive_markers visualization_msgs std_msgs nav_msgs soma_manager
# DEPENDS system_lib
)

Expand Down
9 changes: 8 additions & 1 deletion soma_trajectory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Prerequisites

- MongoDB (>=2.6)
- mongodb_store
- pymongo
- pymongo (>=3.4.0)
- shapely


Expand All @@ -25,6 +25,13 @@ Getting started (general steps)
```
$ roslaunch mongodb_store mongodb_store.launch db_path:=<path_to_db>

```
3. Import people trajectory collection from message_store to somadata database
(Assuming that human trajectories were collected via strands_perception_people/human_trajectory package):

```
$ rosrun soma_trajectory trajectory_importer.py

```

SOMA map manager
Expand Down
2 changes: 2 additions & 0 deletions soma_trajectory/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<build_depend>visualization_msgs</build_depend>
<build_depend>soma_msgs</build_depend>
<build_depend>soma_map_manager</build_depend>
<build_depend>soma_manager</build_depend>
<build_depend>mongodb_store</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>nav_msgs</build_depend>
Expand All @@ -31,6 +32,7 @@
<run_depend>visualization_msgs</run_depend>
<run_depend>soma_msgs</run_depend>
<run_depend>soma_map_manager</run_depend>
<run_depend>soma_manager</run_depend>
<run_depend>mongodb_store</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>nav_msgs</run_depend>
Expand Down