Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
ece4560:piktul:04pnp [2021/10/20 16:44] – pvela | ece4560:piktul:04pnp [2024/08/20 21:38] (current) – external edit 127.0.0.1 |
---|
The solution should not be hard-coded for the actual tasks given. The scripts you've been given should act as a good starting point for how the pick and place functions should work. The demo will involve assessing both execution of the task, as well as ability to actually grip, pick up, and place the object. | The solution should not be hard-coded for the actual tasks given. The scripts you've been given should act as a good starting point for how the pick and place functions should work. The demo will involve assessing both execution of the task, as well as ability to actually grip, pick up, and place the object. |
| |
| === The Code === |
| |
| The ''piktul'' class code, as left by your colleauge, was not entirely written. In fact, the ''inversekin'' class member function appears to be a copy paste from some other code. Correct the member function definition to accept the proper arguments, which include the desired end-effector configuration and the optional ''solfact'' variable. Also, revise the function code to correctly perform the inverse kinematics calculation. |
| |
--------- | --------- |