Skip to content

Commit

Permalink
docs improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Jul 2, 2023
1 parent e27a1d2 commit 6d032a2
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ MVSim: a lightweight MultiVehicle Simulator
first-steps
architecture
world
mvsim-cli
physics
extending
C++ API <doxygen/html/modules.html#http://>
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ From ROS 1 or ROS 2 repositories

**Recommended**: This is probably the easiest way to install MVSim and all the example files.

In Debian/Ubuntu systems, activateyour ROS environment (``setup.bash``) if not done automatically
In Debian/Ubuntu systems, activate your ROS environment (``setup.bash``) if not done automatically
in your ``~./bashrc`` file, then just run:

.. code-block:: bash
Expand Down
14 changes: 14 additions & 0 deletions docs/mvsim-cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
mvsim cli
===================

The command-line interface (cli) application ``mvsim`` is the main
entry-point to run, query, or modify a running simulation from a
command line terminal.

.. note::
The ROS node is a different cli application, named ``mvsim_node`` instead.



Write me!

14 changes: 12 additions & 2 deletions docs/world_gui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ Available parameters under the global ``<gui> ... </gui>`` tag (all are optional
cost. Publication of sensor readings, odometry, etc. is not affected at all by this parameter.

- ``<show_sensor_points>true</show_sensor_points>``. If enabled (default),
obstacle readings will be visible in the GUI as pointclouds.
obstacle readings (RGBD cameras, 2D or 3D Lidars, etc.) will be visible as point clouds.
This option can be also dynamically switched from the UI:

.. raw:: html

<video controls autoplay loop muted> <source src="https://mrpt.github.io/mvsim-models/anims/mvsim-docs-gui-view-pointclouds.mp4" type="video/mp4"> </video>

- ``<headless>false</headless>``. If enabled, MVSim will run without
any interactive GUI. Useful to save some CPU/GPU usage or to run
Expand All @@ -23,7 +28,12 @@ Available parameters under the global ``<gui> ... </gui>`` tag (all are optional

- ``<show_forces>false</show_forces>`` and ``<force_scale>0.01</force_scale>``. If
``show_forces`` is set to ``true``, reaction forces will be visible as thin lines, using
the given scale in meters/Newton.
the given scale in meters/Newton. This option can be also dynamically switched from the UI:

.. raw:: html

<video controls autoplay loop muted> <source src="https://mrpt.github.io/mvsim-models/anims/mvsim-docs-gui-view-forces.mp4" type="video/mp4"> </video>


- ``<ortho>false</ortho>``. If set to ``true``, the GUI will show an orthographic view
of the world. Otherwise, it will use a standard perspective camera.
Expand Down

0 comments on commit 6d032a2

Please sign in to comment.