Hi, I did it already in the iOS client.
Take a look here : https://github.com/ppossemiers/crazyflie2-ios-client
Search found 15 matches
- Mon May 04, 2015 12:37 pm
- Forum: Developer Discussions
- Topic: Communicate with Crazyflie with BLE alt_hold
- Replies: 1
- Views: 2428
- Tue Apr 21, 2015 4:11 pm
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Looks very good! I especially like the start and stop functions. Two remarks : 1/ when in hover mode, normally you have to send the value of 32767 every 0,5 seconds at least to keep the altitude. Anything above or under will change the target to hold. I don't see where that value is actually sent wh...
- Tue Apr 21, 2015 7:56 am
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Hi Jordankid, I renamed the repository to 'crazyflie-ble' and shared it with you.
You can push your modifications to the master branch now.
You can push your modifications to the master branch now.
- Mon Apr 20, 2015 8:48 pm
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Hi, crazyflie-ble is a great name. I'll rename the repository likewise. I would suggest working on it a bit further before we publish it as an npm package. There is still a lot of functionality we should add - the TOC for instance - before it is seriously functional. We can decide on who publishes i...
- Mon Apr 20, 2015 5:31 am
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Well done! This is exactly what we need. About renaming the repository, I think you are right. We do need a shorter and catchier name. Any suggestions? One thing though : I don't think the repository should contain its dependencies. Having the node_modules dir in there is probably redundant, since y...
- Sun Apr 19, 2015 4:20 pm
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
A TOC is a Table of Contents. When the CF client starts up, it downloads a list of params with an identity. At this moment, the identity of the altitude hold param is 11, but this could change in a different version of the firmware. By downloading that list, the identity of the params is always up t...
- Sun Apr 19, 2015 11:00 am
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Hello, The noble library requires XCode because of some specific things that are installed on mac. I think that is the reason it doesn't work on Linux. Probably there are other libraries out there, but most of them are not open-source. I suggest we build the mac version first and in the meantime kee...
- Sun Apr 19, 2015 7:50 am
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
Re: NodeJS script to control CF with BLE
Great! All help will be greatly appreciated. I think the first thing that needs to be done, is implementing the TOC. At this moment, the code uses the hardcoded param value 11 for the hover, but this should be fetched from a downloaded TOC (like in the original python client). Other planned addition...
- Sat Apr 18, 2015 11:30 am
- Forum: Developer Discussions
- Topic: Crazyflie Chrome client
- Replies: 2
- Views: 3531
Re: Crazyflie Chrome client
Maybe Ionic is a good choice for the front-end.
It's very mature and can easily be deployed as an Android or iOS app.
It's very mature and can easily be deployed as an Android or iOS app.
- Tue Apr 14, 2015 2:41 pm
- Forum: Developer Discussions
- Topic: NodeJS script to control CF with BLE
- Replies: 15
- Views: 12312
NodeJS script to control CF with BLE
Hello all, as I was dissatisfied with my script in Python to control the CF with BLE (connecting in MacOSX is not easy, sometimes Bluetooth needs to be restarted), I decided to take a shot at writing the same functionality for Node.js. This proved to be very easy because of some existing libs : nobl...