Code Monkey home page Code Monkey logo

e-puck2_main-processor's Introduction

e-puck2_main-processor

e-puck2 STM32F407 firmware

e-puck2_main-processor's People

Contributors

eliotferragni avatar gctronic avatar dburnier avatar

Stargazers

Srinath avatar Deepak Raj Purtushothaman avatar helpyourself avatar Xinrui Wu avatar Jérémy La Scala avatar Yue Gu avatar

Watchers

Antouan Anguelov avatar James Cloos avatar  avatar Xinrui Wu avatar

e-puck2_main-processor's Issues

Is the ChibiOS submodule's link broken?

url = https://git.wise-robotics.com/epuck2/ChibiOS.git

Hi.

The link of the ChibiOS submodule appears to be broken or something. After cloning the e-puck2_main-processor repo, the ChibiOS directory is empty and, therefore, the project cannot be built in eclipse. As an attempt to fix this, I went to the referenced url and searched for the submodule's commit, however, I could not find the f57f665 commit (?). As an alternative, I cloned the master branch of the referenced link and used it to replace the empty ChibiOS folder inside the cloned e-puck2_main-processor repo. Nevertheless, the building process still outputs some errors regarding files within the ChibiOS folder.

The repository's snapshot available at the e-puck2 wiki is working, yet, the version of the firmware is not the latest one (for instance, the selector ops in the snapshot's code appear to be different than the ones explained in the wiki).

I do not know if I am missing something here, but where else could I get the latest source code of the main processor firmware?

In advance, thank you for your attention.

Juan

motor.c : Manage the absolute min value of speed and explain the limit of speed change period in order to obtain an correct effect

Hi,
I spent some time scratching my head on why the robot was not moving, even tho I kept calling left/right_motor_set_speed(vitesse) in my main loop.
I'm not sure if the comment on line 314 meant that the problem was supposedly fixed or if it's known, but it seems that the problem is still present.
My workaround was to call X_motor_set_speed(vitesse) only if there is a change from the previous state.

I would suggest doing the same inside left_motor_set_speed(vitesse) and right_motor_set_speed(vitesse) unless the root cause can be addressed, as I couldn't find anything about this issue in the documentation

void motor_set_speed(struct stepper_motor_s *m, int speed)
{
[...]
    uint16_t interval;
    if (speed == 0) {
        m->direction = HALT;
        //Resolves a problem when the motors take about 650ms to restart
[...]

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.