DVRK_RecordAndPlayback
This package is used to record data from the da Vinci Research Kit
or play them back to it.
Install in a catkin
workspace:
- Clone the package into a catkin workspace:
$ git clone https://github.com/careslab/DVRK_RecordAndPlayback.git
- Build using
catkin
. The installation needs extra permissions:
$ sudo -E catkin build dvrk_record_and_playback
Launch an RViz
simulation and a modified rqt_bag
window which can
be to record or play the data back into the hardware:
$ roslaunch dvrk_record_and_playback record_and_playback.launch
The modified rqt_bag window has 2 added buttons:
-
Rename Topics
: The topics that are recorded are not the same as the ones that can be played back. For this reason we need to rename the topics. Hardware and simulation require different topics. By pressing this button 2 new files will be created. One for hardware and one for simulation. The current window should be closed and reopened. Then a file may be opened for playback. -
Home
: The hardware needs to be prepared before the data can be played back into it. The Home button prepares the hardware. Afterwards the data can be played back.
After using the Rename Topics
and Home
buttons everything is
ready for playback. In order to do that simply:
- Choose the topics that you want to playback and click publish.
- Press the play button in the GUI and the messages should play back and publish into the hardware or simulation
- Author : Shahab Eslamian (Shahab.eslamian@wayne.edu)
- Organization : Careslab, Wayne State University
- Supervisor : Abhilash Pandya (apandya@indigo.eng.wayne.edu)