Skip to content

Commit

Permalink
ported the models to WBT3.0 and added coupled motor inertia
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielenava committed Jan 23, 2018
1 parent 867df22 commit b82317a
Show file tree
Hide file tree
Showing 51 changed files with 12,001 additions and 8,142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
% Gains and parameters for impedance controller
Config.ON_GAZEBO = true;
ROBOT_DOF = 23;
WBT_robotName = 'icubSim';
WBT_wbiList = '(torso_pitch,torso_roll,torso_yaw,l_shoulder_pitch, l_shoulder_roll, l_shoulder_yaw, l_elbow, r_shoulder_pitch,r_shoulder_roll, r_shoulder_yaw, r_elbow, l_hip_pitch, l_hip_roll, l_hip_yaw, l_knee, l_ankle_pitch, l_ankle_roll, r_hip_pitch,r_hip_roll,r_hip_yaw,r_knee,r_ankle_pitch,r_ankle_roll)';
% Robot configuration for WBT3.0
WBTConfigRobot = WBToolbox.Configuration;
WBTConfigRobot.RobotName = 'icubSim';
WBTConfigRobot.UrdfFile = 'model.urdf';
WBTConfigRobot.LocalName = 'WBT';

WBTConfigRobot.ControlBoardsNames = {'right_arm','left_arm','right_leg','left_leg','torso'};
WBTConfigRobot.ControlledJoints = {'torso_pitch','torso_roll','torso_yaw', ...
'l_shoulder_pitch','l_shoulder_roll','l_shoulder_yaw','l_elbow', ...
'r_shoulder_pitch','r_shoulder_roll','r_shoulder_yaw','r_elbow', ...
'l_hip_pitch','l_hip_roll','l_hip_yaw','l_knee','l_ankle_pitch','l_ankle_roll', ...
'r_hip_pitch','r_hip_roll','r_hip_yaw','r_knee','r_ankle_pitch','r_ankle_roll'};
% References for the demo movements
if MOVING

Expand Down
13 changes: 11 additions & 2 deletions controllers/impedanceControl/app/robots/iCubGenova02/configRobot.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
% Gains and parameters for impedance controller
Config.ON_GAZEBO = false;
ROBOT_DOF = 23;
WBT_robotName = 'icub';
WBT_wbiList = '(torso_pitch,torso_roll,torso_yaw,l_shoulder_pitch, l_shoulder_roll, l_shoulder_yaw, l_elbow, r_shoulder_pitch,r_shoulder_roll, r_shoulder_yaw, r_elbow, l_hip_pitch, l_hip_roll, l_hip_yaw, l_knee, l_ankle_pitch, l_ankle_roll, r_hip_pitch,r_hip_roll,r_hip_yaw,r_knee,r_ankle_pitch,r_ankle_roll)';
% Robot configuration for WBT3.0
WBTConfigRobot = WBToolbox.Configuration;
WBTConfigRobot.RobotName = 'icubSim';
WBTConfigRobot.UrdfFile = 'model.urdf';
WBTConfigRobot.LocalName = 'WBT';

WBTConfigRobot.ControlBoardsNames = {'right_arm','left_arm','right_leg','left_leg','torso'};
WBTConfigRobot.ControlledJoints = {'torso_pitch','torso_roll','torso_yaw', ...
'l_shoulder_pitch','l_shoulder_roll','l_shoulder_yaw','l_elbow', ...
'r_shoulder_pitch','r_shoulder_roll','r_shoulder_yaw','r_elbow', ...
'l_hip_pitch','l_hip_roll','l_hip_yaw','l_knee','l_ankle_pitch','l_ankle_roll', ...
'r_hip_pitch','r_hip_roll','r_hip_yaw','r_knee','r_ankle_pitch','r_ankle_roll'};
% References for the demo movements
if MOVING

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
% Gains and parameters for impedance controller
Config.ON_GAZEBO = true;
ROBOT_DOF = 23;
WBT_robotName = 'icubSim';
WBT_wbiList = '(torso_pitch,torso_roll,torso_yaw,l_shoulder_pitch, l_shoulder_roll, l_shoulder_yaw, l_elbow, r_shoulder_pitch,r_shoulder_roll, r_shoulder_yaw, r_elbow, l_hip_pitch, l_hip_roll, l_hip_yaw, l_knee, l_ankle_pitch, l_ankle_roll, r_hip_pitch,r_hip_roll,r_hip_yaw,r_knee,r_ankle_pitch,r_ankle_roll)';
% Robot configuration for WBT3.0
WBTConfigRobot = WBToolbox.Configuration;
WBTConfigRobot.RobotName = 'icubSim';
WBTConfigRobot.UrdfFile = 'model.urdf';
WBTConfigRobot.LocalName = 'WBT';

WBTConfigRobot.ControlBoardsNames = {'right_arm','left_arm','right_leg','left_leg','torso'};
WBTConfigRobot.ControlledJoints = {'torso_pitch','torso_roll','torso_yaw', ...
'l_shoulder_pitch','l_shoulder_roll','l_shoulder_yaw','l_elbow', ...
'r_shoulder_pitch','r_shoulder_roll','r_shoulder_yaw','r_elbow', ...
'l_hip_pitch','l_hip_roll','l_hip_yaw','l_knee','l_ankle_pitch','l_ankle_roll', ...
'r_hip_pitch','r_hip_roll','r_hip_yaw','r_knee','r_ankle_pitch','r_ankle_roll'};
% References for the demo movements
if MOVING

Expand Down
Loading

0 comments on commit b82317a

Please sign in to comment.