cram2 / pycram

Cognitive Robot Abstract Machine in Python
https://pycram.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
20 stars 40 forks source link

[SemanticCostmap] applied margin #180

Closed sunava closed 1 month ago

sunava commented 1 month ago

I use this Costmap to generate placement poses for my complete pick-and-place demo on the real robot. The outer edges are reduced because the robot requires some clearance, especially when dealing with structures like shelves where the outer areas might be restricted. Since the standard semantic costmap is no longer in use, perhaps we should consider renaming this to something like placeSemanticCostmap, @Tigul. In the attached image, you can see an example for a countertop. Please note that I work with TF frames oriented according to the direction we agreed upon within the Suturo project. Screenshot from 2024-08-13 12-17-33

sunava commented 1 month ago

for example uses:

sem = SemanticCostmap(apartment_desig.resolve().world_object, "island_countertop")
sem.visualize()
Tigul commented 1 month ago

Since there will be another implementation soon I will close this