Code covered by the BSD License
-
simiam
A MATLAB-based educational bridge between theory and pratice in robotics.
-
GetArg(S, Name, Default)
-
ParseArgs(Args, varargin)
Check input arguments
-
findjobj(container,varargin)
findjobj Find java objects contained within a specified java container or Matlab GUI handle
-
launch()
Copyright (C) 2013 Georgia Tech Research Corporation
-
CellProps
Helper class for GridLayout
-
GridLayout
Main layout-manager class
-
mcodekit.list.dl_list
Copyright (C) 2012 Jean-Pierre de la Croix
-
mcodekit.list.dl_list_iterator
Copyright (C) 2012 Jean-Pierre de la Croix
-
mcodekit.list.dl_list_node
Copyright (C) 2012 Jean-Pierre de la Croix
-
simiam.app.ControlApp
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.controller.AOandGTG
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.controller.AvoidObstac...
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.controller.Controller
CONTROLLER is a template for all user-defined controllers.
-
simiam.controller.FollowWall
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.controller.GoToAngle
GOTOANGLE steers the robot towards a angle with a constant velocity using PID
-
simiam.controller.GoToGoal
GOTOGOAL steers the robot towards a goal with a constant velocity using PID
-
simiam.controller.SlidingMode
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.controller.Stop
-
simiam.controller.Supervisor
SUPERVISOR switches between controllers and handles their inputs/outputs.
-
simiam.controller.khepera3.K3...
SUPERVISOR switches between controllers and handles their inputs/outputs.
-
simiam.robot.Khepera3
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.robot.Robot
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.robot.dynamics.Differe...
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.robot.dynamics.Dynamics
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.robot.sensor.Proximity...
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.robot.sensor.WheelEnco...
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.simulator.Obstacle
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.simulator.Physics
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.simulator.Simulator
SIMULATOR is responsible for stepping the program through the simulation.
-
simiam.simulator.World
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.ui.AppWindow
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.ui.Drawable
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.ui.Pose2D
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.ui.Surface2D
Copyright (C) 2013, Georgia Tech Research Corporation
-
simiam.util.Plotter
PLOTTER supports plotting data in 2D with a reference signal.
-
View all files
from
Sim.I.am
by Jean-Pierre de la Croix
A MATLAB-based educational bridge between theory and practice in robotics.
|
| simiam.controller.Controller |
classdef Controller < handle
%% CONTROLLER is a template for all user-defined controllers.
%
% controller Properties:
% type - Name of the controller
% state_estimate - Current estimate of the robot's state
% prev_ticks - Previous tick count on the left and right wheels
%
% controller Methods:
% execute - Executes the control loop (one iteration).
% update_odometry - Approximates the location of the robot.
% uni_to_diff - Converts from unicycle to differential drive model.
% deg2rad - Converts from degrees to radians.
properties
%% PROPERTIES Controller memory banks
type % Name of the controller
end % properties
methods
%% METHODS
function obj = Controller(type)
%% CONTROLLER Constructor
% obj = controller() is the default constructor that sets the
% name of the controller to 'basic', the state estimate to 0, and
% the previous tick count to 0.
% initialize memory banks
obj.type = type;
end
end
methods
function outputs = execute(obj, robot, state_estimate, inputs)
%% EXECUTE Executes the control loop (one iteration).
% [...] = obj.execute(robot, ...) is called by the supervisor once every
% iteration. This function should compute the control for one
% time step only.
%
% This function accepts a variable number of input and output
% arguments that allow the user to define any set of inputs and
% outputs for the control loop.
outputs = [];
end
end % methods
end
|
|
Contact us