Giter VIP home page Giter VIP logo

pyicub's People

Contributors

ddetommaso avatar dependabot[bot] avatar github-actions[bot] avatar nicolasr3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyicub's Issues

PolyDriver close

For each PolyDriver instantiated we need to include a close method possibly in the destructor of the related class

No such file or directory: logs

Problem:

Whenever I run a script with iCub and logged enabled, it will crash if there is no "logs" folder:
Screenshot from 2022-05-30 10-02-41

Solution:

add a default "logs" folder in the repo?

Running programs that use the YARP language bindings?

When I want to run programs that use the YARP language bindings, I find the following instructions.
What is the meaning of the following instruction?
How do I need to operate specifically?

https://www.yarp.it/yarp_swig.html#yarp_swig_configure
There are basic examples in the "bindings" subdirectory of the YARP source code for all the supported languages. There are a few important things to be aware of:

When you compiled the bindings, a shared library (.so/.dll/.pyd/...) was created. This library needs to be in your operating system's library path. On Linux, if you are in the build directory, you can do something like one of:

setenv LD_LIBRARY_PATH $PWD:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH

On Windows, you can update your PATH environment variable.
When you compiled the bindings, one or many wrapper files may have been produced in your language of interest. These files will need to be in whatever path is appropriate to guide your language's interpreter/compiler/... to find them.

BufferedPort close

BufferedPort class needs a method for closing the ports.

This closing method has to be called in the destructor of the BufferedPort class.

Unclear to start a connection?

Starting a connection
To iCub simulation (by default hard-coded as /icubSim)

icub = iCub(ROBOT_TYPE.ICUB_SIMULATOR, logtype="DEBUG")
To an actual iCub:

icub = iCub(ROBOT_TYPE.ICUB, logtype="DEBUG")

Whare do I need to type the above? On terminal?
Or which file?
Could you introduce more details?

waitMotionDone: position controller

required fix for using properly the timeout parameter.

at line 71:
change WAITMOTIONDONE_PERIOD from 0.01 to 0.1
Screenshot from 2022-03-01 14-43-43

or

at line 233:
change for loop with a while loop checking the real time and not the "max_attempts"
Screenshot from 2022-03-01 14-46-21

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.