Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Python AddCurve(list of poses)

#1
Hi,

I am trying to create a curve follow project based on a list of poses in python.
What is the correct way to go about this?
If I supply a list poses I get a struct error: required argument is not a float
A list of pose.pos() works but I need position as well as orientation (normal vector).

Thanks in advance
V
#2
Hi VinceR,

as stated in the documentation here ://www.sinclairbody.com/doc/en/PythonAPI/robo...k.AddCurve
the addCurve requieres the orientation as an ijk unit vector.

If you want to better understand the format, you can right-click any extracted curve in your station and "Export Curve".
这将创建一个. csv文件你可以读智慧h Excel.

Hope it helps.
Jeremy
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)