Giter Club home page Giter Club logo

rws's Introduction

Robot web server

A web server that runs on a robot running ROS. It provides a platform for people to deploy web apps using Robot web tools.

Robot web server running on a desktop web browser

Robot web server running on a mobile web browser

For more information on how to install RWS and create apps for it, visit the RWS wiki.

rws's People

Contributors

csu avatar jstnhuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rws's Issues

Implement single-user system

Only allow one person to use the robot at a time. If a user logs in while another user has the robot, then they will see a waiting screen, showing who is using the robot. They can have the option of stealing the robot. If the robot is free, then they skip the waiting screen and go straight to the app.

If a robot is stolen from a user, then the next time that user navigates to a page, they should be redirected to the waiting screen. The site could also periodically check whether the current user still has a claim on the robot (once every ~1-2 minutes).

Side nav behavior

  • There is always a menu ("hamburger") button in the top toolbar
  • If the viewport is large, the side nav appears by default, but can be hidden by tapping the menu button
  • If the viewport is small, the side nav is hidden by default, but can be shown/hidden by tapping the menu button

Top-level navigation for apps

See if there's a way for apps (within their iframes) to update the URL bar as the user navigates through an app. If a URL is accessed directly, then RWS should pass the data to the app, which can handle it.

Story

  • User opens app, URL bar is robot.com/app/code_it
  • User opens a CodeIt! program, URL bar is robot.com/app/code_it/1234
  • User shares the URL with someone else
  • Second user loads that URL. RWS loads CodeIt! and passes the /1234 part of the URL to the app
  • The app decides to open program ID 1234

PR2 bringup requires two reloads

After starting the web server with sudo apache2ctl stop and sudo apache2ctl start, the first time you visit the website, the bringup will fail with a run_id on parameter server does not match declared run_id error. The second time you load the webpage, the bringup works, however.

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.