MotionGen vs TrajOpt #227
-
Hi, I got a really stupid question: what is the difference between MotionGen and TrajOpt? I saw both in the example folder. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
From my reading of the code, it seems that trajopt is a subset of motion gen? The motion gen API does many things, including "calling trajectory optimization". This just my my interpretation though. Trajopt does not specifically refer to Schulman's trajopt. Rather it seems to mean the generic "trajectory optimization", and curobo seems to include many types of this (gradient descent, lfbgs, maybe more?) |
Beta Was this translation helpful? Give feedback.
-
MotionGen uses IK and graph planner (as fallback) to generate seeds for trajectory optimization. These seeds are then optimized with and a final trajectory is output. TrajOpt does not implement Schulman's trajopt. It just refers to Trajectory Optimization. If you want to generate trajectories given a end-effector Pose target or joint configuration target, use MotionGen. If you want to generate your own seeds and run trajectory optimization over custom cost terms, use TrajOpt. |
Beta Was this translation helpful? Give feedback.
From my reading of the code, it seems that trajopt is a subset of motion gen? The motion gen API does many things, including "calling trajectory optimization". This just my my interpretation though.
Trajopt does not specifically refer to Schulman's trajopt. Rather it seems to mean the generic "trajectory optimization", and curobo seems to include many types of this (gradient descent, lfbgs, maybe more?)