-
Notifications
You must be signed in to change notification settings - Fork 14
Parameter Files
Jörn Malzahn edited this page Jul 17, 2018
·
2 revisions
The starting point for using the Compliant Joint Toolbox are parameter files. Parameter files are nothing but m-scripts defining a struct named param. The class genericJoint already assigns default values to all parameters. The parameter script only requires to specify deviations from these default values. An example of such a parameter file is given in the following:
%% Motor parameters
% Save these lines in example_params.m
% for later use in other examples.
%
% Motor rotor inertia [kg m^2]
params.('I_m') = 9.407000e-02;
% Motor Damping [Nms/rad]
params.('d_m') = 2.188643e-03;
% Torque constant [Nm/A]
params.('k_t') = 4.100000e-02;
%% Gear parameters
% Gear transmission ratio [.]
params.('n') = 100;
%% Sensor parameters
% Sensor inertia [kg m^2]
params.('I_l') = 1.137000e-04;
% Sensor stiffness [Nm/rad]
params.('k_b') = 21000;
For a complete list and of all parameters that can be specified in parameter files refer to the doc pages of the genericJoint
class by typing:
doc genericJoint