skrobot.sdf.signed_distance_function.link2sdf
- skrobot.sdf.signed_distance_function.link2sdf(link, dim_grid=30)[source]
Convert Link to corresponding sdf
- Parameters:
link (skrobot.model.Link) – link object
dim_grid (int) – dimension of the GridSDF
- Returns:
sdf – corresponding signed distance function to the link type. e.g. if Link has geometry of urdf.Box, then BoxSDF is created.
- Return type: