[choreonoid] Prepare for being able to switch trajectory types