Git Product home page Git Product logo

leo_ui's Introduction

leo_ui

The repository contains User Interface as the default available on LeoOS.

The main functionalities include:

  • steering the robot
  • streaming the camera image
  • reading battery voltage
  • rebooting and shutting down
  • setting position on the servos connected to hServo ports

User Interface Communication

Comunnication betwen UI and ROS layer is provided by WebSockets. The UI uses JavaScript library called roslibjs to establish connection with rosbridge and provides publishing, subscribing, service calls and other essential ROS functionality.

Camera real-time view build-in UI is available through the web_video_server running as the default on LeoOS. The web video server package transform ROS image topic that can be accessed via HTTP.

alt text

LeoOS default setup

As a default UI is hosted by the 'nginx' server installed on LeoRovers. To open UI use any Web browser and type your Rover IP address. In the case of connecting directly to the access point, the IP address is '10.0.0.1'

UI development

The User Interface folder in LeoOS file system is placed in '/opt/leo_ui' folder. If you would like to make some changes to the default UI you can edit files directly in that folder.

Before editing the UI code, read about ;-)

leo_ui's People

Contributors

andreagavazzi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.