Comments (5)
This bug has been fixed via robotology/icub-tests#60.
We demonstrated that the approach of using IRemoteVariables
is viable.
We may take this into consideration for a possible future overhaul of the icub-tests in this sense.
cc @davidetome @traversaro @gsisinna @Uboldi80
from robots-configuration.
Thanks @violadelbono for the thorough analysis 🎉
I can see two problems:
- it's fundamentally a mistake that the test is taking the parameters from its own ini files instead of getting them from the official robot configuration, either by reading those files straight away or making some calls to the API. We really need to stick to the principle of the single source of truth.
- we don't have to adjust
Gearbox
andmatrixJ2M
in order to get the expected results; rather, we need to fix them up in order to make them correspond to their physical meaning. The fact that the test will be successful is only a consequence of such a fix.Gearbox
andmatrixJ2M
do have different meanings indeed although they refer to the same mechanism and do have mutual interplay.
I suggest the option 1 for all the future robots, so I don't have to change the ini files, but I would like some feedback.
We need to fix all the robots that have this problem, past and future, and if this means that we need to touch thousands of conf files, it's the only way to go (we already did this in the past).
We will discuss this further.
from robots-configuration.
@pattacini @traversaro I agree with you! Right now it's a bit confusing
from robots-configuration.
We would need to double check the values, but it seems that several related parameters/values are indeed exposed:
- https://github.com/robotology/icub-main/blob/cf42375998f1450ecfeaa027a64d83bd84c37094/src/libraries/icubmod/embObjMotionControl/embObjMotionControl.cpp#L3163
- https://github.com/robotology/icub-main/blob/cf42375998f1450ecfeaa027a64d83bd84c37094/src/libraries/icubmod/embObjMotionControl/embObjMotionControl.cpp#L3202
- https://github.com/robotology/icub-main/blob/cf42375998f1450ecfeaa027a64d83bd84c37094/src/libraries/icubmod/embObjMotionControl/embObjMotionControl.cpp#L3209
from robots-configuration.
Talking w/ @traversaro, it came out that we could exploit http://www.yarp.it/git-master/classyarp_1_1dev_1_1IRemoteVariables.html to access robot variables.
This way, the test wouldn't have to load the parameters from its own conf files and the single source of truth would be guaranteed.
from robots-configuration.
Related Issues (20)
- `controlboardwrapper2` deprecation HOT 5
- `grabberDual` device removal in YARP 3.8.0 HOT 8
- Migration of all icub xml files to the new yri syntax HOT 1
- Replace `embObjInertial` w/ `embObjIMU` – Stint 1 HOT 20
- `inertial` device removal in YARP 3.8.0 HOT 5
- Implement `dry-run` test in the CI HOT 20
- Replace `analogServer` with `multipleanalogsensorsserver` for publishing FT data – Stint 1 HOT 6
- `batteryWrapper` device removal in YARP 3.8.0 HOT 2
- Fix Dry-Run errors HOT 35
- Replace `analogServer` with `multipleanalogsensorsserver` for publishing FT data – Stint 2 HOT 8
- ergoCubSN000: expose BMS on YARP network via `battery_nws_yarp` HOT 1
- CI failing on `ergoCubSN000` and `iCubGenova09` with the latest `yarp-3.8` HOT 11
- Missing example for `embObjMultipleFTsensors` device in `iCubTemplates/iCubTemplateV6_0/hardware/FT`
- Split robots between `maintained` and `unmaintained` and refactor CI dry-run accordingly HOT 3
- [ergoCubSN000] Gear ratio values of right and left shoulder roll joints do not match HOT 3
- Update maintained robots to the use of `multipleanalogsensorsserver` for `embObjMAIS` device HOT 3
- Check and validate ergoCub wrist-mk2.x gear ratios HOT 13
- Wrong eyes joint names for iCubGenova11 HOT 4
- Replace `embObjInertial` w/ `embObjIMU` – Stint 2 HOT 11
- Port all the robots' configuration to the TemperatureSensorType parameter HOT 2
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 robots-configuration.