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

Too small buildings #2

Open
bartolinciu opened this issue Dec 3, 2021 · 9 comments
Open

Too small buildings #2

bartolinciu opened this issue Dec 3, 2021 · 9 comments

Comments

@bartolinciu
Copy link

I have followed the instructions and the simulation works fine, but the buildings are too small:
Zrzut ekranu z 2021-12-03 17-11-16

@jayanthbhargav
Copy link
Collaborator

Can you make sure that you are not changing the scale of any component of the world? To be sure, kindly download the simulator package again from Github and launch it without modifying any of the files/folders.
If you still find the error, verify that the vehicle still moves around even though the buildings are small and get back to us. We will try to investigate more.

@ToToSpl
Copy link

ToToSpl commented Dec 3, 2021

I am having the same issue, I have tried reinstalling the whole package but the problem remained. The vehicle is moving normally.
Using Ubuntu 18, ros melodic and gazebo 9.19.0

@ToToSpl
Copy link

ToToSpl commented Dec 3, 2021

In my friends machine everything works normal, even though he has the same gazebo version.
As a simple workaround I have upscaled every dimension in buildings by 100 (in model and collision box) and it looks as it should. If this solution is acceptable, I could create pull request with additional folders for "big" buildings, and if someone will have the same issue, then they can just replace the folder contents to have right size buildings.

@jayanthbhargav
Copy link
Collaborator

We suggest you work on the machine where the simulator works normally. Refer to the system requirements in the README. Do not scale any buildings/models/vehicles. If the issue seems to persist amongst a majority of the participants, we will investigate and announce an update of the simulator.

@Kaktusowy500
Copy link

I have the same problem, simulation works but buildings are too small. I'm using Ubuntu 18.04, ROS Melodic and Gazebo 9.0.0

@RocketFan
Copy link

I also have the same problem, simulation works but buildings are too small. I'm using Ubuntu 18.04, ROS Melodic and Gazebo 9.0.0.

@jayanthbhargav
Copy link
Collaborator

jayanthbhargav commented Dec 11, 2021

@ToToSpl Could you post the exact configuration of the system in which the simulator works? It would be great for the other participants to verify if they have all configs in place. It seems to work fine with some of our other participants.

We will try to investigate further if there are any issues in some of our other machines and post updates here soon.

@lampidis
Copy link

I also have the exact same problem. Everything seems to work fine except from the buildings that are too small. I'm using Ubuntu 18.04, Ros melodic, Gazebo 9

@Hunter314
Copy link
Collaborator

It appears this problem is caused by the units in the .dae mesh for the building model. We are working on a solution that will work on all computers.
In the meantime, this issue can be temporarily fixed by manually changing the units in the mesh file. Our solution uses the mesh file that is in the Gazebo model path, so you can find and change the units with the following steps:

  1. cd ~/.gazebo/models/law_office/meshes
  2. vim law_office.dae (or use whichever text editor you prefer)
  3. Replace the line <unit name=inches meter="0.0254"> with the line <unit name="meter" meter="1.00"/>.
    This should scale all buildings up by the necessary factor.
    Let me know if you run into any problems.

Qubi0-0 added a commit to ToToSpl/uavcc-simulator that referenced this issue Dec 22, 2021
ToToSpl added a commit to ToToSpl/uavcc-simulator that referenced this issue Dec 28, 2021
issue cam2-auto-drone#2 trial_1 rovers eliptic movement on a straight road
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants