daiego43-rasptank


Namedaiego43-rasptank JSON
Version 0.0.9 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-06-15 20:28:18
maintainerNone
docs_urlNone
authorDaiego43
requires_python>=3.10
licenseNone
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
```

## Rasptank 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 bc I had to remove 
them from my unit.
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 a more friendly interface.

## Comments
Since for me this package is ready to be used with my own robot, now I am continuing with the ROS implementation.
If you reading this, would like to install this software or test it on your own robot, please let me know or contact me
and we can work together to make this package better for everyone :).

Now I am working on a ROS package that essentially publishes sensor info and subscribes to the wheels and servos to control the robot. I think that will be a separate package.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Daiego43/Adeept_RaspTank",
    "name": "daiego43-rasptank",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Daiego43",
    "author_email": "diedelcha@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/60/6e/e7334679e9131a71da390895ebc60e7e9f9806bf20129b3beb1a5ad70c27/daiego43_rasptank-0.0.9.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## Rasptank 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 bc I had to remove \nthem from my unit.\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 a more friendly interface.\n\n## Comments\nSince for me this package is ready to be used with my own robot, now I am continuing with the ROS implementation.\nIf you reading this, would like to install this software or test it on your own robot, please let me know or contact me\nand we can work together to make this package better for everyone :).\n\nNow I am working on a ROS package that essentially publishes sensor info and subscribes to the wheels and servos to control the robot. I think that will be a separate package.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is a clearer implementation of a library to interact with the Adeept rasptank robot. Pins are hardcoded",
    "version": "0.0.9",
    "project_urls": {
        "Homepage": "https://github.com/Daiego43/Adeept_RaspTank"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "23d75b3066010874b3199ba8eeac0e72e71e5cb32372f3683b7a6ee07a392cad",
                "md5": "ebdc1c3ec22fa84fdeef7cbc6897594c",
                "sha256": "3dbd5b35e9c5d649f63bcee3d504036313695df465db0792d3805e8a5f2636de"
            },
            "downloads": -1,
            "filename": "daiego43_rasptank-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ebdc1c3ec22fa84fdeef7cbc6897594c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 8198,
            "upload_time": "2024-06-15T20:28:17",
            "upload_time_iso_8601": "2024-06-15T20:28:17.244988Z",
            "url": "https://files.pythonhosted.org/packages/23/d7/5b3066010874b3199ba8eeac0e72e71e5cb32372f3683b7a6ee07a392cad/daiego43_rasptank-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "606ee7334679e9131a71da390895ebc60e7e9f9806bf20129b3beb1a5ad70c27",
                "md5": "c51be17a5021a1a7eee9804e6d582c98",
                "sha256": "eecfc36650062e5bb437130ab9ae05b41b7437942d30321347245571b9ffa5ca"
            },
            "downloads": -1,
            "filename": "daiego43_rasptank-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "c51be17a5021a1a7eee9804e6d582c98",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6681,
            "upload_time": "2024-06-15T20:28:18",
            "upload_time_iso_8601": "2024-06-15T20:28:18.807654Z",
            "url": "https://files.pythonhosted.org/packages/60/6e/e7334679e9131a71da390895ebc60e7e9f9806bf20129b3beb1a5ad70c27/daiego43_rasptank-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-15 20:28:18",
    "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.26596s