-
Notifications
You must be signed in to change notification settings - Fork 7
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
Raspberry Issues #14
Comments
Try building using my forked version https://github.com/hanbang-wang/sphero-project. You can reference build.sh (but don't directly execute it since I hard coded build directory). |
Nope, the same issue. At first yarn server says that it hasn't found bluetooth-hci and when I installed it the same error appears |
Did you follow every step and make sure you |
absolutely, also checked build.sh for reference. I hoped the apt install would have installed all that was needed for the Bluetooth part |
It might be worth you two doing a quick Google Hangout to walk through this issue?
… On Nov 26, 2019, at 3:41 PM, justanotherstark ***@***.***> wrote:
absolutelly
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I will try to install it on my laptop with windows, maybe I will have more luck |
Windows doesn't work for sure. Try installing docker and directly use my pre-wrote docker file. It should work with that on your RPI. |
Ok, with Docker the server works (YAY). |
After the docker starts running, you can just run python on your local machine and it should automatically connect to docker. |
Ok, running python and "from client import DroidClient" inside one of the folder that I downloaded shows this: Python 3.7.3 (default, Apr 3 2019, 05:39:12)
During handling of the above exception, another exception occurred: Traceback (most recent call last): IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy c-extensions failed.
Note: this error has many possible causes, so please don't comment on Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory Running it any other place (/home/pi) it won't find the module. I think I am missing something here, Am I suppose to git clone at all using Docker? |
This is a numpy issue. |
Ok, I searched on google and after a while, I tried these commands and now everything works. sudo apt install libffi-dev Thanks for the assistance from me and my little buddy Q5 |
Hi, I am trying to make this project work so that I can control my R2-Q5 from a Raspberry 4.
I solved a problem in yarn install with the dependency that wasn't for Linux (xpc-connection) and made it to rebuild by commenting a line in scanner.ts that had a problem with declarations (import { IToyDiscovered } from './scanner';).
After fighting with the bluetooth-hci module I managed to have everything ready but it still doesn't work.
Can someone help me?
This is the error:
sudo yarn server
yarn run v1.19.2
$ ts-node src/server
/usr/lib/node_modules/ts-node/src/index.ts:293
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/server.ts:1:40 - error TS2307: Cannot find module 'spherov2.js'.
1 import { Scanner, Stance, Utils } from 'spherov2.js';
~~~~~~~~~~~~~
src/server.ts:2:28 - error TS2307: Cannot find module 'spherov2.js'.
2 import { R2D2, R2Q5 } from 'spherov2.js';
~~~~~~~~~~~~~
src/server.ts:3:30 - error TS2307: Cannot find module 'spherov2.js'.
3 import { sounds_array } from 'spherov2.js';
~~~~~~~~~~~~~
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: