A vehicle collision detector
Project description
collision detection for vehicles with uncertainty in the position represented as a gaussian distribution The implementation is based on an approximate but quick and accurate method.
import collide
Functions:
collide.collides(x1, y1, x2, y2, L1, W1, theta1, L2, W2, theta2)
collide.plot(x1, y1, x2, y2, L1, W1, theta1, L2, W2, theta2)
collide.collides(x1, y1, x2, y2, L1, W1, theta1, L2, W2, theta2, cov1, cov2, method, sample_size)
variables:
x,y: position
L,W: length and width
theta: angle of the vehicle in radian
In case of uncertinity:
define cov1, cov2: 2x2 array
method: ‘s’:sampling with sample_size(has default value of 100), ‘g’ euclidean gaussian distribution, ‘e’ epsilon shadow
source-code: https://github.com/rashid1844/collides/
Change Log
0.0.1 (12/10/2020)
First Release
0.0.2 (13/10/2020)
README changes
0.0.3 (13/10/2020)
README changes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collides-0.0.4.tar.gz
.
File metadata
- Download URL: collides-0.0.4.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de4727ba5324295f2ecc0432f7234eb7ea56ee54a552f738365762aaaec76b8 |
|
MD5 | eab7a1429dfc6d1fcb44f8cd3c11c0fb |
|
BLAKE2b-256 | 65f8c362ef04ccbbda55fb6ab49105464f42be0d83564cbff2780836ad328acd |