How to spawn a box in Gazebo using MATLAB

2 visualizaciones (últimos 30 días)
Roark Menezes
Roark Menezes el 13 de Jul. de 2020
Editada: Roark Menezes el 13 de Jul. de 2020
Im trying to spawn a box in Gazebo, i've written the following line but the box always spawns with size 1, 1, 1. Ive tried using the 'size' paramater but that doesnt work either.
table = ExampleHelperGazeboModel('Table');
link1 = addLink(table, 'box', 0.2, 'color', [0.1 0.1 0.1 1], 'geometry', [1.62 2.44 0.93]);
spawnModel(gazebo, table, [0.67 1.21 0.43]);
I cant find documentation anywhere to spawn a box, all I found was this link https://au.mathworks.com/help/ros/ug/add-build-remove-objects-in-gazebo.html, but it only explains how to spawn spheres and cylinders.

Respuestas (0)

Categorías

Más información sobre Network Connection and Exploration en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by