kumarrobotics / motion_capture_system Goto Github PK
View Code? Open in Web Editor NEWDrivers for motion capture systems (Vicon and Qualisys, can be extended to compatible with other mocap systems)
License: Apache License 2.0
Drivers for motion capture systems (Vicon and Qualisys, can be extended to compatible with other mocap systems)
License: Apache License 2.0
Instead of setting CMAKE_CXX_FLAGS
directly, we should use features in newer cmake versions for enabling C++11 support. See #11 for some discussion.
The only thing stopping this right now is support for Ubuntu 14.04 which has older version of cmake (v2.8.12), so this should be done after EOL for that Ubuntu release.
When loading models in Qualisys while the node was running, the Qualisys node crashed with the error:
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
Hi,
Thanks for sharing! I am using your code to get the data from the qualisys mocap and many times I get the output "[ WARN] [1450178660.490998011]: Lose track of subject crazyflie" even though the mocap still outputs the correct values all the time, from what I can see. I was wondering if there was anything I could do regarding this issue?
Also, when setting up the parameters in qualisys.launch, I choose port "22223" but for some reason, it is displayed port 22222 when running the code as
"[ INFO] [1450179306.041624629]: Connecting to the Qualisys at: IP_ADDRESS:22222
QTM RT Interface connected
Version set to 1.7". If I try to change the value nh.param("server_base_port", base_port, 22222); in the QualisysDriver.cpp, to 22223 then I cannot connect to the mocap system.
Another question, is it that the default measurements are 6DOF with Euler angles?
I am running ROS Jade on Ubuntu 14.04 and I am using a crazyflie quadrotor.
Thanks for the help!
Creating and destroying threads at each frame seems like a lot of overhead, maybe can keep the threads running and signal it when new data arrives.
Is it possible to add a parameter to the driver so that it disables the filter and publishes a PoseStamped message?
Say I'm only interested in position and orientation but not velocity.
I updated from Ubuntu 16.04 to 18.04. Since my compiler is now gcc version 7.3.0, this error appears:
/home/james/Programming/ROS/main_ws/src/motion_capture_system/mocap_qualisys/include/mocap_qualisys/RTProtocol.cpp: In member function ‘bool CRTProtocol::GetState(CRTPacket::EEvent&, bool)’:
/home/james/Programming/ROS/main_ws/src/motion_capture_system/mocap_qualisys/include/mocap_qualisys/RTProtocol.cpp:458:54: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (ReceiveRTPacket(eType, false) == false)
^~~~~
Apparently you can't compare pointers to integers.
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.