flexivrobotics / flexiv_rdk

RDK (robotic development kit) for Flexiv robots. Supports C++ and Python. Compatible with Linux, macOS, and Windows.
Apache License 2.0
58 stars 18 forks source link

[FEATURE] Support for Dynamically Updating Trajectories #57

Closed isa-9 closed 2 months ago

isa-9 commented 2 months ago

Describe the solution you'd like I would like to be able to modify the .traj file and/or .flex file using third-party software, then execute a plan in FlexivRDK that uses the Grind primitive with the "fileName" parameter set to the updated .traj file, without having to go through Flexiv Elements. This would let us to maintain the same plan flow while using a variable trajectory.

Describe alternatives you've considered As an alternative, we have considered manually updating the trajectory within Flexiv Elements, but this approach is not efficient for dynamic adjustments.

pzhu-flexiv commented 2 months ago

@isa-9 Are you looking for something like this? https://github.com/flexivrobotics/flexiv_rdk/blob/release/v1.4/include/flexiv/rdk/file_io.hpp#L42

RDK v1.4 should be available late June / early July.