Refactor the URDF into multiple parts.
Makes it easier to work on an individual part in isolation. Also change the vscode devconsole visualiser to one that works with includes
This commit is contained in:
@@ -13,7 +13,10 @@ def generate_launch_description():
|
||||
get_package_share_directory('raspbot_v2'), 'urdf', 'raspbot_v2.urdf.xacro'
|
||||
)
|
||||
robot_description = ParameterValue(
|
||||
Command(['xacro ', urdf_file]),
|
||||
Command([
|
||||
'xacro ', urdf_file,
|
||||
' wheel_separation:=', LaunchConfiguration('wheel_base'),
|
||||
]),
|
||||
value_type=str,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user