Skip to main content

Awesome general_navigation created by AdityaNG

Project description

General Navigation

PyPI - Downloads PyPI - Version codecov CI GitHub License

Demo

General Navigation Models based on GNM, ViNT, NoMaD as a pytorch repo for quick and easy deployment.

Install it from PyPI

PyPi Link

pip install general_navigation

If you want to connect with the Carla simulator, you will also need to seperately install carla

pip install carla==0.9.15  # Linux and Windows
pip install carla==0.9.5  # Linux and Windows

Usage

Documentation Link

Creating a pytorch instance of the model

from general_navigation.models.factory import (
  get_default_config, get_model, get_weights
)

config = get_default_config()
model = get_model(config)
model = get_weights(config, model, device)

Using the command line tool for inference

$ python3 -m general_navigation --help
usage: general_navigation [-h] [--device {auto,cuda,cpu}] [--media MEDIA]

options:
  -h, --help            show this help message and exit
  --device {auto,cuda,cpu}, -d {auto,cuda,cpu}
  --media MEDIA, -m MEDIA
                        File path, use camera index if you want to use the webcam
$ python3 -m general_navigation --media media/test.mp4

TODO

  • Import models from visualnav-transformer
  • Script to use specified video camera to feed video into the models
  • Visualize model's trajectory output
  • Arguments to CLI
  • Auto download model weights from google drive
  • Demo video
  • PyPi release
  • Example usage
  • Carla Integration
  • MPC implementation
  • Visualize MPC reconstructed trajectory
  • Visualize Steering angle
  • Fix scaling issue
  • Intrinsic matrix as argument
  • Documentation: mkdocs gh-deploy
  • Linting fixes
  • MyPy testing
  • Add test cases for code coverage

Development

Read the CONTRIBUTING.md file.

References

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

general_navigation-0.4.0.tar.gz (625.8 kB view details)

Uploaded Source

Built Distribution

general_navigation-0.4.0-py3-none-any.whl (792.4 kB view details)

Uploaded Python 3

File details

Details for the file general_navigation-0.4.0.tar.gz.

File metadata

  • Download URL: general_navigation-0.4.0.tar.gz
  • Upload date:
  • Size: 625.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for general_navigation-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4a6d790f4d07ab1e5a5b359974ac1b8884a2fe02d4882c676415b8a289725a48
MD5 e74ded50488a127e7a5714f2218adb0f
BLAKE2b-256 6798cccdee921a960f1b22d311a3b866aec0589aa7345a3c6a410d3796b5e9ed

See more details on using hashes here.

File details

Details for the file general_navigation-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for general_navigation-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82ac3733672adda601a9176023797e001603edb4d2eaef05b52a7477d8473c3e
MD5 961eca1cb96024493df84d17ec25f812
BLAKE2b-256 39797876ae16037fc02dd03deeeba2d35753e2260edb89ca5db5b1968d713b54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page