home positions for standing up and sitting down is added
This commit is contained in:
parent
0d7ca5b46d
commit
82c06daac2
Binary file not shown.
Binary file not shown.
|
@ -32,34 +32,25 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": 4,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"data": {
|
|
||||||
"text/plain": [
|
|
||||||
"{'q': array([-0.04657429, 1.2569859 , -2.80100107, 0.02410829, 1.27012634,\n",
|
|
||||||
" -2.79052782, -0.37551445, 1.27423871, -2.79706788, 0.34611496,\n",
|
|
||||||
" 1.28171718, -2.81962585]),\n",
|
|
||||||
" 'dq': array([ 0.00387552, -0.00775105, 0.00404402, -0.03100419, -0.00775105,\n",
|
|
||||||
" -0.01011006, -0.04263076, -0.05425733, 0.01011006, -0.04263076,\n",
|
|
||||||
" -0.00387552, -0.00808805]),\n",
|
|
||||||
" 'ddq': array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]),\n",
|
|
||||||
" 'tau_est': array([-0.07421485, 0.12369141, -0.23707521, -0.12369141, -0.12369141,\n",
|
|
||||||
" 0.33190528, 0.02473828, -0.02473828, -0.14224511, 0.02473828,\n",
|
|
||||||
" -0.04947656, 0.09483008]),\n",
|
|
||||||
" 'temperature': array([35., 31., 30., 34., 30., 30., 38., 32., 31., 38., 32., 31.])}"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"execution_count": 3,
|
|
||||||
"metadata": {},
|
|
||||||
"output_type": "execute_result"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"robot.getJointStates()"
|
"import time\n",
|
||||||
|
"dataset = []\n",
|
||||||
|
"for i in range(10000):\n",
|
||||||
|
" sample = robot.getJointStates()\n",
|
||||||
|
" dataset.append(sample['q'])\n",
|
||||||
|
" time.sleep(0.01)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|
Loading…
Reference in New Issue