Is it possible to load external collision-free map?- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Is it possible to load external collision-free map? (/Thread-Is-it-possible-to-load-external-collision-free-map) |
Is it possible to load external collision-free map?-ysli-04-18-2021 There is a discussion aboutsave collision-free map as a .CSV file. I'm wondering is there a method to load external collision-free map, generated by another computer? So that we may allocate a computer dedicate for generating fine collision-free map. -Yishin RE: Is it possible to load external collision-free map?-Albert-05-11-2021 Hi Yishin, It is possible for you to modify the collision map from an external source. You can set the collision map using the RoboDK API and the function setCollisionActivePair. More information here: //www.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Robolink.setCollisionActivePair Albert RE: Is it possible to load external collision-free map?-shiu886-05-15-2021 Yishin and me have some discussion on his question and seems that his question misleads your answer to collision map. We are wondering if it is a valid idea to offload the calculation of a larger PRM map to another computer in the following steps: 1. after defining the work cell, generate a moderate map in say one hour and then add some programs (paths) into the .rdk 2. duplicate the .rdk in step1 to another computer B and generate a larger map on B; while working on the first computer A 3. export the map generated on B with plugin CollisionFreePlanner and its plugin commands SaveSamples and SaveMap, 4. load the exported map to the .rdk on A with plugin command Add If this offloading idea is valid, is there an example or document for plugin command Add to create a PRM map given a list of joint values or the two .csv files generated by SaveSamples and SaveMap? shiu RE: Is it possible to load external collision-free map?-Albert-05-15-2021 Hi Shiu, Unfortunately it is currently not possible to use multiple computers to calculate the same PRM map. However, if you have an Nvidia graphics card I would recommend you to consider enabling CUDA acceleration here:
RE: Is it possible to load external collision-free map?-colinb83-05-15-2021 You can just save an rdk station, run the calculations on another pc and then load it back on your laptop etc RE: Is it possible to load external collision-free map?-ysli-05-16-2021 (05-15-2021, 10:19 PM)colinb83 Wrote:You can just save an rdk station, run the calculations on another pc and then load it back on your laptop etc But it requires the feature to export and import path settings, right? Here's our expected use case:
RE: Is it possible to load external collision-free map?-Jeremy-05-16-2021 I do think that you could export and import a fair share of information. But could you provide a simple .rdk station with a list of what you would like to transfer EXACTLY? Jeremy RE: Is it possible to load external collision-free map?-ysli-05-16-2021 (05-16-2021, 10:41 AM)Jeremy Wrote:I do think that you could export and import a fair share of information. RDKEVAL.rdk(Size: 3.9 MB / Downloads: 229)is attached. What we would like to export are CFP settings and related objects/programs. If this is doable, we can have multiple team members doing different parts of the same project and merge their work together. Are there Python APIs for this kind of job? |