Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

The car model of car_apritalgs.world show white wheels in virtualized environment #222

Closed
ghost opened this issue Nov 8, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 8, 2015

Hi all,

yesterdary I installed a virtual machine (x64) with the new debian packages, I tested the car_apriltags.world with introrob_py and the images received by the plugin show white the wheels car.

car_with_white_wheels

This only occur in virtualized environments. Does anyone know that happens?

regards

@fqez
Copy link
Member

fqez commented Nov 8, 2015

Hi @almartinflorido

the problem is in these lines of the model.sdf:

<visual name="visual">
    <geometry>
        <cylinder>
            <radius>0.05</radius>
            <length>0.1</length>
         </cylinder>
     </geometry>
</visual>

in these links:

<link name="{rear,front}_{left,right}_steering_wheel_block">
<link name="{rear,front}_{left,right}_wheel">

As long as they only specify visual properties, they are not required (we have already a skin for the car). To solve this, you only have to comment out this block of code for each wheel in (~/models/carApriltag/model.sdf) and you will remove this visual effect.

I am not sure, but maybe gazebo primitive shapes have visual preferences over textures.

Try it and let me know if you success!

Regards!

@ghost
Copy link
Author

ghost commented Nov 8, 2015

Yes, with this changes the car don't show the white wheels.

Thank you so much @fqez !!

@fqez fqez closed this as completed in bddad6e Nov 10, 2015
fqez added a commit that referenced this issue Nov 10, 2015
Fix #222 removed wheels visual properties of carApriltag model
fqez added a commit that referenced this issue Nov 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant