Giter Site home page Giter Site logo

cabot-ble-server's People

Contributors

aksgibm avatar daisukes avatar miyazakifuki avatar muratams avatar tatsuya-ishihara avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

aksgibm

cabot-ble-server's Issues

ROS2 migration

  • after testing and merging the PR #4
  • migrate this repo for ROS2
    • unlike ROS1 implementation, we can use ROS2 directory without using rosbridge_suite
    • we can use rosbrigde_suite, but currently we have a critical bug in communication between ROS1 rosbridge server (reconnection issue)

BLE server is not stable

BLE transport is implemented on its own library (dgatt) based on DBus bluez interface.

There is a new library called bleak, which also uses DBus bluez for linux.
https://github.com/hbldh/bleak

It would be better to use a maintained library for the lower layer.

TCP transport is better to use websocket instead of long polling

The current combination of cabot-app and cabot-ble-server uses HTTP long polling as a TCP transport.

The server side needs to allow CORS (cors_allowed_origins) to let the app use websocket transport.

Also, the current implementation uses Flask with threading async mode.
It outputs a warning saying

werkzeug - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

We may be able to use ASGI server implementation such as Uvicorn to run both BLE/TCP with asyncio.

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.