Comments (13)
I changed the graphic card to rtx 2070 and installed vulkan library.
Now it worked.
Many thanks.
from cloisim.
You can move robot with teleop twist keyboard. with
ros2 run teleop_twist_keyboard teleop_twist_keyboard /cmd_vel:=/cloi/cmd_vel
You need '/cloi' namespace for all topic because we assign namespace each robot.
If you need run navigation2 or cartographor, you need remmapings each topic.
from cloisim.
@misook3
You need to prepare below packages like you mentioned.
- CLOiSim
- sample-resources
- sim-device
You'd better to launch below script after install ROS2(Dashing) and build sim-device.
Here's a guide. Usage
-
Do setup ROS2 environment like always
$ . /opt/ros/dashing/setup.bash -
Set environment variable with the location of resources where you downloaded
export CLOISIM_MODEL_PATH="/home/Unity/cloisim/sample-resources/models"
export CLOISIM_WORLD_PATH="/home/Unity/cloisim/sample-resources/worlds" -
Do setup sim-device package after build(colcon build).
(it's an one of example, please change the path where you extracted.)
$ ros2 launch simdevice_bringup cloisim_world.launch.py sim_path:=/home/yg/CLOiSimRelease/CLOiSim-1.7.0 world:=lg_seocho.world
refer to this launcher script here
BTW, 'sim-device' stands for 'simulation-device' :).
from cloisim.
Thank you very much for your inputs.
However I have a problem about launch file format.
How should I go about this?
from cloisim.
I solved this problem :D
At sim-device-dashing, source install/setup.bash did it.
However, my screen does not show any models and worlds...
What did I miss?
from cloisim.
It looks CLOiSim has been terminated when you launched.
Are you running those simulation on Docker Container? or Remote environment?
If it so, you need to set configuration for X11-display and nvidia driver setting.
It might be helpful. link
from cloisim.
Ah, I did not run CLOiSim...
After I added another path into an environment, export CLOISIM_FILES_PATH="/home/ubuntu/sample-resources-0.2.0", I ran CLOiSim, but I could not figure it out where I have to change the path...
Did I add a right path?
from cloisim.
Actually "cloisim_world.launch.py" script runs CLOiSim. That's why it needs to add a sim_path as an argument on command.
All you need is just run cloisim_world.launch.py after set ENVIRONMENT variable like below.
ex)
export CLOISIM_WORLD_PATH=/home/ubuntu/sample-resources-0.2.0/worlds/
export CLOISIM_MODEL_PATH=/home/ubuntu/sample-resources-0.2.0/models/
from cloisim.
Ah, I did not run CLOiSim...
After I added another path into an environment, export CLOISIM_FILES_PATH="/home/ubuntu/sample-resources-0.2.0", I ran CLOiSim, but I could not figure it out where I have to change the path...
Did I add a right path?
If you cannot see any simulation popup window, I think your display setting is wrong.
Are you working at remote server through SSH?
Please check if display setting is working properly.
Check display
$ sudo apt-get install x11-apps
$ xeyes
And nvidia graphic driver should be installed.
from cloisim.
Yes! I will check the display setting and try the docker version of CLOiSim.
Many thanks for extra explanations.
from cloisim.
You were right!
It turns out my graphic card (nvidia gtx 1070) driver is not compatible with released binary CLOiSim.
Only CLOiSim-1.1.0 is runable...
If I build the source code of CLOiSim-1.6.0, would it be runable on my notbook?
When I try to open the project of CLOiSim-1.6.0 in Unity Editor, which file should I choose as a solution file(?) in the source code?
Thanks
from cloisim.
It looks you are missing prerequisite library.
Usage
sudo apt-get install libvulkan1
Vulkan library is required since version 1.1.1.
from cloisim.
@misook3 Good job!
from cloisim.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloisim.