Skip to main content

2D Navigation Gym Environment

This repository implements a Gym environment for simulating simple 2D navigation scenarios.

Installation

Activate a virtual environment or a conda environment. Then, run the following command:

pip install nav2d

Use cases

The building blocks in this toolbox are Point, Vector, and Polygon defined in nav2d.assets.elements.

  • Point: p = Point(x, y), p.pos is a np.array. You can add a Vector to a Point to make it a new Point.
  • Vector: inherits from Point. You can apply various algebraic operations to Vector. Many operators are overloaded there, e.g., sum(List[Vector]) gives you a singe Vector. Vector helps you manipulate multiple movements.
  • Polygon: zone = Polygon(List[Point]). Given a zone and a point, zone.point_relative_pos(p) tells you their relative position IN | ON | OUT. A Polygon is defined by its vertices (Points).

Authors

Xiaoyu Wang

Jihwan Jeong

Metadata

Release files for nav2d 0.0.2

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

Source distribution (sdist)

Source distribution for nav2d 0.0.2
File Size Uploaded Provenance Actions
nav2d-0.0.2.tar.gz 13.4 kB Without provenance Details for nav2d-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 27.0 kB

Security for nav2d 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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