advrhumanoids / miscellaneousplugins Goto Github PK
View Code? Open in Web Editor NEWA repository for keeping common use plugins, example plugins, etc
A repository for keeping common use plugins, example plugins, etc
We should avoid to have 2 different branches for CENTAURO and WALK-MAN for the same set of plugins.
Hi all,
I use this issue to track the status of this plugin for the final WALK-MAN demo.
Today we experienced couple of behaviors that we may don't like.
For what regards these two points, maybe adding the waist_orient task (in the last commit of sprint_week_october) we are over-constraining the motion, furthermore this could result in a more complicated stack (that means that the solve takes more times and we brake the timing/RT).
From the point of view of context switch anyway looks everything fine.
Furthermore I found an issue with the joint velocity limits:
_joint_vel_lims.reset( new OpenSoT::constraints::velocity::VelocityLimits(qdotlims, 0.001) );
So I will suggest to remove the waist_orient task and check if the tracking of the height of the valve task goes better. Maybe we can also increase joint_velocity_limits (M_PI ?) and decrease the lambda of the Cartesian Tasks to 0.1.
We are also loggin the generated joint velocities so we can easily check if trajectories are smooth (if not I think we should remove the postural task).
Ciao @EnricoMingo, as you anticipated I report here the backtrace from XENOMAI:
/home/embedded/advr-superbuild/build/install/lib/libXCM.so.0.1.0(_ZN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE6resizeEll+0x4e)[0x7f5bad193cae]
/home/embedded/advr-superbuild/build/install/lib/libXBotInterface.so.0.1.0(_ZN5Eigen8internal24call_assignment_no_aliasINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEENS_9TransposeIKS3_EENS0_9assign_opIdEEEEvRT_RKT0_RKT1_+0x2c)[0x7f5baceefb4c]
/home/embedded/advr-superbuild/build/install/lib/libOpenSoT.so.0.2.0(_ZN7OpenSoT7solvers11QPOases_sot19computeCostFunctionERKN5boost10shared_ptrINS_4TaskIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEENS6_IdLin1ELi1ELi0ELin1ELi1EEEEEEERS7_RS8_+0x17b)[0x7f5b8b6f503b]
/home/embedded/advr-superbuild/build/install/lib/libOpenSoT.so.0.2.0(_ZN7OpenSoT7solvers11QPOases_sot5solveERN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE+0xca)[0x7f5b8b6f914a]
/home/embedded/advr-superbuild/build/install/lib/libOpenSotIk.so(_ZN11MiscPlugins9OpenSotIk12control_loopEdd+0x693)[0x7f5b8b999e43]
/home/embedded/advr-superbuild/build/install/lib/libXCM.so.0.1.0(_ZN4XBot13PluginHandler3runEv+0x8b3)[0x7f5bad190e13]
/home/embedded/advr-superbuild/build/install/lib/libXBotCoreThread.so(_ZN4XBot8XBotCore12control_loopEv+0x17)[0x7f5badff26a7]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(_ZN21Ec_Thread_Boards_base7th_loopEPv+0xb1)[0x7f5baddc00d1]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(_Z22rt_non_periodic_threadP11Thread_hook+0x6b)[0x7f5baddcba9b]
/usr/xenomai/lib/libpthread_rt.so.1(+0x5b7c)[0x7f5baf0fdb7c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7464)[0x7f5baecdc464]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f5ba721c30d]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(+0x107f6)[0x7f5baddc97f6]
/lib/x86_64-linux-gnu/libc.so.6(+0x33250)[0x7f5ba7168250]
/lib/x86_64-linux-gnu/libpthread.so.0(read+0x2d)[0x7f5baece514d]
/home/embedded/advr-superbuild/build/install/lib/libIkRosSMPub.so(_ZN11MiscPlugins13IkRosRtPlugin12control_loopEdd+0xb9)[0x7f5b8bbc9009]
/home/embedded/advr-superbuild/build/install/lib/libXCM.so.0.1.0(_ZN4XBot13PluginHandler3runEv+0x8b3)[0x7f5bad190e13]
/home/embedded/advr-superbuild/build/install/lib/libXBotCoreThread.so(_ZN4XBot8XBotCore12control_loopEv+0x17)[0x7f5badff26a7]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(_ZN21Ec_Thread_Boards_base7th_loopEPv+0xb1)[0x7f5baddc00d1]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(_Z22rt_non_periodic_threadP11Thread_hook+0x6b)[0x7f5baddcba9b]
/usr/xenomai/lib/libpthread_rt.so.1(+0x5b7c)[0x7f5baf0fdb7c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7464)[0x7f5baecdc464]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f5ba721c30d]
/home/embedded/advr-superbuild/build/install/lib/libecat_test_utils_rt.so.0.0.1(+0x107f6)[0x7f5baddc97f6]
/lib/x86_64-linux-gnu/libc.so.6(+0x33250)[0x7f5ba7168250]
/lib/x86_64-linux-gnu/libpthread.so.0(pthread_kill+0x2f)[0x7f5baece32df]
/usr/xenomai/lib/libxenomai.so.0(+0x2ad2)[0x7f5baeef4ad2]
/usr/xenomai/lib/libxenomai.so.0(__wrap_free+0x9)[0x7f5baeef4bd9]
@alaurenzi is the master on this.
Hi,
I'm new (and lost) in the use of XBotCore. Instead of directly asking a colleague at IIT, I open an issue such that other newcomers might benefit from its answer.
What do I want to achieve?
I want to develop a XBotCore Plugin, lets call it HelloXBotCore
(for simplicity)
What Am I Looking for?
A recipe which answers the following:
The first question is answered by browsing trough the examples in this repo. For example Homing.cpp
demonstrates all the functions needed to use the realtime loop.
Yet, this doesn't demonstrate how to use a plugin. For example, how to compile the plugin? I'm not able to compile the MiscellaneousPlugins repo on its own (It only (partly) compiles in the advr superbuild). What 'magic' does the superbuild add such that is able to compile? What does it take to compile HelloXBotCore
?
I understand the Wiki is still under development. I'm happy to contribute with a HelloXBotCore
tutorial, once I figured out the above. Until then, any hints to the above will be appreciated!
Martijn
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.