Comments (8)
Option 2: Use yarpdatadumper (related) to record the full trajectory. Then use stuff from our tools repository. Specifically, you'll want the PlaybackThread. You can find an example of use at examplePlaybackThread and its corresponding test.
An example to record the left arm trayectory of Teo:
- Terminal 1: run launchManipulation
- Terminal 2: run yarpdatadumper --name /log (the file will be saved in /log directory)
- Terminal 3: yarp connect /teo/leftArm/state:o /log
the acquisition will start.
By pressing CTRL+C the acquisition is terminated.
from questions-and-answers.
Something like this?
from questions-and-answers.
@PeterBowman Probably, with emphasis on this. :-)
from questions-and-answers.
I see this has extended to issues too... ;)
from questions-and-answers.
Esentially, you'll want some gravity compensation to help out. That's [gcmp]
off the BasicCartesianControl
:
http://robots.uc3m.es/dox-kinematics-dynamics/group__BasicCartesianControl.html
Option 1: Manually grab some "waypoints" and then create a program. For instance, in the joint space, do some yarp rpc /robotName/manipulatorName/rpc:i
to get joint positions you can later use in your program as in this example or similar.
Option 2: Use yarpdatadumper (related) to record the full trajectory. Then use stuff from our tools repository. Specifically, you'll want the PlaybackThread. You can find an example of use at examplePlaybackThread and its corresponding test.
Note: There are several alternatives to these approaches, but these are kind of nice. yarpmanager has some record/playback facilities, but I haven't really tried them. Additionally, yarpdataplayer does some playback, but for me it's nice to have something like what we have in the previously mentioned tools repository because it is a small library that can be used independently and is not coupled with any graphical interface.
from questions-and-answers.
@rsantos88 I'd enjoy some feedback on this! Good to close the issue? Maybe we should document this somewhere (teo-software-manual is looking pretty abandoned)?
from questions-and-answers.
@jgvictores yes, for me it's ok. You can close it if you want ;)
from questions-and-answers.
Cool!
from questions-and-answers.
Related Issues (20)
- YCM 0.10 upgrade path HOT 9
- Make dox target via YCM goodies HOT 9
- Unit tests and unsatisfied dependencies lead to compilation failure HOT 1
- Embrace hooks HOT 3
- Bump required YCM version (v0.10+) HOT 4
- YARP 3.0 upgrade path HOT 5
- Update CMake/YCM export options HOT 10
- [GitHub] Git LFS disabled for roboticslab-uc3m HOT 2
- Centralize Travis scripts HOT 4
- Changes to git branch policy in YARP/YCM HOT 8
- Drop dual master-develop branching in favor of a single prod branch HOT 10
- Review installation-related snippets in Markdown docs HOT 1
- Using YARP's internal logging instead of color-debug HOT 15
- Migrate to GitHub Actions HOT 24
- Add C++ examples to main build HOT 7
- Update links to GitBook project instances on legacy servers HOT 3
- Portmonitors renamed at YARP >= 3.5 HOT 1
- Update links pointing at new subdomain HOT 4
- sp_ineachdb and also sp_msforeachDB return only 50 records instead of hundreds HOT 3
- Randomization problems with JsPsych HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from questions-and-answers.