GithubHelp home page GithubHelp logo

Comments (8)

rsantos88 avatar rsantos88 commented on June 9, 2024 1

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.

PeterBowman avatar PeterBowman commented on June 9, 2024

Something like this?

from questions-and-answers.

jgvictores avatar jgvictores commented on June 9, 2024

@PeterBowman Probably, with emphasis on this. :-)

from questions-and-answers.

David-Estevez avatar David-Estevez commented on June 9, 2024

I see this has extended to issues too... ;)

from questions-and-answers.

jgvictores avatar jgvictores commented on June 9, 2024

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.

jgvictores avatar jgvictores commented on June 9, 2024

@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.

rsantos88 avatar rsantos88 commented on June 9, 2024

@jgvictores yes, for me it's ok. You can close it if you want ;)

from questions-and-answers.

jgvictores avatar jgvictores commented on June 9, 2024

Cool!

from questions-and-answers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.