Giter VIP home page Giter VIP logo

naoqisim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

naoqisim's Issues

Which Version of Simulator SDK?

here can I download the latest version of the Simulator SDK?
The only one I could find was simulator-sdk-2.1.2.17-win32-vs2010, and it gives the following error:
1>d:\fady\simulator-sdk-2.1.2.17-win32-vs2010\include\qi\path.hpp(50): warning C4251: 'qi::Path::_p': class 'boost::shared_ptrqi::PrivatePath' needs to have dll-interface to be used by clients of class 'qi::Path'
1>d:\fady\simulator-sdk-2.1.2.17-win32-vs2010\include\qi\path.hpp(49): note: see declaration of 'boost::shared_ptrqi::PrivatePath'
1>d:\fady\naoqisim\controllers\naoqisim\singletons.cpp(81): error C2660: 'Sim::SimLauncher::launch': function does not take 5 arguments
1>d:\fady\simulator-sdk-2.1.2.17-win32-vs2010\include\alsimutils\sim_launcher.h(34): note: see declaration of 'Sim::SimLauncher::launch'

I could compile it by removing the last parameter of the line:
return mLauncher->launch(mModel, naoqiPort, wbu_system_short_path(sdkPrefix.c_str()), std::vectorstd::string(), halInitializedCallback);

But it doesn't look like I have the same version of naosim used here

Cartesian motion infeasible when trying to make NAO move.

Using:
Webots R2019a Revision 1
Ubuntu 18.04
Python 2.7.15 :: Anaconda, Inc.

I ran the nao walk examples from aldebaran docs. When I run the script, the robot seems to get in a ready state but it does not move. I am getting a lot of error messages in the console regarding infeasible cartesian motion.
I am providing all the webots console logs below.

naoqisim init
on running script

Also the script that I'm trying to run:
nao_walk.py

Simulated NAO not moving

Hi,
I am using:
Webots R2019a Revision 1
Ubuntu 18.04
Python 2.7.15 :: Anaconda, Inc.

I am able to have the simulated NAO showing up.
Screenshot from 2019-03-21 12-09-33

However, when command is sent from both python or Choregraphe Suite 2.1.4, the NAO robot doesn't move. Is there something I did wrong?

Thanks for any help provided.

getPackages is deprecated

Hello, I installed the naoqisim controllers just as it is specified in the readme. I am using Webots R2021a in Linux Mint 20 and running the file naoqisim.wbt, connecting it to Choregraphe 2.1.4.13. It appears to connect properly, but when I create a behavior in Choregraphe in the robot view it's previewed but is not mirrored in Webots' simulation, I think it has to do with this output bellow about deprecated functions, which I got after creating a "Walk towards..." activity.

[I] 8056 core.naoqi: NAOqi is ready...
[I] 8038 qimessaging.servicedirectory: Registered Service "ALChoregraphe" (#66)
[I] 8051 qimessaging.servicedirectory: Registered Service "ALChoregrapheRecorder" (#67)
[W] 8030 packagemanager: getPackages is deprecated please use packages instead.
[W] 8039 packagemanager: getPackage is deprecated please use package instead.
[W] 8045 packagemanager: checkRequirements disabled
[I] 8045 packagemanager: .lastUploadedChoregrapheBehavior: package installed in version 
[W] 8052 packagemanager: getPackages is deprecated please use packages instead.
[W] 8036 ALMotion.ALMotionConfigurator: ENABLE_FOOT_CONTACT_PROTECTION: 1

naoqisim make

Hello,
I followed your instructions. I am on Windows OS using MSYS2 (32 bit) and Visual C++ 2010 express edition. When I attempt to issue command make I receive the following error:

bash: cmake: command not found

Your help is appreciated . Thanks

[request] update to NAO v6 naoqi

Hello,
Softbank robotics released a new C++ SDK for NAO. I believe they hold the same API in addition to new one. Is it possible to replace the older one for naoqisim with this one? It may solve several issues. Or it would be great to know what to do to get simlator-sdk based on the new one. Thanks a lot.

Controller.dll missing when naoqisim is run

I have built the Aldebaran simulation SDK as instructed in the readme, however, when I built the naoqisim controller in Visual Studio, I get an error saying that it cannot run the exe as 'Controller.dll' is missing. Have I done something wrong in building the controller?

Posture Library Error

Hello sir,
I hope you are doing good. I followed everything on your document and did as you described but after i open webots and load the naoqism.wbt world in it, i get this message
[naoqisim] [E] 1248 posture: PostureLibrary::loadLibraryFromFile: cannot open file ""
everything else is working just as you described but due to this messeage probably my webots and choreographe nao are not in synchronization and moving nao in choreographe does not has any effect on nao in webots. I highly appreciate your work. Kindly help me, thanks.

This is the whole message my webots console shows:

WARNING: PointLight: A quadratic 'attenuation' should be preferred to have a realistic simulation of light. Only the third component of the 'attenuation' field should be greater than 0.
INFO: naoqisim: Starting controller: "E:\FYP\naoqisim-master\controllers\naoqisim\naoqisim.exe" 9559
[naoqisim] Qt: Untested Windows version 6.2 detected!
[naoqisim] Error: %1 is not a valid Win32 application.
[naoqisim] (dynamic library)
[naoqisim] Error: failed to load E:/webots/Webots/resources/projects/plugins/robot_windows/generic/generic.dll library
[naoqisim] ===== naoqisim controller started =====
[naoqisim] Press the real-time button [>] to start the simulation, then you can connect Choregraphe.
[naoqisim] ===== starting alsim controller =====
[naoqisim] sdkPrefix: ....\aldebaran\simulator-sdk
[naoqisim] [E] 1248 posture: PostureLibrary::loadLibraryFromFile: cannot open file ""
[naoqisim] [I] 1248 SimLauncher: Launching ....\aldebaran\simulator-sdk\bin/hal -s hal-ipc9559 -p HAL/Robot/Type:string=Nao -p HAL/Simulation:int=1 -p HAL/Time:int=0 -p HAL/CycleTime:int=0 -p DCM/Time:int=0 -p DCM/CycleTime:int=0 -p HAL/SimShmId:int=9559 -p HAL/Ack:int=0 -p HAL/Nack:int=0 -p HAL/Error:int=0
[naoqisim] [I] 1248 SimLauncher: Launching ....\aldebaran\simulator-sdk\bin/naoqi-bin.exe -p 9559 --writable-path C:\Users\MSI\AppData\Local\Temp\SimLauncher6JuljXd
[naoqisim] Webots cameras enabled.
[naoqisim] Add the '-nocam' option in 'controllerArgs' to disable the cameras and increase the simulator performance.
[naoqisim] simulator-sdk max camera resolution: CameraBottom: 1280x960
[naoqisim] Webots camera resolution: CameraBottom: 160x120
[naoqisim] simulator-sdk max camera resolution: CameraTop: 1280x960
[naoqisim] Webots camera resolution: CameraTop: 160x120

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.