osrf / vrx

Virtual RobotX (VRX) resources.
Apache License 2.0
420 stars 189 forks source link

Error while following tutorials thruster_component_config. #771

Closed b0jji closed 6 months ago

b0jji commented 7 months ago

I need to create a custom URDF file for a WAM-V but when I followed the tutorial at https://github.com/osrf/vrx/wiki/tutorials-thruster_component_config exactly, I got the following error message:

FileNotFoundError: [Errno 2] No such file or directory: '/home/b0jji/my_wamv/thruster_config.xacro'.

According to the tutorial, this is not supposed to happen as the inputs for this script are "component_config.yaml" and "thruster_config.yaml" only. No mention of an xacro file whatsoever.

The script reads the "component_config.yaml" but not the "thruster_config.yaml" as it is looking for an xacro file instead.

Edit: Upon further inspection, I realized that need for an .xacro file might be expected but the script is failing to create a proper .xacro file. Here is the "thruster_config.xacro" the script created:

`<?xml version="1.0"?>

` It fails to close the tag which might cause the problem.
caguero commented 6 months ago

I think you're looking at a tutorial from the Gazebo Classic version. Could you trying these ones?

https://github.com/osrf/vrx/wiki/tutorials#customizing-the-wam-v-beginner