Name | mavcon JSON |
Version |
1.1.3
JSON |
| download |
home_page | |
Summary | A python package that provides simplified drone flight control |
upload_time | 2023-06-03 13:29:07 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
license | MIT License Copyright (c) 2023 Mavscient Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
mavlink
drone
drones
pymavlink
dronekit
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# MAVCOM
### Mavlink Communicator
Provides a simplified python interface for controlling Mavlink capable flight controllers.
## Installation
```pip install mavcon```
## Basic Usage
This is an example of how to use Mavcon with a simulated vehicle.
Run SITL:
```sim_vehicle.py -v ArduCopter```
```python
from mavcon import mavcontrol
import time
vehicle = mavcon.Mavcon(
connection_path = "127.0.0.1:14551",
)
vehicle.start()
while not vehicle.ready:
print("Waiting for vehicle to initialise...")
time.sleep(1)
vehicle.motors_armed = True
while not vehicle.motors_armed:
print("Waiting for motors to spin up...")
time.sleep(1)
vehicle.flight_mode = "GUIDED"
vehicle.takeoff(alt=10)
```
Raw data
{
"_id": null,
"home_page": "",
"name": "mavcon",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "mavlink,drone,drones,pymavlink,dronekit",
"author": "",
"author_email": "Mavscient <mavscient@xee4c.33mail.com>",
"download_url": "https://files.pythonhosted.org/packages/b1/3e/4db4a1426b95f34d5557f92ae3cc9f3b44b95c3f0fe20beebc815afaed78/mavcon-1.1.3.tar.gz",
"platform": null,
"description": "# MAVCOM\n\n### Mavlink Communicator\n\nProvides a simplified python interface for controlling Mavlink capable flight controllers.\n\n## Installation\n\n```pip install mavcon```\n\n## Basic Usage\n\nThis is an example of how to use Mavcon with a simulated vehicle.\n\nRun SITL:\n\n```sim_vehicle.py -v ArduCopter```\n\n```python\nfrom mavcon import mavcontrol\nimport time\n\nvehicle = mavcon.Mavcon(\n connection_path = \"127.0.0.1:14551\",\n)\n\nvehicle.start()\n\nwhile not vehicle.ready:\n print(\"Waiting for vehicle to initialise...\")\n time.sleep(1)\n\nvehicle.motors_armed = True\nwhile not vehicle.motors_armed:\n print(\"Waiting for motors to spin up...\")\n time.sleep(1)\n \nvehicle.flight_mode = \"GUIDED\"\nvehicle.takeoff(alt=10)\n```\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2023 Mavscient Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A python package that provides simplified drone flight control",
"version": "1.1.3",
"project_urls": {
"Homepage": "https://github.com/Mavscient/Mavcon"
},
"split_keywords": [
"mavlink",
"drone",
"drones",
"pymavlink",
"dronekit"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5cdb4beef102442a219ac92d6abd5cb969fa7290802daa6cdea77f837ed4aea6",
"md5": "bc41a54bee952319add79a443277a7a1",
"sha256": "e2545476b0a0a0e5d69ebf1a118ef04f50342087251673a3a6775f1212e12d26"
},
"downloads": -1,
"filename": "mavcon-1.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc41a54bee952319add79a443277a7a1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9566,
"upload_time": "2023-06-03T13:29:05",
"upload_time_iso_8601": "2023-06-03T13:29:05.644940Z",
"url": "https://files.pythonhosted.org/packages/5c/db/4beef102442a219ac92d6abd5cb969fa7290802daa6cdea77f837ed4aea6/mavcon-1.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b13e4db4a1426b95f34d5557f92ae3cc9f3b44b95c3f0fe20beebc815afaed78",
"md5": "b824219bf9077dad55911643b78b93f8",
"sha256": "f22abf875fa1bd9f504442bef279613f8d9eb5acc0f930152cbc6638418e21fe"
},
"downloads": -1,
"filename": "mavcon-1.1.3.tar.gz",
"has_sig": false,
"md5_digest": "b824219bf9077dad55911643b78b93f8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 9752,
"upload_time": "2023-06-03T13:29:07",
"upload_time_iso_8601": "2023-06-03T13:29:07.685092Z",
"url": "https://files.pythonhosted.org/packages/b1/3e/4db4a1426b95f34d5557f92ae3cc9f3b44b95c3f0fe20beebc815afaed78/mavcon-1.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-03 13:29:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mavscient",
"github_project": "Mavcon",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mavcon"
}