Coder Social home page Coder Social logo

Comments (6)

elen4 avatar elen4 commented on July 17, 2024

I just noticed that the segfault does not occur when adding
os.exit()
at the end of the script

from yarp.

paulfitz avatar paulfitz commented on July 17, 2024

Thanks for reporting this @elen4. I'd say there is a genuine issue (in cleanup of icub driver factories), the call to os.exit() would just forcibly abort the program and make sure destructors were never called. Will work on a solution.

from yarp.

drdanz avatar drdanz commented on July 17, 2024

@elen4 Is this still an issue or can we close this?

from yarp.

elen4 avatar elen4 commented on July 17, 2024

I don't know, and unfortunately I do not have a setup to test it now 😟
I assume that nobody is using Lua bindings with the iCub at the moment and this issue is therefore not relevant, but unless drivers cleanup has been checked/fixed as a consequence of recent work on plugins, I don't think this has been addressed. I'd leave this open until someone ( @paulfitz ? 😀 ) can test this.

from yarp.

paulfitz avatar paulfitz commented on July 17, 2024

Any icub-savvy person available to test? @apaikan?

from yarp.

apaikan avatar apaikan commented on July 17, 2024

iCub Lua binding is not necessary any more and the robot can be directly controlled via Yarp interfaces using yarp-lua binding (i.e., lua/yarp.so).

here is the example for opening a Cartesian controller interface with the robot using Lua:

require("yarp")

-- initialize yarp network
yarp.Network()

option = yarp.Property()
option:put("device","cartesiancontrollerclient");
option:put("remote","/icubSim/cartesianController/right_arm");
option:put("local","/client/right_arm");
cartCtrl = yarp.PolyDriver(option)
...

from yarp.

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.