-
Notifications
You must be signed in to change notification settings - Fork 17
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
Cannot access the gesture control in the web server #2
Comments
Pushed the missing functions, they should work now |
Sorry for the late update. I just try it again and there is a few things happen
|
Try running |
Hi,
This is the versions of the software that I used, in case you want to know, Node 8.11.3, Yarn 1.9.2, Python 2.7.15, and Anacondo instead of virtualenv Thank you, Edited: additionally, I tried it in both Firefox and Chrome. |
I'm running similar versions, apart from a slightly newer version of Node (10.7). You can't create new movements in Gesture Control, it's only there for playing gestures similar to typing them in the command line interface. I added the code for the Expo application so that you can control the robot using the phone and make / record new gestures: |
I downloaded the new code and tried to run it.
|
Pushed updates to the control files; I'm currently out of town so I don't have an actual robot to test with but it seems to not throw errors testing just the app connected to the server. To control the robot with the app, just move the phone around (screen up, with top of the screen pointing in the same direction as the front of the head so the robot should be facing away from you) and the head should follow the movements. The height and ears are controlled with the sliders. Press 'Reset Height' until the head and phone are aligned. You can also turn on 'Mirror' under 'Settings' to make it easier to control with the robot facing you instead of away. |
Hi,
I tried to access the gesture control in the web server, but it did not show anything. In the terminal that I used to start the robot, it showed those lines
[2018-07-16 19:05:27,595] ERROR in app: Exception on /sequences [GET] Traceback (most recent call last):
File "/home/zi/wp/blossom/venv/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request()
File "/home/zi/wp/blossom/venv/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e)
File "/home/zi/wp/blossom/venv/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb)
File "/home/zi/wp/blossom/venv/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request()
File "/home/zi/wp/blossom/venv/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args)
File "/home/zi/wp/blossom/blossom-public/src/server.py", line 170, in get_sequences seqs = server.master_robot.get_time_sequences()
AttributeError: 'SequenceRobot' object has no attribute 'get_time_sequences'
The robot work fine with all of the video example, it just show those errors whenever I clicked on the "Gesture Control"
Finally, I am using VMWare to run the code in Linux.
Thank you,
~Duy
The text was updated successfully, but these errors were encountered: