Home Examples Position control
BeginnerPosition Control

Position control

This task demonstrates how to move the subjectโ€™s arm smoothly while using the Position Controller block. It will move the subjectโ€™s arm alternatively between 4 target locations.

Forces/torques will be commanded to the Kinarm as soon as the task starts, and will continue throughout the entire task (i.e. the Position Controller is always on).ย There is a different sample task “Position controller enable/disable”ย which demonstrates how to turn the Position Controller on/off smoothly within a trial, for tasks that need to alternate between free movement and positioning the arm.

In the Trajectory subsystem/Create_Trajectory subsystem, a bell-shaped velocity profileย is calculated between where the hand was at the start of the trialย and the destination target. Using Stateflow, the virtual trajectory is sent point by point to the Position Controller block to create a smooth motion.

This task works on both Endpoint and Exoskeleton Kinarm labs.

Last tested in Dexterit-E 3.10 and MATLAB 2015a.

Share this Task

Related Tasks

Psychology Tasks
Stroop
This task quantifies cognitive inhibition and information processing speed.
Psychology Tasks
Simon
This task quantifies the influence of congruence between the spatial position of a stimulus and the required response.