Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collision Avoidance
#16
Hi Robin,

Thank you for your feedback. There is a new update that includes the option to save your samples and the edges matrix through the API as CSV files. As an example, you can use the following code:

Code:
current_rdk_file = RDK.getParam("FILE_OPENSTATION")

# Save the N samples as a CSV file: joint values will be saved as one row per set of joints
status_msg = RDK.PluginCommand("CollisionFreePlanner", "SaveSamples", current_rdk_file + "-Joints.csv")
print(status_msg) # Returns "Done" if it worked

# Save the map as a CSV file (matrix of size NxN)
status_msg = RDK.PluginCommand("CollisionFreePlanner", "SaveMap", current_rdk_file + "-Map.csv")
print(status_msg) # Returns "Done" if it worked

Albert


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)