Comments (11)
Another example: how to launch RViz2 with a specific URDF?
from robostack.github.io.
Seems many things from standard ros do not transfer exactly, like where packages are stored
Can you be more specific? I am not sure how that is different, beside the difference of apt vs conda. Do you have an example of ROS official docs that should be changed for robostack?
from robostack.github.io.
Another example: how to launch RViz2 with a specific URDF?
In which sense this is different in robostack?
from robostack.github.io.
Where are packages installed? I am trying to follow this: https://wiki.ros.org/urdf/Tutorials/Building%20a%20Visual%20Robot%20Model%20with%20URDF%20from%20Scratch
And cannot get any ros2 launch urdf_tutorial
to work in robostack
EDIT: I tried:
micromamba install ros-humble-urdf-tutorial -c conda-forge -c robostack-staging ros-humble-desktop
and after installation,
ros2 launch urdf_tutorial display.launch model:=urdf/01-myfirst.urdf
file 'display.launch' was not found in the share directory of package 'urdf_tutorial' which is at '/samsung4tb/conda_envs/ros_env/share/urdf_tutorial'
from robostack.github.io.
I want to load the rviz with my urdf
from robostack.github.io.
Could you provide a line by line explanation of how to load the URDF into Rviz with Robostack?
from robostack.github.io.
That documentation is for ROS 1, you are using ROS 2. The correct docs to check are https://docs.ros.org/en/humble/Tutorials/Intermediate/URDF/Building-a-Visual-Robot-Model-with-URDF-from-Scratch.html . The location where the urdf-tutorial
files are installed is $CONDA_PREFIX\share\urdf_tutorial
, but you do not need to know that if you execute the command later in the tutorial. However, that seems to me a lack of the tutorial in https://docs.ros.org/en/humble/Tutorials/Intermediate/URDF/Building-a-Visual-Robot-Model-with-URDF-from-Scratch.html, as it should not assume that the user has the pwd in some binary directory, or it should explain the user how to reach it.
from robostack.github.io.
That documentation is for ROS 1, you are using ROS 2. The correct docs to check are https://docs.ros.org/en/humble/Tutorials/Intermediate/URDF/Building-a-Visual-Robot-Model-with-URDF-from-Scratch.html . The location where the
urdf-tutorial
files are installed is$CONDA_PREFIX\share\urdf_tutorial
, but you do not need to know that if you execute the command later in the tutorial. However, that seems to me a lack of the tutorial in https://docs.ros.org/en/humble/Tutorials/Intermediate/URDF/Building-a-Visual-Robot-Model-with-URDF-from-Scratch.html, as it should not assume that the user has the pwd in some binary directory, or it should explain the user how to reach it.
Thanks for your response.
these were the steps I tried, without success and error at the end:
micromamba install ros-humble-urdf-tutorial -c conda-forge -c robostack-staging ros-humble-desktop
and after installation,
ros2 launch urdf_tutorial display.launch model:=urdf/01-myfirst.urdf file 'display.launch' was not found in the share directory of package 'urdf_tutorial' which is at '/samsung4tb/conda_envs/ros_env/share/urdf_tutorial'
Any idea whats happening?
from robostack.github.io.
I got it to work with this command: ros2 launch urdf_tutorial display.launch.py model:=urdf/01-myfirst.urdf
seems you need to append a .py to any launch files
from robostack.github.io.
An additional step:
I searched for package:// in my urdf and changed all the meshes to the directory that robostack is expecting. Now I can load my custom URDF and associated meshes
from robostack.github.io.
I got it to work with this command: ros2 launch urdf_tutorial display.launch.py model:=urdf/01-myfirst.urdf
seems you need to append a .py to any launch files
In which sense "add" ? That seems the command reported in https://docs.ros.org/en/humble/Tutorials/Intermediate/URDF/Building-a-Visual-Robot-Model-with-URDF-from-Scratch.html .
from robostack.github.io.
Related Issues (20)
- Source workspace gets a directory not found error HOT 12
- Unify repositories
- Support ROS2 iron HOT 18
- Ubuntu Linux - C++ modules and system python HOT 16
- PyEnv related recommendations... installing/managing Conda for RoboStack HOT 2
- Error Encountered When Running 'gz gui' Command for Gazebo GUI Access
- rostopic echo /turtle1/pose ERROR: Cannot load message class for [turtlesim/Pose]. Are your messages built? HOT 2
- CMake Python path problem: Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found version "3.12.0") HOT 13
- cannot find libraries in colcon workspace HOT 3
- Fast DDS on ROS2 humble HOT 1
- time efficiency HOT 1
- Compile can't find c++ library HOT 2
- Package ros-noetic-controller-manager-msgs is unavailable HOT 2
- Mirror Unix GHA to Windows
- How to Automatically Source devel/setup.zsh After Activating ros_env Environment? HOT 2
- ros-humble-marker-msgs package request HOT 2
- A tutorial for packaging a private ROS2 package? HOT 1
- Error when importing cv_bridge HOT 1
- Could not load the Qt platform plugin "xcb" in "" even though it was found. HOT 1
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 robostack.github.io.