414 |
415 | | Parameter |
416 | Type (unit) |
417 | Meaning |
418 |
419 |
420 | | maxNeighbors |
421 | size_t |
422 | The maximum number of other agents the agent takes into
423 | account in the navigation. The larger this number, the
424 | longer the running time of the simulation. If the number is
425 | too low, the simulation will not be safe. |
426 |
427 |
428 | | maxSpeed |
429 | float (distance/time) |
430 | The maximum speed of the agent. Must be non-negative. |
431 |
432 |
433 | | neighborDist |
434 | float (distance) |
435 | The maximum distance (center point to center point) to
436 | other agents the agent takes into account in the
437 | navigation. The larger this number, the longer the running
438 | time of the simulation. If the number is too low, the
439 | simulation will not be safe. Must be non-negative. |
440 |
441 |
442 | | position |
443 | RVO::Vector2 (distance, distance) |
444 | The current position of the agent. |
445 |
446 |
447 | | prefVelocity |
448 | RVO::Vector2 (distance/time, distance/time)
449 | |
450 | The current preferred velocity of the agent. This is the
451 | velocity the agent would take if no other agents or
452 | obstacles were around. The simulator computes an actual
453 | velocity for the agent that follows the preferred velocity
454 | as closely as possible, but at the same time guarantees
455 | collision avoidance. |
456 |
457 |
458 | | radius |
459 | float (distance) |
460 | The radius of the agent. Must be non-negative. |
461 |
462 |
463 | | timeHorizon |
464 | float (time) |
465 | The minimal amount of time for which the agent's velocities
466 | that are computed by the simulation are safe with respect
467 | to other agents. The larger this number, the sooner this
468 | agent will respond to the presence of other agents, but the
469 | less freedom the agent has in choosing its velocities.
470 | Must be positive. |
471 |
472 |
473 | | timeHorizonObst |
474 | float (time) |
475 | The minimal amount of time for which the agent's velocities
476 | that are computed by the simulation are safe with respect
477 | to obstacles. The larger this number, the sooner this agent
478 | will respond to the presence of obstacles, but the less
479 | freedom the agent has in choosing its velocities.
480 | Must be positive. |
481 |
482 |
483 | | velocity |
484 | RVO::Vector2 (distance/time, distance/time)
485 | |
486 | The (current) velocity of the agent. |
487 |
488 |
489 |
490 |
491 | \page terms Terms and Conditions
492 |
493 |