e-puck2 STM32F407 firmware
e-puck2 / e-puck2_main-processor Goto Github PK
View Code? Open in Web Editor NEWe-puck2 STM32F407 firmware
e-puck2 STM32F407 firmware
e-puck2_main-processor/.gitmodules
Line 6 in d7dafe1
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
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
[...]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.