-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add documentation for the introspector
- Loading branch information
Showing
4 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Create a ROS model from a deployed robot using our introspection at runtime tool | ||
|
||
Please be sure that the tool is installed and your workspace setup, see the [installation guide](../README.md) for further details. | ||
|
||
The tools documented here were conceived as a simple way to obtain models of systems already developed during their execution. This series of scripts uses the popular ROS rosgraph library to obtain a list of the interfaces present in the system at runtime. | ||
|
||
You can install the tools directly on your workspace using the following command: | ||
|
||
``` | ||
mkdir -p my_catkin_ws/src | ||
cd my_catkin_ws/src | ||
catkin_init_workspace | ||
rosinstall . https://raw.githubusercontent.com/ipa320/ros-model/master/docu/introspection.rosinstall | ||
cd my_catkin_ws | ||
catkin_make (or catkin build) | ||
``` | ||
|
||
To start the monitoring software the snapshot node has to be started on the same machine where the software to be analysed is running: | ||
|
||
``` | ||
source my_catkin_ws/devel/setup.bash | ||
rosrun rosgraph_monitor rossystem_snapshot | ||
``` | ||
|
||
This script will generate automatically a new file (.rossystem) under the folder: 'rosgraph_monitor/results'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- git: | ||
local-name: ros_model_parser | ||
uri: https://github.com/ipa-nhg/ros_model_parser.git | ||
version: fix-value | ||
- git: | ||
local-name: rosgraph_monitor | ||
uri: https://github.com/ipa-nhg/rosgraph_monitor.git | ||
version: rossystem_snapshot |