awesomebytes / dmp_gestures Goto Github PK
View Code? Open in Web Editor NEWGesture learning and execution via DMPs
Gesture learning and execution via DMPs
While rosbag record writes at 50Hz the /joint_states topic.
Maybe there is too much checking code in my loop here:
https://github.com/awesomebytes/dmp_gestures/blob/master/dmp_gestures/src/dmp_gestures/dmp_training.py#L151
It still works fairly well but I don't like this behaviour.
Plotting the velocities of recorded and generated trajectories is not done.
Should extend the class:
https://github.com/awesomebytes/dmp_gestures/blob/master/dmp_gestures/src/dmp_gestures/dmp_generation.py#L307
A gesture like crowd_salute generates trajectories of 600 points with 12s of duration which needs 3s~ to be checked.
Proposed solution:
Slice the trajectories in parts that can be computed while executing and send the parts.
Implementation failed because the execution service that manages what trajectories send to what controllers stops the current trajectories when sending a new one and they can't be queued up. Waiting for the last one to finish to send the next one does not work because of the delay of making the call (and probably the low level controllers make the joints stop anyways, but I don't know this for sure).
There is jerkiness present in the trajectories when plotting them. When executing them on the simulated robot they don't seem to be present but maybe filtering them would be a good idea.
FIR Filter as in this example could be used:
This has been found out to be because by default many motions include all the joints (even a wave that only moves right arm) which increases the number of joints to compute everything from 7 to 18.
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.