Suggestion: motion primitive generator ipynb

The automation files are required in the batch_processing right?
Maybe you can add it in the tutorials?

In the Tutorial 3: motion primitive generator, maybe you can append a small section on how to create the automation files.

I used something like:
‘’’

import matplotlib.pyplot as plt
from SMP.maneuver_automaton.maneuver_automaton import ManeuverAutomaton
from SMP.motion_planner.utility import plot_primitives

name_motion_xml = “V_0.0_10.0_Vstep_1.43_SA_-1.066_1.066_SAstep_0.12_T_1.2_Model_BMW_320i”
automaton = ManeuverAutomaton.generate_automaton(name_motion_xml+".xml")

plot_primitives(automaton.list_primitives)
automaton.save_automaton("/path/"+name_motion_xml+".automaton")

‘’’

1 Like

Yes, I agree that should be included in the tutorial. Thanks for the feedback.

1 Like