Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision Avoidance
#19
Hy again

Since the latest update of RoboDK 3.8.4 the issue I described on May 10'th seems to be solved. However, I noticed that the PRM Algorithm creates a valid PRG despite having collisions (in between the samples) in it. After running "status = RDK.PluginCommand("CollisionFreePlanner", "Join", "Target 1|Target 2|ProgSample")" I can easily check if the path has collisions by using the code below. However, the PRM does not offer any alternative Paths after it found a "valid" solution. My suggestion would be to take the code below into the PRM algorithm evaluation so the search for a collision free path can continue if a collision is detected. Otherwise the whole map becomes useless, because the only way to find another path, as far as I can see, is to refresh the collision map.

Simulation speed: I already simplified most collision geometries in the station. However the calculation time of the map takes quite a while. Are there any new addons that make better use of the grapics card? My graphics card usage is always below 5 percent (with or without the option “GPU Array usage”). Also my processor seems to be running at 50 % usage without turbo-boosting up. Any hints are appreciated.

If you have any questions to elaborate on one of my descriptions, I will be happy to.

Regards, Robin


Code:
# Source: //m.sinclairbody.com/doc/en/PythonAPI/robolink.html?highlight=prog#robolink.Robolink.AddProgram
# Update the path (can take some time if collision checking is active)
program = RDK.Item('ProgSample')
update_result = program.Update(COLLISION_ON)
print(update_result)


Messages In This Thread
Collision Avoidance - byMicronexx- 11-02-2018, 11:18 PM
RE: Collision Avoidance - byJeremy- 11-05-2018, 05:22 PM
RE: Collision Avoidance - bymattmct- 11-07-2018, 01:56 AM
RE: Collision Avoidance - byMicronexx- 11-07-2018, 05:38 PM
RE: Collision Avoidance - byJeremy- 11-07-2018, 04:31 PM
RE: Collision Avoidance - byAlbert- 11-08-2018, 12:04 AM
RE: Collision Avoidance - byRZingrich- 03-15-2019, 02:54 PM
RE: Collision Avoidance - byAlbert- 03-19-2019, 01:10 AM
RE: Collision Avoidance - byRZingrich- 03-21-2019, 03:19 PM
RE: Collision Avoidance - byJeremy- 03-21-2019, 08:33 PM
RE: Collision Avoidance - byRZingrich- 03-22-2019, 10:36 AM
RE: Collision Avoidance - byAlbert- 03-22-2019, 02:20 PM
RE: Collision Avoidance - byyurykotlyarov- 07-18-2022, 06:08 PM
RE: Collision Avoidance - byRZingrich- 03-25-2019, 12:26 PM
RE: Collision Avoidance - byAlbert- 04-02-2019, 05:03 PM
RE: Collision Avoidance - byRZingrich- 04-29-2019, 12:12 PM
RE: Collision Avoidance - byAlbert- 04-30-2019, 07:39 PM
RE: Collision Avoidance - byh.sciascia- 06-09-2021, 06:19 AM
RE: Collision Avoidance - byRZingrich- 04-30-2019, 07:46 PM
RE: Collision Avoidance - byRZingrich- 05-10-2019, 02:22 PM
RE: Collision Avoidance - byRZingrich- 07-25-2019, 01:08 PM
RE: Collision Avoidance - byAlbert- 07-30-2019, 04:44 PM
RE: Collision Avoidance - byAlbert- 06-16-2021, 08:52有空
RE: Collision Avoidance - byAlbert- 07-19-2022, 06:42 AM
RE: Collision Avoidance - byyurykotlyarov- 07-19-2022, 12:25 PM
RE: Collision Avoidance - byyurykotlyarov- 07-20-2022, 10:03 AM



Users browsing this thread:
1 Guest(s)