gazebo_world_manager/1.txt

29 lines
666 B
Plaintext

curl --location --request GET 'http://127.0.0.1:12300/simulation/start?scene=grasp-box'
curl --location --request GET 'http://127.0.0.1:12300/simulation/shutdown'
curl --location --request POST 'http://127.0.0.1:12300/grasp-box/model/spawn' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "box10",
"type": "box",
"pose": {
"position": {
"x": 2,
"y": 2,
"z": 1
},
"orientation": {
"roll": 0,
"pitch": 0,
"yaw": 0
}
},
"tag_id": 9,
"mass": 1,
"size": {
"l": 0.3,
"h": 0.2,
"w": 0.2
}
}'