Git Product home page Git Product logo

sphero-sdk-raspberrypi-nodejs's People

Contributors

alexistbell avatar anthonyv44 avatar cletusw avatar meganrobinson22 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sphero-sdk-raspberrypi-nodejs's Issues

Feature Request: Power Off endpoint

Hello! I just found out RVR supports shutdown commands via the UART port via here. Is there any chance we can receive an update to the power commands to include this functionality?

Swagger is inaccurate leading to 404s

When hitting endpoint /ledControl/setAllLedColor and a few other color related endpoints, my route 404s. Would appreciate advice in resolving this as I would like to have LED control over the RVR.

Error when invoking "sensorControl.startSensorStreaming(1000)"

When starting the dashboard, by running "npm run start" or "yarn run start", there is an error when the application sends a request to /api/v1.0/sensor/configureStreamingService/, ends up in a 400 bad request error:

URL: http://raspberrypi.local:2010/api/v1.0/sensor/configureStreamingService/1
Request method: PUT
Payload: {"token":3,"configuration":[0,10,1],"isResponseRequested":true}
Response: {"error":"Error in configureStreamingService while sending API Command: Response has error code 6 (Command Failed)."}

This can be reproduced without any customization to the dashboard's code base.

Device: Sphero RVR
Main Application Version:
Nordic: 8.3.432
ST: 8.6.448

Internal Sphero IP address is hard-coded into dashboard

In public/dashboard/src/App.js, an internal IP address (10.211.2.18) is hard coded into the example for determining which WebSocket to connect to. This address should instead be dynamic based on where the dashboard is loaded - ideally, using window.location.origin to auto detect the correct value if the dashboard is hosted on the same device connected to the RVR.

Random error Error: connect ETIMEDOUT 107.178.243.76:80

This error occurs after a node dist/server.js, testing some api-docs as reported below

info: DRIVE (0X16) >> Response -- Route: /drive/rawMotors/2 | Method: PUT
debug: DRIVE (0X16) >> Response -- Route: /drive/rawMotors/2 | Method: PUT | Device: Drive (0x16) (22) | Command: RawMotors (1) | SourceId: 1 | TargetId: 18 | Payload: 
events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT 107.178.243.76:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)
Emitted 'error' event at:
    at Socket.socketErrorListener (_http_client.js:392:9)
    at Socket.emit (events.js:189:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

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.