Coder Social home page Coder Social logo

seanschneeweiss / rosemotion Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 7.0 35.42 MB

Hand Motion Capture from a 3D Leap Motion Controller for a Musculoskeletal Dynamic Simulation implemented in Python

License: MIT License

Python 36.53% Jupyter Notebook 36.12% CSS 0.08% HTML 0.87% JavaScript 1.22% C++ 10.92% SWIG 1.62% C# 11.18% CMake 1.47%
leapmotion bvh mocap anybody anypytools hand-tracking ulm-university c3d motion-capture joint-angles

rosemotion's People

Contributors

dependabot[bot] avatar saloc avatar seanschneeweiss avatar ypzhou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rosemotion's Issues

Already opened visualizer leads to PyWinAuto ElementAmbiguousError

If the visualizer is already opened, the GuiControl cannot maximize the window as two windows are identified (expected only a single window).

Traceback (most recent call last):
  File "app/main.py", line 9, in <module>
    main()
  File "app/main.py", line 5, in main
    LeapGui.run()
  File "E:\RoSeMotion\app\LeapGui.py", line 466, in run
    gui.set_windows_record()
  File "E:\RoSeMotion\app\GuiControl.py", line 24, in set_windows_record
    visualizer_dlg.maximize()
  File "E:\python372\lib\site-packages\pywinauto\application.py", line 396, in __getattribute__
    ctrls = self.__resolve_control(self.criteria)
  File "E:\python372\lib\site-packages\pywinauto\application.py", line 258, in __resolve_control
    criteria)
  File "E:\python372\lib\site-packages\pywinauto\timings.py", line 436, in wait_until_passes
    func_val = func(*args, **kwargs)
  File "E:\python372\lib\site-packages\pywinauto\application.py", line 203, in __get_ctrl
    dialog = self.backend.generic_wrapper_class(findwindows.find_element(**criteria[0]))
  File "E:\python372\lib\site-packages\pywinauto\findwindows.py", line 98, in find_element
    raise exception
pywinauto.findwindows.ElementAmbiguousError: There are 2 elements that match the criteria {'backend': 'win32', 'process': 3880}

Originally posted by @iamfoolberg in #12 (comment)

Update AnyPyTools

Should update AnyPyTools and use pip instead of copying to our own repository.
Then we can remove scipy from requirements.

Remove this deprecation:

app = AnyPyProcess(return_task_info=True,

wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" failed

Hi there, and thanks for your nice work.

But i got the "wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" failed" error, as following:

E:\RoSeMotion>python.exe app/main.py
Traceback (most recent call last):
  File "app/main.py", line 9, in <module>
    main()
  File "app/main.py", line 5, in main
    LeapGui.run()
  File "E:\RoSeMotion\app\LeapGui.py", line 460, in run
    LeapGui.parse_args()
  File "E:\RoSeMotion\app\resources\Gooey\gooey\python_bindings\gooey_decorator.py", line 83, in inner2
    return payload(*args, **kwargs)
  File "E:\RoSeMotion\app\LeapGui.py", line 420, in parse_args
    stored_args.save(parser.parse_args())
  File "E:\RoSeMotion\app\resources\Gooey\gooey\python_bindings\gooey_parser.py", line 113, in parse_args
    return self.parser.parse_args(args, namespace)
  File "E:\RoSeMotion\app\resources\Gooey\gooey\python_bindings\gooey_decorator.py", line 78, in run_gooey
    application.run(build_spec)
  File "E:\RoSeMotion\app\resources\Gooey\gooey\gui\application.py", line 15, in run
    app = build_app(build_spec)
  File "E:\RoSeMotion\app\resources\Gooey\gooey\gui\application.py", line 24, in build_app
    gapp = GooeyApplication(merge(build_spec, imagesPaths))
  File "E:\RoSeMotion\app\resources\Gooey\gooey\gui\containers\application.py", line 39, in __init__
    self.header = FrameHeader(self, buildSpec)
  File "E:\RoSeMotion\app\resources\Gooey\gooey\gui\components\header.py", line 33, in __init__
    self.layoutComponent()
  File "E:\RoSeMotion\app\resources\Gooey\gooey\gui\components\header.py", line 77, in layoutComponent
    PAD_SIZE)
wx._core.wxAssertionError: C++ assertion "!(flags & wxALIGN_CENTRE_HORIZONTAL)" failed at ..\..\src\common\sizer.cpp(2176) in wxBoxSizer::DoInsert(): Horizontal alignment flags are ignored in horizontal sizers

i‘ve installed the "Leap_Motion_4.0.0.exe", python3.7.2 and pluged the leap motion device.

About BVH

Can you share the code about converting 3D coordinate of hand to .bvh file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.