Master Thesis Code
by Simon Moser
Loading...
Searching...
No Matches
trajectoryGenerationApp Class Reference

app that helps to generate a trajectory. More...

+ Inheritance diagram for trajectoryGenerationApp:

Public Member Functions

function tabPointsDoubleClicked (in app, in event)
 
function tabPointsKeyRelease (in app, in event)
 
function tabPointsCellEdit (in app, in event)
 
function tabPointsKeyPress (in app, in event)
 
function SamplingFrequencyChanged (in app)
 
function InterpolationDropDownValueChanged (in app)
 
function ImportButtonPushed (in app)
 
function ExportButtonPushed (in app)
 
function NewButtonPushed (in app)
 
function tabPointsCheckandSort (in app)
 
function btnPlotWaypointsPushed (in app)
 
function GenerateButtonPushed (in app)
 
function PlayButtonPushed (in app)
 
function trajectoryGenerationApp (in varargin)
 
function delete (in app)
 

Public Attributes

Property TrajectoryAppUIFigure
 
Property gridMain
 
Property mossFeb2024Label
 
Property Image
 
Property gridTrajMenu
 
Property GridLayout
 
Property PlayButton
 
Property GenerateButton
 
Property TrajectoryGenerationLabel
 
Property gridInterpolationMenu
 
Property SetSamplingFrequencyInputLabel
 
Property SetSamplingFrequencyInput
 
Property OrientationDropDown
 
Property OrientationDropDownLabel
 
Property PositionDropDown
 
Property PositionDropDownLabel
 
Property InterpolationSettingsLabel
 
Property gridWaypointTableMenu
 
Property AutomaticallyCheckandSortCheckBox
 
Property btnPlotWaypoints
 
Property CheckandSortButton
 
Property WaypointTableSettingsLabel
 
Property gridImportExportMenu
 
Property NewButton
 
Property ExportButton
 
Property ImportButton
 
Property ImportandExportLabel
 
Property lblTrajGen
 
Property lblTrajDefinition
 
Property gridTable
 
Property lblOrientationHelper
 
Property gridTabLbls
 
Property lblTabOrientation
 
Property lblTabPosition
 
Property lblTabTimeInfo
 
Property tabPoints
 
Property appReturnValue
 

Private Member Functions

function tabPointsAddRow (in app)
 
function tabPointsEditCell (in app, in row, in col)
 
function tabPointsUpdate (in app)
 
function trajToUiTable (in app)
 
function uiTableToTraj (in app)
 
function startupFcn (in app, in traj)
 
function createComponents (in app)
 

Private Attributes

Property appTrajectory
 

Detailed Description

app that helps to generate a trajectory.

This app is mainly a graphical interface to the Trajectory class. It allows to define waypoints, set the sampling frequency and the interpolation methods and to generate the trajectory.

The app can be called with no arguments:

function trajectoryGenerationApp(in varargin)

or with a Trajectory object as argument:

myTraj = Trajectory;
Trajectory Class for generating and manipulating trajectories from waypoints.
Definition Trajectory.m:37

in the second case, the app will be initialized with the given Trajectory object. Also, every change made in the app will be reflected in the given Trajectory object since is is passed by reference. If you want to keep the original Trajectory object, you should pass a copy of it to the app. You can do this by calling the copy method of the Trajectory object:

myTraj = Trajectory;
myTrajCopy = myTraj.copy;
function copy(in obj)
get a copy of the Trajectory object
Example Usage

Definition at line 36 of file trajectoryGenerationApp.m.

Constructor & Destructor Documentation

◆ trajectoryGenerationApp()

function trajectoryGenerationApp ( in varargin)

Member Function Documentation

◆ btnPlotWaypointsPushed()

function btnPlotWaypointsPushed ( in app)

◆ createComponents()

function createComponents ( in app)
private

◆ delete()

function delete ( in app)

◆ ExportButtonPushed()

function ExportButtonPushed ( in app)

◆ GenerateButtonPushed()

function GenerateButtonPushed ( in app)

◆ ImportButtonPushed()

function ImportButtonPushed ( in app)

◆ InterpolationDropDownValueChanged()

function InterpolationDropDownValueChanged ( in app)

◆ NewButtonPushed()

function NewButtonPushed ( in app)

◆ PlayButtonPushed()

function PlayButtonPushed ( in app)

◆ SamplingFrequencyChanged()

function SamplingFrequencyChanged ( in app)

◆ startupFcn()

function startupFcn ( in app,
in traj )
private

◆ tabPointsAddRow()

function tabPointsAddRow ( in app)
private

◆ tabPointsCellEdit()

function tabPointsCellEdit ( in app,
in event )

◆ tabPointsCheckandSort()

function tabPointsCheckandSort ( in app)

◆ tabPointsDoubleClicked()

function tabPointsDoubleClicked ( in app,
in event )

◆ tabPointsEditCell()

function tabPointsEditCell ( in app,
in row,
in col )
private

◆ tabPointsKeyPress()

function tabPointsKeyPress ( in app,
in event )

◆ tabPointsKeyRelease()

function tabPointsKeyRelease ( in app,
in event )

◆ tabPointsUpdate()

function tabPointsUpdate ( in app)
private

◆ trajToUiTable()

function trajToUiTable ( in app)
private

◆ uiTableToTraj()

function uiTableToTraj ( in app)
private

Member Data Documentation

◆ appReturnValue

Property appReturnValue

Definition at line 125 of file trajectoryGenerationApp.m.

◆ appTrajectory

Property appTrajectory
private

Definition at line 120 of file trajectoryGenerationApp.m.

◆ AutomaticallyCheckandSortCheckBox

Property AutomaticallyCheckandSortCheckBox

Definition at line 79 of file trajectoryGenerationApp.m.

◆ btnPlotWaypoints

Property btnPlotWaypoints

Definition at line 81 of file trajectoryGenerationApp.m.

◆ CheckandSortButton

Property CheckandSortButton

Definition at line 83 of file trajectoryGenerationApp.m.

◆ ExportButton

Property ExportButton

Definition at line 91 of file trajectoryGenerationApp.m.

◆ GenerateButton

Property GenerateButton

Definition at line 57 of file trajectoryGenerationApp.m.

◆ gridImportExportMenu

Property gridImportExportMenu

Definition at line 87 of file trajectoryGenerationApp.m.

◆ gridInterpolationMenu

Property gridInterpolationMenu

Definition at line 61 of file trajectoryGenerationApp.m.

◆ GridLayout

Property GridLayout

Definition at line 53 of file trajectoryGenerationApp.m.

◆ gridMain

Property gridMain

Definition at line 45 of file trajectoryGenerationApp.m.

◆ gridTabLbls

Property gridTabLbls

Definition at line 105 of file trajectoryGenerationApp.m.

◆ gridTable

Property gridTable

Definition at line 101 of file trajectoryGenerationApp.m.

◆ gridTrajMenu

Property gridTrajMenu

Definition at line 51 of file trajectoryGenerationApp.m.

◆ gridWaypointTableMenu

Property gridWaypointTableMenu

Definition at line 77 of file trajectoryGenerationApp.m.

◆ Image

Property Image

Definition at line 49 of file trajectoryGenerationApp.m.

◆ ImportandExportLabel

Property ImportandExportLabel

Definition at line 95 of file trajectoryGenerationApp.m.

◆ ImportButton

Property ImportButton

Definition at line 93 of file trajectoryGenerationApp.m.

◆ InterpolationSettingsLabel

Property InterpolationSettingsLabel

Definition at line 75 of file trajectoryGenerationApp.m.

◆ lblOrientationHelper

Property lblOrientationHelper

Definition at line 103 of file trajectoryGenerationApp.m.

◆ lblTabOrientation

Property lblTabOrientation

Definition at line 107 of file trajectoryGenerationApp.m.

◆ lblTabPosition

Property lblTabPosition

Definition at line 109 of file trajectoryGenerationApp.m.

◆ lblTabTimeInfo

Property lblTabTimeInfo

Definition at line 111 of file trajectoryGenerationApp.m.

◆ lblTrajDefinition

Property lblTrajDefinition

Definition at line 99 of file trajectoryGenerationApp.m.

◆ lblTrajGen

Property lblTrajGen

Definition at line 97 of file trajectoryGenerationApp.m.

◆ mossFeb2024Label

Property mossFeb2024Label

Definition at line 47 of file trajectoryGenerationApp.m.

◆ NewButton

Property NewButton

Definition at line 89 of file trajectoryGenerationApp.m.

◆ OrientationDropDown

Property OrientationDropDown

Definition at line 67 of file trajectoryGenerationApp.m.

◆ OrientationDropDownLabel

Property OrientationDropDownLabel

Definition at line 69 of file trajectoryGenerationApp.m.

◆ PlayButton

Property PlayButton

Definition at line 55 of file trajectoryGenerationApp.m.

◆ PositionDropDown

Property PositionDropDown

Definition at line 71 of file trajectoryGenerationApp.m.

◆ PositionDropDownLabel

Property PositionDropDownLabel

Definition at line 73 of file trajectoryGenerationApp.m.

◆ SetSamplingFrequencyInput

Property SetSamplingFrequencyInput

Definition at line 65 of file trajectoryGenerationApp.m.

◆ SetSamplingFrequencyInputLabel

Property SetSamplingFrequencyInputLabel

Definition at line 63 of file trajectoryGenerationApp.m.

◆ tabPoints

Property tabPoints

Definition at line 113 of file trajectoryGenerationApp.m.

◆ TrajectoryAppUIFigure

Property TrajectoryAppUIFigure

Definition at line 43 of file trajectoryGenerationApp.m.

◆ TrajectoryGenerationLabel

Property TrajectoryGenerationLabel

Definition at line 59 of file trajectoryGenerationApp.m.

◆ WaypointTableSettingsLabel

Property WaypointTableSettingsLabel

Definition at line 85 of file trajectoryGenerationApp.m.


The documentation for this class was generated from the following file: