ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Sw_urdf exporter - How to define the Base_Link

asked 2023-02-10 07:37:24 -0500

Vini71 gravatar image

updated 2023-02-26 11:27:56 -0500

Hi there,

I am using sw_urdf exporter plugin within Solidworks? http://wiki.ros.org/sw_urdf_exporter

I am defining the links and joints as this tutorial explains: https://www.youtube.com/watch?v=xNT3W...

However, I am not sure which parts to select to define as base_link, if should I select just the shafts or all the parts above the shafts (cab, bucket, tanks, etc..)

image description

I am not sure which model makes sense to ROS-URDF for simulation purposes (Center of mass, axis-reference, inertia) if I consider these other parts as base-link or not (just the shafts) ?

If I select just the blue shaft, I lose all the other parts:

image description

In addition the orientation and pose from tires didn`t workas expected ( I followed cautiosly the instruction from here https://www.youtube.com/watch?v=xNT3W...)

I would be very glad for some explanation, previous use-case of this plugin with the same purpose ( share a link please), etc...

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-23 12:47:14 -0500

Davies Ogunsina gravatar image

The blue shaft should be considered as base_link as you can see in your model links to various part of the vehicle meets from the shaft..

edit flag offensive delete link more

Comments

I undestand but the problem is that I am losing all the other parts (at least visually on urdf). Take a look ( I have updated the issue)

Vini71 gravatar image Vini71  ( 2023-02-26 11:28:08 -0500 )edit

Did you ground the base_link which is the shaft . When designing on solid works or fusion360 , you need to set the base of your model or robot to ground (it has to be grounded) .

Davies Ogunsina gravatar image Davies Ogunsina  ( 2023-03-01 16:00:37 -0500 )edit

Hi Davies sorry for late reply I am not receiving notifications in my email. What do you mean with "ground" the base_link? You mean to set it to ground height? Or better create a "base_footprint"? I did not understand how is this going to collaborate on work with the SolidWorks plugin to set the joints properly?

Vini71 gravatar image Vini71  ( 2023-03-28 23:04:50 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2023-02-10 07:37:24 -0500

Seen: 87 times

Last updated: Feb 26 '23