Comments (2)
@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.
@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)
- test_suite.c lacks copyright/licensing info
- test_vehicle_advertisement.c lacks copyright/licensing info
- Remove un-needed examples/vehicle-scan/Makefile
- Remove un-needed examples/vehicle-tool/Makefile
- What's SDK mode? HOT 2
- No description for all cars answers HOT 6
- Please tag 0.1 version
- README claims Mac compatibility but examples do not compile HOT 3
- Anki-dev group closed? HOT 2
- Programming Guide link broken
- Can't read any data from vehicles
- anki_vehicle_light_config limits cycles_per_minute to 11
- Car Goes Crazy HOT 3
- Error: Discover primary services by UUID failed: Internal application error: I/O HOT 2
- road_piece_idx always returns 0 & it's not documented
- Turning command LEFT and RIGHT don't do anything HOT 1
- test_ble.cpp lacks copyright/licensing information
- test_ble_advertisement.c lacks copyright/licensing info
- test_protocol.c lacks copyright/licensing info
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drive-sdk.