{ "info": { "author": "Kevin Walchko", "author_email": "walchko@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. figure:: https://raw.githubusercontent.com/MomsFriendlyRobotCompany/nxp_imu/master/docs/pics/imu-iso.jpg\n :align: center\n\n\nNXP IMU\n==============================\n\n.. image:: https://img.shields.io/pypi/l/nxp_imu.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/nxp_imu\n.. image:: https://img.shields.io/pypi/pyversions/nxp_imu.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/nxp_imu\n.. image:: https://img.shields.io/pypi/wheel/nxp_imu.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/nxp_imu\n.. image:: https://img.shields.io/pypi/v/nxp_imu.svg\n\t:target: https://github.com/MomsFriendlyRobotCompany/nxp_imu\n.. image:: https://travis-ci.org/MomsFriendlyRobotCompany/nxp_imu.svg?branch=master\n :target: https://travis-ci.org/MomsFriendlyRobotCompany/nxp_imu\n\nPython drivers for `Adafruit Precision NXP 9-DOF `_.\nThis is basically a python version of Adafruit's `FXOS8700 `_\nand their `FXAS21002C `_ written\nin C++ for the Arduino.\n\nNXP Precision 9DoF\n---------------------\n\nThe board consists of two separate ICs, described below:\n\n**FXOS8700 3-Axis Accelerometer/Magnetometer**\n\n- 2-3.6V Supply\n- \u00b12 g/\u00b14 g/\u00b18 g adjustable acceleration range\n- \u00b11200 \u00b5T magnetic sensor range\n- Output data rates (ODR) from 1.563 Hz to 800 Hz\n- 14-bit ADC resolution for acceleration measurements\n- 16-bit ADC resolution for magnetic measurements\n\n**FXAS21002 3-Axis Gyroscope**\n\n- 2-3.6V Supply\n- \u00b1250/500/1000/2000\u00b0/s configurable range\n- Output Data Rates (ODR) from 12.5 to 800 Hz\n- 16-bit digital output resolution\n- 192 bytes FIFO buffer (32 X/Y/Z samples)\n\nSetup\n--------\n\n.. figure:: https://raw.githubusercontent.com/MomsFriendlyRobotCompany/nxp_imu/master/docs/pics/imu-front.jpg\n\n.. figure:: https://raw.githubusercontent.com/MomsFriendlyRobotCompany/nxp_imu/master/docs/pics/imu-back.jpg\n\n`Adafruit setup tutorial `_\n\nUsage\n-------\n\nSee the ``examples`` folder, but to have the IMU run at 4G and 2000 degrees per\nsecond::\n\n\t#!/usr/bin/env python\n\n\tfrom __future__ import division, print_function\n\tfrom nxp_imu import IMU\n\timport time\n\n\timu = IMU(gs=4, dps=2000, verbose=True)\n\theader = 67\n\tprint('-'*header)\n\tprint(\"| {:17} | {:20} | {:20} |\".format(\"Accels [g's]\", \" Magnet [uT]\", \"Gyros [dps]\"))\n\tprint('-'*header)\n\tfor _ in range(10):\n\t\ta, m, g = imu.get()\n\t\tprint('| {:>5.2f} {:>5.2f} {:>5.2f} | {:>6.1f} {:>6.1f} {:>6.1f} | {:>6.1f} {:>6.1f} {:>6.1f} |'.format(\n\t\t\ta[0], a[1], a[2],\n\t\t\tm[0], m[1], m[2],\n\t\t\tg[0], g[1], g[2])\n\t\t)\n\t\ttime.sleep(0.50)\n\tprint('-'*header)\n\tprint(' uT: micro Tesla')\n\tprint(' g: gravity')\n\tprint('dps: degrees per second')\n\tprint('')\n\nDocuments\n------------\n\nThe ``/docs`` folder has the datasheets for both the accel/magnetometer and the\ngyros.\n\nMIT License\n===============\n\n**Copyright (c) 2017 Kevin J. Walchko**\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/walchko/nxp_imu", "keywords": "raspberry,pi,,nxp,imu,i2c", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "nxp-imu", "package_url": "https://pypi.org/project/nxp-imu/", "platform": "", "project_url": "https://pypi.org/project/nxp-imu/", "project_urls": { "Homepage": "http://github.com/walchko/nxp_imu" }, "release_url": "https://pypi.org/project/nxp-imu/0.5.0/", "requires_dist": [ "build-utils", "fake-rpi", "smbus2" ], "requires_python": "", "summary": "python library to use the Adafruit NXP 9-Dof IMU", "version": "0.5.0" }, "last_serial": 3041742, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a6c1e99909805f8b816ca81caf826fc8", "sha256": "14b3644ce1c03609eb13dd5a2abee0abc15f3a68f9fe467a1142027657b1536c" }, "downloads": -1, "filename": "nxp_imu-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "a6c1e99909805f8b816ca81caf826fc8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11315, "upload_time": "2017-06-18T19:41:35", "url": "https://files.pythonhosted.org/packages/41/1a/94d47ad163c4c1b0efe3664eb1f79fbb1f4472d120576401591b3979d2e0/nxp_imu-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27350439b9fbf9786b584568da9cf6b9", "sha256": "188b23ac97a40615bc2ef1a15a305f18ad5a2b617f7566546f524e54431dea5a" }, "downloads": -1, "filename": "nxp_imu-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "27350439b9fbf9786b584568da9cf6b9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11313, "upload_time": "2017-06-18T19:41:37", "url": "https://files.pythonhosted.org/packages/a4/a2/cecab538e050f6ba3ef018f6caf4cd98e20af0a3f356f80611ba4de4a087/nxp_imu-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "453c63d92f1184c9ffe32a9dad5b587e", "sha256": "bd8502be50252e31f303ac2b19f235a332ab72aeb8e5b975f6e88586887cab87" }, "downloads": -1, "filename": "nxp_imu-0.0.1.tar.gz", "has_sig": false, "md5_digest": "453c63d92f1184c9ffe32a9dad5b587e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7114, "upload_time": "2017-06-18T19:41:38", "url": "https://files.pythonhosted.org/packages/4a/14/73cc40e46b09feb771aed37e2ba27d6e2643ddd7c2e8dd6ef611aee13b75/nxp_imu-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7e1ea4400f0bce26d498a96ed1f07d00", "sha256": "ba60ef64aebb37d81aadf9630b641c9c4dc91dc390048cdae79cb9169f4355a2" }, "downloads": -1, "filename": "nxp_imu-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "7e1ea4400f0bce26d498a96ed1f07d00", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 11313, "upload_time": "2017-06-19T02:48:04", "url": "https://files.pythonhosted.org/packages/04/eb/b8872502deb09b1c690478f6daf1498ae26d6804fc46b5de8cab1b59ba96/nxp_imu-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "25b5d061e00a6396eb29a5f013a0d5e3", "sha256": "f3796ddf6dadc53e381adab9c2bc7e3b0d6e7c90b2905b3bedb19c676d94c76c" }, "downloads": -1, "filename": "nxp_imu-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "25b5d061e00a6396eb29a5f013a0d5e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11312, "upload_time": "2017-06-19T02:48:06", "url": "https://files.pythonhosted.org/packages/7b/10/f7aebc3687efad4da3b37504728a12079d8933fc252e0e650dc722c4b722/nxp_imu-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d28311bc53d36744a67c0bd4ae170ffa", "sha256": "d350d74b3e6d384de2592bac0afa529759a82717ec60d28f1055b8d4c1022f01" }, "downloads": -1, "filename": "nxp_imu-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d28311bc53d36744a67c0bd4ae170ffa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7114, "upload_time": "2017-06-19T02:48:08", "url": "https://files.pythonhosted.org/packages/81/e1/f80a6515b7c5fde99c02e01207a01f8c23087a8aa90143195a534c859135/nxp_imu-0.0.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "64f3f38f0b6eb99e10bc45da5836e540", "sha256": "398154dc41bac6dbbcb9102bf855e5f9dd686ba40270e4fd37ad72397ab6926c" }, "downloads": -1, "filename": "nxp_imu-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "64f3f38f0b6eb99e10bc45da5836e540", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12269, "upload_time": "2017-07-22T17:02:51", "url": "https://files.pythonhosted.org/packages/1f/6e/346475e4ec06a4ca25f7600e0f30a183534e9fe2d6afc62b04fdd26a85c2/nxp_imu-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "96800c025ffbfdb7a918f053441627a4", "sha256": "66d741d2eb66be032a065487c7926ace17e274bbb9ae0cc797f0fe5fae303c91" }, "downloads": -1, "filename": "nxp_imu-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "96800c025ffbfdb7a918f053441627a4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12269, "upload_time": "2017-07-22T17:02:52", "url": "https://files.pythonhosted.org/packages/7d/88/66a4b979a12347c03eabde17ea5f48cfd014fb758ba7aa864e60ca6bd537/nxp_imu-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3937e71d65108ca8f3948d9882890a1d", "sha256": "41527ec7c673886d164b329a7f71d227172a8723093d32cf4fad8f9a9e1fae5a" }, "downloads": -1, "filename": "nxp_imu-0.5.0.tar.gz", "has_sig": false, "md5_digest": "3937e71d65108ca8f3948d9882890a1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7760, "upload_time": "2017-07-22T17:02:53", "url": "https://files.pythonhosted.org/packages/d8/31/a850dce86ea1bcb9e662418fa3dd9d0bcbbb91af0fb9b53648b2181672f3/nxp_imu-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64f3f38f0b6eb99e10bc45da5836e540", "sha256": "398154dc41bac6dbbcb9102bf855e5f9dd686ba40270e4fd37ad72397ab6926c" }, "downloads": -1, "filename": "nxp_imu-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "64f3f38f0b6eb99e10bc45da5836e540", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 12269, "upload_time": "2017-07-22T17:02:51", "url": "https://files.pythonhosted.org/packages/1f/6e/346475e4ec06a4ca25f7600e0f30a183534e9fe2d6afc62b04fdd26a85c2/nxp_imu-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "96800c025ffbfdb7a918f053441627a4", "sha256": "66d741d2eb66be032a065487c7926ace17e274bbb9ae0cc797f0fe5fae303c91" }, "downloads": -1, "filename": "nxp_imu-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "96800c025ffbfdb7a918f053441627a4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12269, "upload_time": "2017-07-22T17:02:52", "url": "https://files.pythonhosted.org/packages/7d/88/66a4b979a12347c03eabde17ea5f48cfd014fb758ba7aa864e60ca6bd537/nxp_imu-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3937e71d65108ca8f3948d9882890a1d", "sha256": "41527ec7c673886d164b329a7f71d227172a8723093d32cf4fad8f9a9e1fae5a" }, "downloads": -1, "filename": "nxp_imu-0.5.0.tar.gz", "has_sig": false, "md5_digest": "3937e71d65108ca8f3948d9882890a1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7760, "upload_time": "2017-07-22T17:02:53", "url": "https://files.pythonhosted.org/packages/d8/31/a850dce86ea1bcb9e662418fa3dd9d0bcbbb91af0fb9b53648b2181672f3/nxp_imu-0.5.0.tar.gz" } ] }