cyberbotics / naoqisim Goto Github PK
View Code? Open in Web Editor NEWNAOqi enabled controller for simulated NAO robots in Webots
License: Other
NAOqi enabled controller for simulated NAO robots in Webots
License: Other
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
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
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
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
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.
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.