Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run the RVIZ visualization #40

Open
GiulioRomualdi opened this issue Feb 16, 2020 · 4 comments
Open

Unable to run the RVIZ visualization #40

GiulioRomualdi opened this issue Feb 16, 2020 · 4 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@GiulioRomualdi
Copy link
Member

I'm trying to run the RVIZ visualization located in whole-body-estimators/devices/baseEstimatorV1/ros
The command I'm using is roslaunch fbeViz.launch
An I'm getting the following error.

roslaunch fbeViz.launch 
... logging to /home/gromualdi/.ros/log/8762f73a-50ca-11ea-ab11-9cb6d0f6860f/roslaunch-iiticublap109-23145.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: Invalid <arg> tag: iCub
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share. 

Arg xml is <arg default="$(find iCub)/robots/$(env YARP_ROBOT_NAME)/model.urdf" name="model"/>
The traceback for the exception was written to the log file

I'm pretty sure I'm making some mistakes (I'm not a ROS user 😢 )

Can you help me? cc @prashanthr05

@GiulioRomualdi GiulioRomualdi added help wanted Extra attention is needed question Further information is requested labels Feb 16, 2020
@prashanthr05 prashanthr05 self-assigned this Feb 16, 2020
@prashanthr05
Copy link
Contributor

@GiulioRomualdi please excuse for the lack of documentation on the visualization using RViz. I will update it.

However, I feel rusty with the code as well. I need to look into it and try to fix it if its missing some crucial parts.

I suppose, the solution depends on where the repository icub-models is installed. Could you make sure that ROS_PACKAGE_PATH points to where icub-models is installed?

For more details, refer to https://github.com/robotology/icub-models

@traversaro
Copy link
Member

Probably we need to add ROS_PACKAGE_PATH to the env variables exported in the superbuild's env variables scripts.

@Ekanshh
Copy link

Ekanshh commented Feb 18, 2020

I think the issue is with the command you're writing, try using this command:
roslaunch <package name> <launch file>

@yeshasvitirupachuri
Copy link
Member

@GiulioRomualdi one quick check is to use roscd to check if ros can correctly discover your ros-package, in which you have the launch file. Let me know if you need a hand to run rviz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants