Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CrowdBotUnity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
CrowdBot
CrowdBotUnity
Wiki
Tutorials
Simple scene
Changes
Page history
New page
Templates
Clone repository
Update Tutorials/Simple scene
authored
5 years ago
by
Fabien Grzeskowiak
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tutorials/Simple-scene.md
+0
-0
0 additions, 0 deletions
Tutorials/Simple-scene.md
with
0 additions
and
0 deletions
Tutorials/Simple-scene.md
0 → 100644
View page @
e5cf121e
TO BE UPDATED
Start Unity Hub
Click on "Add" on the top right corner
Browse in the directory
<your
git
directory
>
/CrowdBotSim/
In the row "Unity version" associated to the project CrowdBotUnity, select the version of Unity specified in
[
the recommended configuration.
](
Installation-and-configuration/Configuration
)
Click on "CrowdBotUnity" to launch the project. This should take a while.
Open the scene located in Assets/Scenes/Tests/Sensors/lidarTests
This scene is composed of the following GameObjects:
*
Corridor 1: This is the stage, i.e. walls, floor, ceil, lights. It also handle the crowd behavior.
*
wheelchair_with_lidar: the actual robot that composed of a body and sensors. This demo show a 1D lidar (rear) and 2D lidar (front)
*
An agent model
*
A player: This is the camera you can control in game mode.
*
A simulation manager which handle the plugins and scene initialisation.
*
a rotating cube.
Open a terminal
`roslaunch crowdbotsim unity_sim.launch`
The roscore is configurated to use the /clock topic published by unity
so you should start Unity by pressing the "play" button
The clock is paused, press space to unpause or click in the game view
If you switch to the scene view, you should see yellow and red raycast
In the terminal the command
`rostopic list`
should give you the output
> /client_count
> /clock
> /connected_clients
> /point_cloud
> /rosout
> /rosout_agg
> /scan
run the command
`rosrun tf static_transform_publisher 0 0 0 0 0 0 map base_link 50`
for rviz to have a fake base_link tf.
run
`rviz`
Click on "Add" and slect the panel "by topic"
You can add and visualize the topic /scan for the 1D lidar and /point_cloud for the 2D lidar.

This diff is collapsed.
Click to expand it.