Closed xEnVrE closed 1 year ago
I had to push force to correct a wrong path in one of the xml.
I tried this PR after rebasing on top of the latest #186 and something is not working for the manually generated models as I get the following error when trying to insert either iCubGazeboV2_5_visuomanip
or iCubGazeboV3_visuomanip
:
terminate called after throwing an instance of 'std::invalid_argument'
what(): stoi
cc @traversaro
I tried this PR after rebasing on top of the latest #186 and something is not working for the manually generated models as I get the following error when trying to insert either
iCubGazeboV2_5_visuomanip
oriCubGazeboV3_visuomanip
:terminate called after throwing an instance of 'std::invalid_argument' what(): stoi
cc @traversaro
Which version of gazebo and gazebo-yarp-plugins are you using?
I tried to search for:
source code for stoi
instances, but I could not find anything specific.
Which version of gazebo and gazebo-yarp-plugins are you using?
I am using the robotology-superbuild
with ROBOTOLOGY_PROJECT_TAGS = Unstable
as I wanted to test in a scenario where deprectated devices have been already removed. Then I just uninstalled icub-models
, switched to my branch, rebased onto the latest devel and run make install
from robotology-superbuild/build/src/icub-models
.
gazebo --version
Gazebo multi-robot simulator, version 11.12.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
cd robotology-superbuild/src/GazeboYARPPlugins
git log
commit fe7a39e932f35488ee292ee77f7d9853b4ac57a6 (HEAD -> devel, origin/devel)
Merge: b9c18f46 9982ab1d
Author: Silvio Traversaro <silvio@traversaro.it>
Date: Fri Jan 13 15:15:27 2023 +0100
Merge pull request #641 from robotology/feat/addHandMK5Coupling
ControlBoardDriverCoupling: add couplings for hand mk5
After #190, this works again properly. My guess is that since I am using some of the files from the automatically generated robots, and with #186 they were not detected properly by Gazebo, this robot was failing too while trying to fetch the configuration files.
After #190, this works again properly. My guess is that since I am using some of the files from the automatically generated robots, and with #186 they were not detected properly by Gazebo, this robot was failing too while trying to fetch the configuration files.
Ok, great! Having better error would be desirable, but is probably a different issue. So, we can proceed with the merge?
So, we can proceed with the merge?
I would say so.
Thanks @xEnVrE !
This PR makes the manually generated model
iCubGazeboV2_5_visuomanip
compatible with the latest yarp nws architecture.Specifically:
yarprobotinterface
plugin within the URDF modelini
files withiniCub_manual/conf_manual/iCubGazeboV2_5_visuomanip
such that the gazebo plugins do not use the implicit network wrappers anymoreini
files that are not required anymore (as using theyarprobotinerface
plugin allows using networks in the motor control remapper xmls)xml
files for theyarprobotinterface
plugin for motor control remappers (wrappers are inherited from the automatically generated models), and camerasiCub/conf
folder, these are only files that are currently used by the automatically generated models, hence files that can be shared so that future changes can be inherited automaticallyiCubGazeboV2_5_visuomanip
, i.e., we still get:Note: For some reason
git
thinks that I have renamediCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/gazebo_icub_torso.ini
intoiCub_manual/conf_manual/iCubGazeboV2_5_visuomanip/gazebo_icub_eyes.ini
. However, I just deleted the former in a commit and added the latter in the next commit.fixes #171 (at least partially as iCubGazeboV3_visuomanip should be updated as well)
cc @pattacini @traversaro