Skip to content

Commit

Permalink
Addressed Javi comments in the PR
Browse files Browse the repository at this point in the history
Signed-off-by: JesusSilvaUtrera <[email protected]>
  • Loading branch information
JesusSilvaUtrera committed May 15, 2024
1 parent 6733aea commit fd451a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion andino_description/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ In the `urdf` folder you have the URDF files that contain the description of the

In case you want to change the physical properties of some of the components of the robot, you can do it modifying the default YAML files inside the `config/andino` folder.

You can even add your own configuration files in another directory in the `config` folder, and passing this directory to the main file using `yaml_config_dir` xacro argument inside the launch files.
You can even add your own configuration files in another directory in the `config` folder, and pass this directory to the main file using the `yaml_config_dir` xacro argument on the launch files.

## Launch Files

Expand Down
6 changes: 3 additions & 3 deletions andino_description/launch/andino_description.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@

def generate_launch_description():

# Obtains andino_description's share directory path.
pkg_andino_description = get_package_share_directory('andino_description')

# Arguments
rsp_argument = DeclareLaunchArgument('rsp', default_value='true',
description='Run robot state publisher node.')

# Obtains andino_description's share directory path.
pkg_andino_description = get_package_share_directory('andino_description')

# Obtain urdf from xacro files.
arguments = {'yaml_config_dir': os.path.join(pkg_andino_description, 'config', 'andino')}
doc = xacro.process_file(os.path.join(pkg_andino_description, 'urdf', 'andino.urdf.xacro'), mappings = arguments)
Expand Down
6 changes: 3 additions & 3 deletions andino_description/launch/view_andino.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@

def generate_launch_description():

# Obtains andino_description's share directory path.
pkg_andino_description = get_package_share_directory('andino_description')

# Arguments
rviz_argument = DeclareLaunchArgument('rviz', default_value='true',
description='Open RViz.')
Expand All @@ -52,6 +49,9 @@ def generate_launch_description():
jsp_argument = DeclareLaunchArgument('jsp', default_value='true',
description='Run joint state publisher node.')

# Obtains andino_description's share directory path.
pkg_andino_description = get_package_share_directory('andino_description')

# Obtain urdf from xacro files.
arguments = {'yaml_config_dir': os.path.join(pkg_andino_description, 'config', 'andino')}
doc = xacro.process_file(os.path.join(pkg_andino_description, 'urdf', 'andino.urdf.xacro'), mappings = arguments)
Expand Down
2 changes: 1 addition & 1 deletion andino_description/urdf/include/andino_control.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<param name="right_wheel_name">${hardware_props['right_wheel_name']}</param>
<param name="serial_device">${hardware_props['serial_device']}</param>
<param name="baud_rate">${hardware_props['baud_rate']}</param>
<param name="timeout">1${hardware_props['timeout']}</param>
<param name="timeout">${hardware_props['timeout']}</param>
<param name="enc_ticks_per_rev">${hardware_props['enc_ticks_per_rev']}</param>
</hardware>
<joint name="left_wheel_joint">
Expand Down

0 comments on commit fd451a2

Please sign in to comment.