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

Allow Joint Freedrive Floating from RDK #55

Closed joepuzzo closed 2 months ago

joepuzzo commented 2 months ago

Currently I can enable freedrive floating via

executePrimitive(
            f"FloatingCartesian(cartFloatingAxis={floatingAxis}, cartFloatingFrame={cartFloatingFrame}, enableJointFloating={enableJointFloating})"
        )

But I would really also love the ability to enable freedrive floating for individual joints as well. Is there a FloatingJoint function hidden away somewhere ? :)

pzhu-flexiv commented 2 months ago

@joepuzzo What software version are you using?

joepuzzo commented 2 months ago

For RDK im using 0.10

pzhu-flexiv commented 2 months ago

@joepuzzo Try primitive floatingSoft. It has the following parameters:

joepuzzo commented 2 months ago

Thanks will give that a go!

joepuzzo commented 2 months ago
Screenshot 2024-06-04 at 6 19 01 AM

Seems that does not exist

pzhu-flexiv commented 2 months ago

@joepuzzo It's floatingSoft not FloatingSoft

joepuzzo commented 2 months ago

Oh wow I just guessed because "FloatingCartesian" is uppercase that floatingSoft would also be uppercase haha

joepuzzo commented 2 months ago

Will give it a try now

joepuzzo commented 2 months ago

That worked! Thanks!

yellownebula10 commented 1 month ago

@pzhu-flexiv I would like to use the primitives FloatingCartesian and floatingSoft in my application, but they do not seem to be mentioned in the primitives documentation. Where can I find documentation for these primitives?

kaibiao-flexiv commented 1 month ago

Hi @yellownebula10, FloatingCartesian and floatingSoft are not standard primitives, and therefore not documented on our primitives page. If you are interested, you can import PLAN-FreeDriveAuto.zip on Elements and check out these primitives' parameters and descriptions.