-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some minor fixes #20
Open
tenbergen
wants to merge
116
commits into
adessoSE:master
Choose a base branch
from
tenbergen:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
some minor fixes #20
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modifications: server.js - updated to reference read and write characteristics of vehicles by array slot rather than search for them. Some Node versions don’t like the lambda search. build.gradle - updated to add a gradle task to start server. ./gradlew ndm_start wouldn’t keep the server alive. Now, ./gradle server will. README.md - updated to reflect new usage of NodeJS server bluetooth gateway. Also added main class AnkiConnectionTest.java to try out the API. AnkiConnectionTest.java - added to illustrate usage and step-by-step instructions to get some example communication going with a vehicle. AnkiConnector.java - commented-out if-statement in void connect(Vehicle) method responsible for error-handling. This caused the connection with the bluetooth gateway to fail because the bluetooth gateway sometimes likes to timeout upon first connection. Removing this should fix that (at the expense of error handling, at the moment). Model.java - updated for new ANKI Supertrucks “Freewheel” and “X52Ice.” Added placeholder for currently known, but untested models (i.e. X52 is probably 0x10 and 0x12 exists, but no clue what it is).
Travis build fails because Node.js 4 and 5 support are dropped from later Node.js versions, but Travis CI uses current Node.js version. This should fix it. Tested locally and runs, but that of course means nothing.
Travis CI builds on Linux, for which optional dependency node-usb1.3.3 isn’t available. Build will fail. Telling travis to install libudev-dev will hopefully fix this.
trying to force libudev install before gradle building on linux. also some minor commenting things.
trying to force libudev install before gradle building on linux… just for JitPack
still fighting with jitpack to build this thing
still fighting with jitpack to build this thing
so I made one. Same as .travis.yml
fixed jitpack build
fixing jitpack build
fixing jitpack build
jitpack documentation is very sparse...
updating gradle node plugin
updating grade version to 4.10.2
updating gradle to 4.10.2
adding apt-get travis-CI style without sudo
manifested build OS
manifested build OS
forcing mkdirp
unforcing mkdirp
fixing travis build
added turn message info
…om Fraunhofer IESE
…om Fraunhofer IESE
…om Fraunhofer IESE
…om Fraunhofer IESE
Added new vehicles: - Fast & Furious Edition Ice Charger - Fast & Furious Edition Intl. MXT - NUKE Phantom - X52 Supertruck - unknown model 0x0d Added support in Vehicle.java to handle unknown models. Added edu.oswego.cs.CPSLab.anki.FourWayStop.* for CSC436 Spring 2019 semester project.
New release for anki-drive-java
…me helper methods, too, for convenience.
RoadmapScanner no longer moves cars but instead robustly recognizes Roadpieces and creates Roadmaps. Added helper functions to manipulate and compare Roadmaps. Added facility to save and restore Roadmaps to/from disk.
Latest merge
Can now "normalize" the lists of pieceIDs and reverses
Added features to keep track of road pieces in a Roadmap to RoadmapScanner
go tcp/bluetooth server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modifications:
server.js - updated to reference read and write characteristics of
vehicles by array slot rather than search for them. Some Node versions
don’t like the lambda search.
build.gradle - updated to add a gradle task to start server. ./gradlew
ndm_start wouldn’t keep the server alive. Now, ./gradle server will.
README.md - updated to reflect new usage of NodeJS server bluetooth
gateway. Also added main class AnkiConnectionTest.java to try out the
API.
AnkiConnectionTest.java - added to illustrate usage and step-by-step
instructions to get some example communication going with a vehicle.
AnkiConnector.java - commented-out if-statement in void
connect(Vehicle) method responsible for error-handling. This caused the
connection with the bluetooth gateway to fail because the bluetooth
gateway sometimes likes to timeout upon first connection. Removing this
should fix that (at the expense of error handling, at the moment).
Model.java - updated for new ANKI Supertrucks “Freewheel” and “X52Ice.”
Added placeholder for currently known, but untested models (i.e. X52 is
probably 0x10 and 0x12 exists, but no clue what it is).