#ref(Tutorial at IROS2019/IROS2019_logo.png,70%)
* This page shows how to check the basic behavior of the SIGVerse. [#s7048daa]

* Step 1: Control a Avatar Character [#c0cf613f]
* Step 1: Control an avatar character [#c0cf613f]

** Startup Procedure [#m513aba1]

Follow the steps below to run the Unity example scene.
Follow the steps below to execute the Unity example scene.

+ Open the SIGVerse project in Unity.
+ Double-click [Assets/SIGVerse/SampleScenes/SampleHouse/SampleHouse(.unity)] on the [Project] tab to open the target scene.
+ Click the play button at the top center of the Unity to play the scene.


** Run [#ad90bfbf]

+ Click the play button at the top center of the Unity to play the scene.~
You can control the avatar with pressing arrow keys.

http://www.sigverse.org/wiki/en/index.php?plugin=ref&page=Control%20the%20First%20Person%20Character&src=FirstPersonViewWalk.png


''Reference Video'' ~
#youtube(yKTyewBoSTc)

----

* Step 2: Record and Playback the avatar movement [#n31dbd57]

In this scene, the movement of the avatar and objects can be recorded in a text file and played back.

** Startup Procedure [#uaca4a71]

Follow the steps below to run the Unity example scene.
Follow the steps below to execute the Unity example scene.

+ Open the SIGVerse project in Unity.
+ Double-click [Assets/SIGVerse/SampleScenes/Playbacker/Playbacker(.unity)] on the [Project] tab to open the target scene.
+ Click the play button at the top center of the Unity to play the scene.

** Recording to text file [#x9db9c22]

+ Select [Text Recorder] for Mode.
+ Make some settings such as [Output File].
+ Click the [Start] button to start recording to a text file.
+ Operate the character using arrow keys. ~
(Click [Baby icon] to show/hide the panel.)
+ Click the [Stop] button to stop recording to a text file.

#ref(Record and Play Character Movement (Save to Text file)/PlaybackTextRecording.png)

** Play from text file [#p08e211f]

+ Select [Text Player] for Mode.
+ Set the file path for recording to [Input File].
+ Press the [Start] button to start playback. ~
(Click [Baby icon] to show/hide the panel.)
+ When the [Stop] button is pressed or the recording time elapses, playback ends.

#ref(Record and Play Character Movement (Save to Text file)/PlaybackTextPlaying.png)


''Reference Video'' ~
#youtube(6YDEo9Kmjj4)



Next: [[IROS2019/Robot Control via ROS]]

----
#counter

[[Tutorial at IROS2019]]

Front page   Edit Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes