
.. image:: media/figures/web_dashboard.png
    :alt: B2 Webserver Dashboard
    :width: 100%
    :class: mbsrounded

|

The webserver module comes pre-installed and should be accessible directly at ``https://192.168.123.164:9000/``
or via the WiFi IP to which the robot is connected.

Login Credentials
-----------------

- **Username:** admin
- **Password:** mybotshop

Features
--------

- HTTP/HTTPS server with authentication
- VNC desktop streaming (1920x1080)
- ROS bridge WebSocket interface (port 9090)
- GPS waypoint management
- Service status monitoring
- Rosbag recording
- Dynamixel servo control sliders
- AI/LLM integration (optional)

Dashboard Features
------------------

- View IP Address of the B2W
- View System load
- Enable/Disable the B2W ROS2 Services
- Record System logs
- Battery status monitoring
- Pre-configured action buttons
- Web Joystick for teleoperation
- Online video stream (front and rear cameras)

Remote Desktop (VNC)
--------------------

- Access on-board screen of the B2W's computer
- **VNC password:** mybotshop
- VNC port: 6080

Console
-------

- Web-based terminal access
- Command execution interface

Navigation Indoor
-----------------

- Map visualization and navigation control
- Start/Stop SLAM
- Save maps
- Start/Stop Nav2

Navigation Outdoor
------------------

- GPS-based outdoor navigation
- Waypoint management
- No-Go zone configuration

Configuration
-------------

.. list-table::
   :widths: 50 50
   :header-rows: 0

   * - .. image:: media/figures/web_console.png
          :alt: Web Console
          :class: mbsrounded

     - .. image:: media/figures/web_vnc.png
          :alt: Web VNC
          :class: mbsrounded

   * - .. image:: media/figures/web_nav_indoor.png
          :alt: Indoor Navigation
          :class: mbsrounded

     - .. image:: media/figures/web_nav_outdoor.png
          :alt: Outdoor Navigation
          :class: mbsrounded

|

Configuration file: ``b2_webserver/config/robot_webserver.yaml``

.. code-block:: yaml

   web_server_ip: "0.0.0.0"
   web_server_port: 9000
   web_user: "admin"
   web_password: "mybotshop"
   robot_cmd_vel: "webserver/cmd_vel"
   robot_max_linear_velocity: 0.1
   robot_max_angular_velocity: 0.1
   robot_services:
     - "b2-twistmux"
     - "b2-hardware"
     - "b2-webserver"
     - "b2-rear-video"
     - "b2-front-video"
     - "b2w-description"
     - "b2-livox-mid360"
     - "b2-statepublisher"
     - "b2-domain-bridge"
     - "b2-pan-tilt"
