mathgaron / pyvicon Goto Github PK
View Code? Open in Web Editor NEWPython 3 wrapper over Vicon DataStream SDK (1.7.0 +)
License: GNU General Public License v3.0
Python 3 wrapper over Vicon DataStream SDK (1.7.0 +)
License: GNU General Public License v3.0
Thanks for your extraordinary work on vicon SDK with python3.
Do you have try your pyvicon in Windows?
I tried to do that. You guessed it, it didn't work.
Python interpreter told it could not open several .h and .lib files.
I found the same-name files from Nexus installation directory.
But I did not work.
So, would you try to change your pyvicon package to work on Windows? And add necessary include .h/.lib files? Thank you very much.
When I try to load into Mavproxy, pyvicon.py fails at line 1 "import pyvicon_module". Is that just a symbolic name for pyvicon.cpp? Where should that module be? Any help would be greatly appreciated.
Hi, I am trying to install pyvicon on macOS, but building 'pyvicon_module' extension keep failing, and it seems it is because it cannot link to libViconDataStreamSDK_CPP.dylib.
Although I played with it for more than a week from giving linking options to Extension package in setup.py to manipulating @executable_path of the .dylib files, I could not install it.
I wrote a simple Python program to grab coordinates of an object.
I'm doing a continual loop that looks like this:
while True:
vicon.get_frame()
t=vicon.get_segment_global_translation(subject,root_seg_name)
if t is None:
continue
x=t[0]/1000;
y=t[1]/1000;
z=t[2]/1000;
print("X: {0:.6f} Y: {0:.6f} Z: {0:.6f}".format(x,y,z))
time.sleep(.01)
After running for a period of time the call to get_frame fails with either a segmentation fault or
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Unfortunately, it appears to be happening in pyvicon.cpp at this line:
out = client->GetFrame();
I suspect this is internal to the Vicon SDK, But I don't know.
UPDATE:
Fixed by changing the client to Pull from PreFetch
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.