Skip to main content

Orbita python module

Actuator description

To control this actuator, a vector must be used to represent the orientation of the platform. An angle must also be identified to know the rotation of the platform on its own Z axis.

The orbita library allows the user to chose the orientation of the platform by typing a vector and an angle and to get the angles of the disks needed to do this rotation of the platform.

It also allows the user to use a quaternion (which can be provided by another system) to represent the rotation of the platform and get the angles of the disks.

Installation

Use the package manager pip to install the orbita library.

pip install orbita

Usage

from orbita import *
a = Actuator([0,0,85],[0,0,65],35) #Creates the actuator object
a.get_new_frame_from_vector(vector,angle) #returns new X,Y,Z vectors coordinates
a.get_angles_from_vector(vector,angle) #returns q11,q12 and q13 angles values
a.get_new_frame_from_quaternion(quaternion) #returns new X,Y,Z vectors coordinates
a.get_angles_from_quaternion(quaternion) #returns q11,q12 and q13 angles values

The last method needs the last angular position of the disks and an offset of 360°. These values need to be reset everytime the user reset the position of the disks.

a.reset_last_angles()
a.reset_offset()

Metadata

Release files for orbita 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orbita 0.3.1
File Size Uploaded
orbita-0.3.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orbita 0.3.1
File Interpreter ABI Platform
orbita-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / orbita-0.3.1.tar.gz

Download URL orbita-0.3.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3087e4cebec2a0f9ebb45ec13f84dc67edd1a45e183066d5ec117db8785d10f
BLAKE2b-256 checksum
How to use checksums
d09e0de5b5cf7203fc4375b618a48eba23d4de73f765fc3b27d2a914565d37fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / orbita-0.3.1-py3-none-any.whl

Download URL orbita-0.3.1-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60983901f1f5e154fb82861a38494e3cd94155774703b40f04652bf00ca17a9c
BLAKE2b-256 checksum
How to use checksums
aaf91292ef50d34c25f4b23e56174a5182b731ad23c172125f8d6b963365c0ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page