Skip to content

Commit 5f538fa

Browse files
committed
added launch file and updated README
1 parent 8f725a2 commit 5f538fa

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installation
44
```
5-
$ cd <path/to/workspace/src> git clone -b observers https://github.com/ipa-hsd/rosgraph_monitor/
5+
$ cd <path/to/workspace/src> git clone -b nav_observer https://github.com/ipa-hsd/rosgraph_monitor/
66
$ cd <path/to/workspace/src> git clone -b SoSymPaper https://github.com/ipa-nhg/ros_graph_parser
77
$ cd <path/to/workspace>
88
$ source /opt/ros/melodic/setup.bash
@@ -32,3 +32,11 @@ For NavModel.
3232
pip3 install roslibpy
3333
https://pypi.python.org/pypi/service_identity
3434
```
35+
36+
To run the app:
37+
```
38+
roslaunch rosbridge_server rosbridge_websocket.launch
39+
roslaunch rosgraph_monitor demo.launch
40+
python3 src/rosgraph_monitor/nav_model.py
41+
rosservice call /load_observer "name: 'NavObserver'"
42+
```

launch/demo.launch

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<launch>
2+
<node name="turtlesim_node" pkg="turtlesim" type="turtlesim_node" output="screen"/>
3+
<node name="teleop" pkg="turtlesim" type="turtle_teleop_key" output="screen"/>
4+
<node name="monitor" pkg="rosgraph_monitor" type="monitor" output="screen"/>
5+
<node name="radar_driver" pkg="rosgraph_monitor" type="radar_driver" output="screen"/>
6+
</launch>

srv/PredictAction.srv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
float32[] sensor_data
2+
---
3+
string action

0 commit comments

Comments
 (0)