192 lines
7.8 KiB
Markdown
192 lines
7.8 KiB
Markdown
# 📦 Bellande Step (Infinite Dimensions)
|
|
|
|
# API Usability
|
|
```
|
|
{
|
|
"url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run",
|
|
"endpoint_path": {
|
|
"bellande_step": "/api/Bellande_Step/bellande_step_nd"
|
|
},
|
|
"Bellande_Framework_Access_Key": "bellande_web_api_opensource"
|
|
}
|
|
```
|
|
# API Payload Example
|
|
```
|
|
{
|
|
"node0": [0, 0, 0],
|
|
"node1": [100, 100, 100],
|
|
"limit": 75,
|
|
"dimensions": 3,
|
|
"auth": {
|
|
"authorization_key": "bellande_web_api_opensource"
|
|
}
|
|
}
|
|
```
|
|
|
|
# Quick API Testing
|
|
```
|
|
curl -X 'POST' \
|
|
'https://bellanderoboticssensorsresearchinnovationcenterwebsite-kot42qxp.b4a.run/api/Bellande_Step/bellande_step_nd' \
|
|
-H 'accept: application/json' \
|
|
-H 'Content-Type: application/json' \
|
|
-d '{
|
|
"node0": [0, 0, 0],
|
|
"node1": [100, 100, 100],
|
|
"limit": 75,
|
|
"dimensions": 3,
|
|
"auth": {
|
|
"authorization_key": "bellande_web_api_opensource"
|
|
}
|
|
}'
|
|
```
|
|
|
|
# BS(Bellande Step) Algorithm API
|
|
## Experiment 1 -- Limit = 1
|
|
|
|
|  *Figure 2D* |  *Figure 3D* |  *Figure 4D* |
|
|
|:------------------------------------------------------------:|:------------------------------------------------------------:|:------------------------------------------------------------:|
|
|
|  *Figure 5D* |  *Figure 6D* |  *Figure 7D* |
|
|
|  *Figure 8D* |  *Figure 9D* |  *Figure 10D* |
|
|
|
|
|
|
## Experiment 2 -- Limit = 25
|
|
|
|
|  *Figure 2D* |  *Figure 3D* |  *Figure 4D* |
|
|
|:-------------------------------------------------------------:|:-------------------------------------------------------------:|:-------------------------------------------------------------:|
|
|
|  *Figure 5D* |  *Figure 6D* |  *Figure 7D* |
|
|
|  *Figure 8D* |  *Figure 9D* |  *Figure 10D* |
|
|
|
|
|
|
## Experiment 3 -- Limit = 50
|
|
|
|
|  *Figure 2D* |  *Figure 3D* |  *Figure 4D* |
|
|
|:-------------------------------------------------------------:|:-------------------------------------------------------------:|:-------------------------------------------------------------:|
|
|
|  *Figure 5D* |  *Figure 6D* |  *Figure 7D* |
|
|
|  *Figure 8D* |  *Figure 9D* |  *Figure 10D* |
|
|
|
|
|
|
## Experiment 4 -- Limit = 75
|
|
|
|
|  *Figure 2D* |  *Figure 3D* |  *Figure 4D* |
|
|
|:-------------------------------------------------------------:|:-------------------------------------------------------------:|:-------------------------------------------------------------:|
|
|
|  *Figure 5D* |  *Figure 6D* |  *Figure 7D* |
|
|
|  *Figure 8D* |  *Figure 9D* |  *Figure 10D* |
|
|
|
|
|
|
## Experiment 5 -- Limit = 100
|
|
|
|
|  *Figure 2D* |  *Figure 3D* |  *Figure 4D* |
|
|
|:--------------------------------------------------------------:|:--------------------------------------------------------------:|:--------------------------------------------------------------:|
|
|
|  *Figure 5D* |  *Figure 6D* |  *Figure 7D* |
|
|
|  *Figure 8D* |  *Figure 9D* |  *Figure 10D* |
|
|
|
|
|
|
|
|
# Check Out Research Organization for open-source/semi-open-source API
|
|
- https://robotics-sensors.github.io
|
|
- Check out website for more information avaliable open-source API
|
|
|
|
# API in api_docs
|
|
- Temporarily Enabled for OpenSource
|
|
- 2D Space
|
|
- 3D Space
|
|
- 4D Space
|
|
- 5D Space
|
|
- 6D Space
|
|
- 7D Space
|
|
- 8D Space
|
|
- 9D Space
|
|
- 10D Space
|
|
|
|
|
|
# Can also checkout portion of the docs at [Portion API DOCS](https://github.com/Robotics-Sensors/bellande_robots_step/blob/main/api_docs.md)
|
|
### ✔️ confirmed versions
|
|
- `The step function efficiently computes the next step towards a target node within a specified distance limit.`
|
|
|
|
## Usage 2D Space
|
|
|
|
Suppose you have two nodes representing positions in a 2D space:
|
|
- `node0` at coordinates `(0, 0)`
|
|
- `node1` at coordinates `(5, 5)`
|
|
|
|
You want to compute the next step from `node0` towards `node1` while limiting the maximum distance to 3 units.
|
|
|
|
```python
|
|
# Define Import
|
|
from bellande_robot_step.bellande_robot_step_2d import bellande_step_2d, Node2D
|
|
|
|
# Define the nodes
|
|
node0 = Node2D(0, 0)
|
|
node1 = Node2D(5, 5)
|
|
|
|
# Compute the next step within a distance limit of 3 units
|
|
next_step = bellande_step_2d(node0, node1, limit=3)
|
|
|
|
# Output the coordinates of the next step
|
|
print("Next Step Coordinates:", next_step.coord)
|
|
```
|
|
|
|
## Usage 3D Space
|
|
|
|
Suppose you have two nodes representing positions in a 3D space:
|
|
- `node0` at coordinates `(0, 0, 0)`
|
|
- `node1` at coordinates `(5, 5, 5)`
|
|
|
|
You want to compute the next step from `node0` towards `node1` while limiting the maximum distance to 3 units.
|
|
|
|
```python
|
|
# Define Import
|
|
from bellande_robot_step.bellande_robot_step_3d import bellande_step_3d, Node3D
|
|
|
|
# Define the nodes
|
|
node0 = Node3D(0, 0, 0)
|
|
node1 = Node3D(5, 5, 5)
|
|
|
|
# Compute the next step within a distance limit of 3 units
|
|
next_step = bellande_step_3d(node0, node1, limit=3)
|
|
|
|
# Output the coordinates of the next step
|
|
print("Next Step Coordinates:", next_step.coord)
|
|
```
|
|
|
|
### Avaliable
|
|
- 2D Space
|
|
- 3D Space
|
|
- 4D Space
|
|
- 5D Space
|
|
- 6D Space
|
|
- 7D Space
|
|
- 8D Space
|
|
- 9D Space
|
|
- 10D Space
|
|
|
|
|
|
## Website
|
|
- https://pypi.org/project/bellande_robot_step
|
|
|
|
### Installation
|
|
- `$ pip install bellande_robot_step`
|
|
|
|
### Upgrade (if not upgraded)
|
|
- `$ pip install --upgrade bellande_robot_step`
|
|
|
|
```
|
|
Name: bellande_robot_step
|
|
Version: 0.3.0
|
|
Summary: Computes the next step towards a target node
|
|
Home-page: github.com/RonaldsonBellande/bellande_robot_step
|
|
Author: Ronaldson Bellande
|
|
Author-email: ronaldsonbellande@gmail.com
|
|
License: GNU General Public License v3.0
|
|
Requires: numpy
|
|
Required-by:
|
|
```
|
|
|
|
## Published Paper
|
|
```
|
|
Coming Soon
|
|
```
|
|
|
|
## License
|
|
This Algorithm or Models is distributed under the [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/), see [LICENSE](https://github.com/RonaldsonBellande/bellande_robots_step/blob/main/LICENSE) and [NOTICE](https://github.com/RonaldsonBellande/bellande_robots_step/blob/main/LICENSE) for more information.
|