Git Product home page Git Product logo

Comments (2)

OpenHelios avatar OpenHelios commented on September 17, 2024

@chapados Thanks a lot for updating to firmware version 0x266e.

With the recently published pull request #27 on branch firmware-version-266e the turn method works (car use firmware 0x266e) after fixing the bug introduced with this pull request:

diff --git a/src/protocol.c b/src/protocol.c
index 0c5f3eb..0c00133 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -192,7 +192,7 @@ uint8_t anki_vehicle_msg_turn(anki_vehicle_msg_t *msg,

     anki_vehicle_msg_turn_t *m = (anki_vehicle_msg_turn_t *)msg;
     memset(m, 0, sizeof(anki_vehicle_msg_turn_t));
-    m->size = ANKI_VEHICLE_MSG_BASE_SIZE;
+    m->size = ANKI_VEHICLE_MSG_C2V_TURN_SIZE;
     m->msg_id = ANKI_VEHICLE_MSG_C2V_TURN;
     m->type = (uint8_t)type;
     m->trigger = (uint8_t)trigger;

from drive-sdk.

82MHz avatar 82MHz commented on September 17, 2024

@chapados Thanks for updating the sdk to work with the overdrive firmware!

I'm involved in this project: https://github.com/NoveroResearch/tragediy

We also noticed the bug mentioned by @OpenHelios regarding the turn message.

We were also wondering if there was any possibility of changing the behaviour of the vehicles in case they leave the track and try to find it again. Right now especially the vehicles with overdrive firmware run a lot of "rescue maneuvers", meaning they drive in circles or spin around their own axis etc., trying to find the track.
From our perspective this is not ideal and it would be great if this could be influenced or turned off somehow, so I wanted to ask if there is any way to influence this behaviour via an (undocumented) message.

from drive-sdk.

Related Issues (20)

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.