daiego43-rasptank


Namedaiego43-rasptank JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/Daiego43/Adeept_RaspTank
SummaryThis is a clearer implementation of a library to interact with the Adeept rasptank robot. Pins are hardcoded
upload_time2024-02-25 19:00:04
maintainer
docs_urlNone
authorDaiego43
requires_python>=3.10
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # My Rasptank
Hello there! I created this version of the rasptank code to be more modular
and start developing a ROS code. With this implementation you can instantiate 
the object **Rasptank**, (only one can be created).

To install:
```bash
pip install daiego43_rasptank
```

## Rasptan Control
To control the rasptank you can use the following methods:
```python
from daiego43_rasptank.rasptank import Rasptank
rasptank = Rasptank()
```

A rasptank object is composed of the following sensors and actuators:
```python
class Rasptank:
    def __init__(self):
        # Brazo del robot
        self.link_4 = Servo(15, "end_effector", min_angle=0, max_angle=90, home_angle=90)
        self.link_3 = Servo(14, "wrist", min_angle=0, max_angle=180, home_angle=80)
        self.link_2 = Servo(13, "elbow", min_angle=0, max_angle=135, home_angle=110)
        self.link_1 = Servo(12, "base", min_angle=0, max_angle=180, home_angle=120)
        self.link_0 = Servo(11, "camera", min_angle=70, max_angle=120, home_angle=110)

        # Camara del robot
        self.video = Camera()

        # Ruedas del robot
        self.left_wheel = LeftWheel()
        self.right_wheel = RightWheel()

        # Sensor distancesensor
        self.ultrasonic_sensor = DistanceSensor()

        # Sensor de linea
        self.line_follower = MyLineSensor()
```

5 servos, 2 wheels, 1 camera, 1 ultrasonic sensor and 1 line sensor. The LEDs are not implemented.
Also all these classes are my own implementation and might have some errors.
But we can essentially get and set every sensor in the robot with some .

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Daiego43/Adeept_RaspTank",
    "name": "daiego43-rasptank",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "",
    "author": "Daiego43",
    "author_email": "diedelcha@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/db/d5015118036e120d1a6aa1fde0744cef1ad02a9c731bf191258bc7234a96/daiego43_rasptank-0.0.4.tar.gz",
    "platform": null,
    "description": "# My Rasptank\nHello there! I created this version of the rasptank code to be more modular\nand start developing a ROS code. With this implementation you can instantiate \nthe object **Rasptank**, (only one can be created).\n\nTo install:\n```bash\npip install daiego43_rasptank\n```\n\n## Rasptan Control\nTo control the rasptank you can use the following methods:\n```python\nfrom daiego43_rasptank.rasptank import Rasptank\nrasptank = Rasptank()\n```\n\nA rasptank object is composed of the following sensors and actuators:\n```python\nclass Rasptank:\n    def __init__(self):\n        # Brazo del robot\n        self.link_4 = Servo(15, \"end_effector\", min_angle=0, max_angle=90, home_angle=90)\n        self.link_3 = Servo(14, \"wrist\", min_angle=0, max_angle=180, home_angle=80)\n        self.link_2 = Servo(13, \"elbow\", min_angle=0, max_angle=135, home_angle=110)\n        self.link_1 = Servo(12, \"base\", min_angle=0, max_angle=180, home_angle=120)\n        self.link_0 = Servo(11, \"camera\", min_angle=70, max_angle=120, home_angle=110)\n\n        # Camara del robot\n        self.video = Camera()\n\n        # Ruedas del robot\n        self.left_wheel = LeftWheel()\n        self.right_wheel = RightWheel()\n\n        # Sensor distancesensor\n        self.ultrasonic_sensor = DistanceSensor()\n\n        # Sensor de linea\n        self.line_follower = MyLineSensor()\n```\n\n5 servos, 2 wheels, 1 camera, 1 ultrasonic sensor and 1 line sensor. The LEDs are not implemented.\nAlso all these classes are my own implementation and might have some errors.\nBut we can essentially get and set every sensor in the robot with some .\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This is a clearer implementation of a library to interact with the Adeept rasptank robot. Pins are hardcoded",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/Daiego43/Adeept_RaspTank"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f30f7c6f45aa350a2fbaab2184d222624f1ce5203d5ded58b5f54771905a03c3",
                "md5": "49cd2c80d365fe60dcfdc4d32792ee0d",
                "sha256": "5a2945cc649fc228afb7f49c8b6e07688e25798ae436c59d1228cab66e9868fb"
            },
            "downloads": -1,
            "filename": "daiego43_rasptank-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "49cd2c80d365fe60dcfdc4d32792ee0d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7853,
            "upload_time": "2024-02-25T19:00:02",
            "upload_time_iso_8601": "2024-02-25T19:00:02.919598Z",
            "url": "https://files.pythonhosted.org/packages/f3/0f/7c6f45aa350a2fbaab2184d222624f1ce5203d5ded58b5f54771905a03c3/daiego43_rasptank-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ddbd5015118036e120d1a6aa1fde0744cef1ad02a9c731bf191258bc7234a96",
                "md5": "917eacd49b9c58ec02a84ffbb3156fdd",
                "sha256": "6089c82ab18949d9921e66cd48e740443161b16d5f799f58088d7d4808ec0f63"
            },
            "downloads": -1,
            "filename": "daiego43_rasptank-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "917eacd49b9c58ec02a84ffbb3156fdd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6039,
            "upload_time": "2024-02-25T19:00:04",
            "upload_time_iso_8601": "2024-02-25T19:00:04.824927Z",
            "url": "https://files.pythonhosted.org/packages/1d/db/d5015118036e120d1a6aa1fde0744cef1ad02a9c731bf191258bc7234a96/daiego43_rasptank-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-25 19:00:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Daiego43",
    "github_project": "Adeept_RaspTank",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "daiego43-rasptank"
}
        
Elapsed time: 0.24763s