Title: Simulation with MuJoCo and PyBullet results in near instant NaN in simulation · Issue #3 · Nate711/PupperPythonSim · GitHub
Open Graph Title: Simulation with MuJoCo and PyBullet results in near instant NaN in simulation · Issue #3 · Nate711/PupperPythonSim
X Title: Simulation with MuJoCo and PyBullet results in near instant NaN in simulation · Issue #3 · Nate711/PupperPythonSim
Description: In both simulations, robot drops from height and then falls forward resulting in "invalid value encountered in arccos" error. Joint Angles: [[-0.12971291 0.12971291 -0.12971291 0.12971291] [ 0.91785808 0.91785808 0.91785808 0.91785808] [...
Open Graph Description: In both simulations, robot drops from height and then falls forward resulting in "invalid value encountered in arccos" error. Joint Angles: [[-0.12971291 0.12971291 -0.12971291 0.12971291] [ 0.9178...
X Description: In both simulations, robot drops from height and then falls forward resulting in "invalid value encountered in arccos" error. Joint Angles: [[-0.12971291 0.12971291 -0.12971291 0.12971291...
Opengraph URL: https://github.com/Nate711/PupperPythonSim/issues/3
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Simulation with MuJoCo and PyBullet results in near instant NaN in simulation","articleBody":"In both simulations, robot drops from height and then falls forward resulting in \"invalid value encountered in arccos\" error.\r\n\r\nJoint Angles: \r\n[[-0.12971291 0.12971291 -0.12971291 0.12971291]\r\n [ 0.91785808 0.91785808 0.91785808 0.91785808]\r\n [ 0.76873907 0.76873907 0.76873907 0.76873907]]\r\nServo Pulse Width (uS): \r\n[[1552.07517356 1778.52482644 1346.87517356 1607.52482644]\r\n [1459.08090847 1575.11909153 1436.28090847 1518.11909153]\r\n [2480.91874854 644.48125146 2446.71874854 621.68125146]]\r\n\r\n/home/stephen/PupperPythonSim/src/Kinematics.py:87: RuntimeWarning: invalid value encountered in arccos\r\n / (2 * config.LEG_L1 * R_hip_foot)\r\n/home/stephen/PupperPythonSim/src/Kinematics.py:96: RuntimeWarning: invalid value encountered in arccos\r\n / (2 * config.LEG_L1 * config.LEG_L2)\r\nJoint Angles: \r\n[[-0.12971291 0.12971291 -0.12971291 0.12971291]\r\n [ nan nan nan nan]\r\n [ nan nan nan nan]]\r\nServo Pulse Width (uS): \r\n[[1552.07517356 1778.52482644 1346.87517356 1607.52482644]\r\n [ nan nan nan nan]\r\n [ nan nan nan nan]]\r\n\r\nTraceback (most recent call last):\r\n File \"simulate.py\", line 102, in \u003cmodule>\r\n sim.step()\r\n File \"mujoco_py/mjsim.pyx\", line 126, in mujoco_py.cymj.MjSim.step\r\n File \"mujoco_py/cymj.pyx\", line 156, in mujoco_py.cymj.wrap_mujoco_warning.__exit__\r\n File \"mujoco_py/cymj.pyx\", line 77, in mujoco_py.cymj.c_warning_callback\r\n File \"/home/stephen/.local/lib/python3.6/site-packages/mujoco_py/builder.py\", line 363, in user_warning_raise_exception\r\n raise MujocoException(warn + 'Check for NaN in simulation.')\r\nmujoco_py.builder.MujocoException: Unknown warning type Time = 0.9250.Check for NaN in simulation. ","author":{"url":"https://github.com/smbutler-ire","@type":"Person","name":"smbutler-ire"},"datePublished":"2019-12-19T20:53:34Z","url":"https://github.com/Nate711/PupperPythonSim/issues/3"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:637f1fe4-653f-d7d4-6093-f6bbce766197 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A57C:1E06F4:9502D9:C4F38B:6B095F12 |
| html-safe-nonce | e3ffe4875fb3b7a3a33aa373334ac7843cc828d0947635d1e8c1f60c645ee8aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTdDOjFFMDZGNDo5NTAyRDk6QzRGMzhCOjZCMDk1RjEyIiwidmlzaXRvcl9pZCI6IjQwMjIxMDQwNDQwNDYyMTI4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01f1d7aee8d66c47edc786282bd9255d2c826c76d8bd1e7106c4804f16ae1963 |
| hovercard-subject-tag | issue:540559404 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Nate711/PupperPythonSim/3/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6daba25d1cc16bff8f41d2bce0fc087c764b8987fd2cae55afcfb0bcb010776c/Nate711/PupperPythonSim/issues/3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6daba25d1cc16bff8f41d2bce0fc087c764b8987fd2cae55afcfb0bcb010776c/Nate711/PupperPythonSim/issues/3 |
| og:image:alt | In both simulations, robot drops from height and then falls forward resulting in "invalid value encountered in arccos" error. Joint Angles: [[-0.12971291 0.12971291 -0.12971291 0.12971291] [ 0.9178... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smbutler-ire |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7e7304a38b6bc6a1ec0a7970f219ae1c71491302599b3c42088762d8889d94 |
| turbo-cache-control | no-preview |
| go-import | github.com/Nate711/PupperPythonSim git https://github.com/Nate711/PupperPythonSim.git |
| octolytics-dimension-user_id | 1295426 |
| octolytics-dimension-user_login | Nate711 |
| octolytics-dimension-repository_id | 212721424 |
| octolytics-dimension-repository_nwo | Nate711/PupperPythonSim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 212721424 |
| octolytics-dimension-repository_network_root_nwo | Nate711/PupperPythonSim |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3cb927d1757a02e619a0eb62b036233d6d9cdc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width