-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathMotionPlannerFramework.m
33 lines (27 loc) · 1.12 KB
/
MotionPlannerFramework.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%MotionPlannerFramework solves a motion planning problem for a general system
%
% Ross Allen, ASL, Stanford University
%
% Started: Nov 11, 2015
%
% Inputs:
%
% Outputs:
%
% Notes:
% - To avoid having to make changes in multiple locations, the complete
% motion planner just calls the subcomponents for offline and online
% - Matlab 2012b or later should be used as certain Matlab functions
% experience adverse 'legacy' effects that will cause erros if older
% versions are used (e.g. svmtrain, intersect, ismember, etc)
% - 'mpinfo' stands for motion planning information and holds all
% relevant data for a motion planning problem (i.e. sampling info, robot
% info, machine learning info, etc.)
% - This has been generalized to a system-agnostic function
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [mpinfo] = MotionPlannerFramework(mpinfo, planningPhase)
% offline phase
mpinfo = MotionPlannerFrameworkOffline(mpinfo, planningPhase);
% online phase
mpinfo = MotionPlannerFrameworkOnline(mpinfo);
end