Coder Social home page Coder Social logo

mindsensors / pistorms Goto Github PK

View Code? Open in Web Editor NEW
27.0 9.0 17.0 11.76 MB

PiStorms code, libraries and setup.

Home Page: http://www.mindsensors.com/content/78-pistorms-lego-interface

Shell 0.68% Python 29.02% PHP 2.59% JavaScript 67.70% CSS 0.01%
mindstorms raspberry-pi

pistorms's People

Contributors

mindsensors avatar mindsensorssupport avatar seth10 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  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pistorms's Issues

Raspbian Stretch: Screenshots don't appear in web interface

Screenshots do appear in /var/tmp/ps_images/, but they do not appear in the web interface. Further, files such as /var/tmp/psmb.out are populated but the logs page still shows "[empty]" (the placeholder text). However, functions such as the Start Browser and Stop Browser buttons work, and the programs page does successfully list the current programs.

Calling `activateCustomSensorI2C` on too many ports causes issues

The explorer program made you use BAS1. I wanted to support all ports, so I changed it to

psm.BAS1.activateCustomSensorI2C()
psm.BAS2.activateCustomSensorI2C()
psm.BBS1.activateCustomSensorI2C()
psm.BBS2.activateCustomSensorI2C()

However, this causes issues. BAS1 and BAS2 work pretty reliably, but the bank B sensor ports are very spotty. Often the calls to GetFirmwareVersion, GetVendorName, or GetDeviceId would fail.

Having too many ports set to this mode can cause issues with load on the I2C bus. It is some electrical issue, a resistive issue, something with capacitance and the load on those lines. We currently do not know exactly why, but now this behavior is documented.

Python 3 support

Hi, these devices look awesome and I love that you can program them in Python.

Would love to use an asyncio event loop with this.

Any chance of supporting Python 3? Does PiStorms have dependencies which are not Python 3 compatible?

I have experience making polyglot libraries (i.e. same code base can b used from either Python 2 or Python 3 at same time). I'd be willing to help if it seems feasible.

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.