Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPackages is deprecated #11

Open
AlonShaqed opened this issue May 25, 2021 · 6 comments
Open

getPackages is deprecated #11

AlonShaqed opened this issue May 25, 2021 · 6 comments

Comments

@AlonShaqed
Copy link

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
@fernandozuher
Copy link

Hello, @AlonShaqed.
The naoqisim plugin doesn't work properly because of the old-outdated-buggy version of the naoqi-sdk in it.
Some behaviors, specially the ones related to the movement of legs, don't work in Webots through naoqisim.
Further information about it: #10

@AlonShaqed
Copy link
Author

Hello @fernandozuher,
I started using your refactored version, but the arms don't work either or any motion really (this also happens with the master of cybebotics) I did use the postures you suggest. Furthermore, I don't think it's related but I get this looping output right after naoqi is ready... :

0
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
isnan
NAN
	target: 

@fernandozuher
Copy link

Weird loop output. I will check that out for you.
As the movement of the arms, what exactly are you doing and how (in programming)?
If the master naoqisim isn't working for that too, it is supposed to be the outdated-naoqi-sdk.
In spite of it, I did some brief experiments with the arm months ago (specially the fingers) of NAO and it worked.

@AlonShaqed
Copy link
Author

I just made this routine in Choregraphe:
image
But naoqisim remains motionless, like this:
image

@fernandozuher
Copy link

fernandozuher commented May 25, 2021

You are using Choregraphe that communicates with a naoqi process inside a plugin (naoqisim) that has a buggy naoqi-sdk. It just doesn't work because of the bugs in that outdated naoqi-sdk version.

Choregraphe <-> naoqi process inside naoqisim plugin (with buggy naoqi-sdk) <-> Webots

naoqisim (and my refactored version) is a beta version plugin: it is not stable and pretty limited.

Months ago I moved the hands of NAO using "Webots motion methods", which were based in some Webots nao-example-file.
Unfortunately there is not any other way to work properly with NAO in Webots. =/
Choregraphe is the unique "stable" simulator until now.

@Saman-Khan
Copy link

Please someone guide me on how to find simulator sdk. Have been searching for it for weeks. I am unable to work with plugins without it. Please help me out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants