Comments (11)
Thanks for your quick reply and kindness, @omichel. I will look better the files structure/code and try to understand how it is done. Then I come back here with a proper amount of questions. Thanks again.
from naoqisim.
I will try to set an example showing how to do so.
from naoqisim.
It seems to be a problem on the simulator-sdk side (which includes the naoqi emulation). Unfortunately, we cannot help on this as this is proprietary binary code belonging to SoftBank Robotics. You should probably report the problem to SoftBank Robotics.
from naoqisim.
Hello, @AayuStark007 and @omichel.
@costashatz in: https://github.com/costashatz/nao_gazebo
...simulates NAO in Gazebo through NAOqi Simulator SDK. He also had the same problem about walking:
costashatz/nao_gazebo#1
...which seems to be fixed in this commit: costashatz/nao_gazebo@fc6488a
and video: https://www.youtube.com/watch?v=xPg7caI26Z4
I tried all sort of programming/computer witchcraft to fix that walking problem in Webots: googling the errors,
adapting the commit from @costashatz to this repository, updating the naoqi-sdk version used in this repository (2.1.4.1) to newer versions, using different versions of Webots (from R2018a) and Choregraphe... Unfortunately with no success. =/
Since SoftBank Robotics and Webots don't support NAOqi in Webots anymore: https://cyberbotics.com/doc/guide/nao#naoqi-and-choregraphe
...I was thinking that problem may be fixed through adapting this current repository to use the last naoqi-sdk, which could be the python-sdk 2.8.6.23 or cplusplus-sdk (2.8.5); as of this writing. I can do that, but I would need help to understand the structure written in the controller files located in naoqisim controller: naoqisim.cpp, Nao.cpp, ...
If I can help, let me know.
from naoqisim.
@fernandozuher: you are very welcome to help. We will be happy to answer your questions if you need help to understand the naoqisim controller source code.
from naoqisim.
Not just motion. Any action with respect to FRAME_ROBOT or FRAME_WORLD is not working and returns NaN. getRobotPosition(), getTransform("Torso",1,True) and getTransform("Torso",2,True) does not work.
from naoqisim.
I have yet to figure out why, but is seems that running a specific choregraph behavior made the robot able to walk through naoqi at least once. However, I have tried the same procedure other times and it doesn't seem to work anymore. Does something change when you upload a behavior to the robot for the first time?
from naoqisim.
After some tests, I can make the robot move once each computer restart. The first time it launches the simulator, it works as expected. However if I restart the simulation for any reason, it seems to try to restart the HAL and gives an error of already having a existing HAL running. Whenever I get this error, I can not make the robot move. Is there some code that is run when the HAL is stated the first time but not when it is restarting? @omichel
from naoqisim.
As far as I remember we had to manually kill any HAL process in order to be able to restart a simulation. For some reason the HAL process doesn't always quit properly. This software is unfortunately no under our control and is not open source. It comes from the SDK provided by softbank robotics.
from naoqisim.
I imagined so. Even after searching and killing all processes related with naoqi, hal and dcm, the robot can only move once per restart. Even deleting the shared memory files did not solve it. Anyway, more searching to do. Thanks for the response.
from naoqisim.
Thanks for your quick reply and kindness, @omichel. I will look better the files structure/code and try to understand how it is done. Then I come back here with a proper amount of questions. Thanks again.
@omichel and @wbadry, I refactored the naoqisim controller in order to understand and update it to the last naoqi-sdk version. The full message can be found in the issue #10.
from naoqisim.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naoqisim.