vdwel / robotcontrol Goto Github PK
View Code? Open in Web Editor NEWA simple python library to control Dash and Dot robots on OSX and Linux
License: MIT License
A simple python library to control Dash and Dot robots on OSX and Linux
License: MIT License
Seems not to be working under ubuntu with bluez 5.37. The Adafruit BLE examples work fine. Connecting to dash establishes OK, but seems to get stuck at self.robotService = btdev.find_service(ROBOT_SERVICE_UUID) in robot.init()
I removed the self.btdev.discover() command, here's the console output, running as sudo:
starting example_treading
Using adapter: peter-1215B #1
Connected to Dash
self.robotService - this was a print command
self.commandChar - this was a print command
Traceback (most recent call last):
File "example_threading.py", line 74, in
ble.run_mainloop_with(main)
File "build/bdist.linux-x86_64/egg/Adafruit_BluefruitLE/bluez_dbus/provider.py", line 118, in _user_thread_main
File "example_threading.py", line 69, in main
dash = robot(getRobotDevice())
File "/home/peter/dev/Python/dash/robot.py", line 102, in init
self.commandChar = self.robotService.find_characteristic(COMMAND_CHAR_UUID)
AttributeError: 'NoneType' object has no attribute 'find_characteristic'
Still not working after last fix. I'll look into this later
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.