Coder Social home page Coder Social logo

moti's People

Contributors

ilogat avatar ladislas avatar luanferrari avatar madratman avatar melki 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moti's Issues

Implement debug system

Currently we are using Serial.print() for debugging.

We need a debug system that can be turned off when not in used to save space.

Write tests

We need to write tests for every lib/module, just the bare minimum, to keep track of API changes and to make sure stuff compiles.

Apply consistent methode naming convention to the modules

Right now, depending on the module, the naming conventions differs.

We should have:

  • Module::init() - to initialise the thread
  • Module::start() - to start what the thread must do
  • Module::stop() - to stop what the thread must do

Implement angle in DriveSystem

Same as #47 but with angle for `spin()``

It would be great to do:

robot.spin(RIGHT, 180, 540); // the robot does a spin a 540° (1,5 rotation)

Bug with Light::fade()

It seems like Light::fade() doesn't do great when asked to go backward and forward.

I'll try to reimplement the last version to make some tests.

Add continuous integration testing

As the libs and API are currently changing a lot, compiling every behaviors/app is cumbersome and time consuming.

Using CI save us time and help us focus on what's not working.

Please note that compilation doesn't mean that it will work on the robot...

accelerate/decelerate

maybe it would be better to create one ore two separates methods to accelerate or decelerate.

Implement time in DriveSystem

For now, DriveSystem methods only set the direction and speed of the robot, but no duration.

I think it would be great to be able to do:

robot.go(FORTH, 180, 2000); // the robot goes forth for 2 seconds.

Sensors with RTOS not working

Using the sensors class in a thread doesn't give any results, no output are serial printed.

the strange thing is that everything works fine with the motors.

must investigate

wp-melki

est-ce qu'on peut la supprimer ? :)

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.