Skip to content
Snippets Groups Projects
Commit 77da8c09 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

Correct doc

parent c0340f7f
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ Overview
Close-loop agent
****************
Online rendering
================
.. autoclass:: navipy.moving.agent.CyberBeeAgent
......
......@@ -29,12 +29,12 @@ To control, an agent, the Brain should have a function called velocity.
For example, an stationary agent should always return a null velocity.
.. literalinclude:: example/brain/static_brain.py
:lines: 3,7-15
:lines: 3,9-17
An agent using an average skyline homing vector, could be build as follow
.. literalinclude:: example/brain/asv_brain.py
:lines: 3,7-34
:lines: 4-5,11-36
"""
from navipy.database import DataBaseLoad
......
......@@ -7,6 +7,7 @@ A standard method to move an agent is to update:
2. deduce the agent motion :math:`vdt` from this information
3. displace the agent by motion ( :math:`x \rightarrow x + vdt`)
The use of a close loop model including visual rendering is \
sometimes too slow to efficiently test several models or tune the \
parameters of a given models. The GridAgent solves this problem by \
......
......@@ -146,6 +146,8 @@ GridAgent is a close loop agent here its position is snap to a grid.
GridAgent inherit from the Process \
class of the multiprocessing module of the standard python \
library. Thus, several GridAgents can safely be run in parallel.
"""
def __init__(self, brain,
......@@ -249,6 +251,8 @@ class GraphAgent():
1. pre-rendered scene from a database to derive \
the agent motion, or
2. pre-computed agent-motion
"""
def __init__(self, brain):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment