Skip to content

Commit

Permalink
controll all six degree of freedom (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Sep 20, 2024
1 parent 85084f9 commit f9e2637
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ namespace ndAdvancedRobot
class ndActionVector
{
public:
//ndBrainFloat m_actions[6];
ndBrainFloat m_actions[5];
ndBrainFloat m_actions[6];
};

class ndObservationVector
Expand Down Expand Up @@ -618,19 +617,12 @@ namespace ndAdvancedRobot
hinge->SetTargetAngle(targetAngle);
};

//SetParamter(m_arm_0, 0);
//SetParamter(m_arm_1, 1);
//SetParamter(m_arm_2, 2);
//SetParamter(m_arm_3, 3);
//SetParamter(m_arm_4, 4);
//SetParamter(m_base_rotator, 5);

SetParamter(m_arm_0, 0);
SetParamter(m_arm_1, 1);
SetParamter(m_arm_2, 2);
SetParamter(m_arm_3, 3);
//SetParamter(m_arm_4, 3);
SetParamter(m_base_rotator, 4);
SetParamter(m_arm_4, 4);
SetParamter(m_base_rotator, 5);
}

void CheckModelStability()
Expand Down

0 comments on commit f9e2637

Please sign in to comment.