gazebo-classic:scpeters/ZFix

Last commit made on 2023-01-11
Get this branch:
git clone -b scpeters/ZFix https://git.launchpad.net/gazebo-classic

Branch merges

Branch information

Name:
scpeters/ZFix
Repository:
lp:gazebo-classic

Recent commits

c63047c... by Steve Peters <email address hidden>

Add extra model in test world

The pre-existing model in the test world exhibits
the lens flare rendering bug without the fix in
this branch, so I added an extra model at a different
pose that does not exhibit the bug. It makes it
easier to confirm that the bug is fixed.

Signed-off-by: Steve Peters <email address hidden>

adf7d1f... by Steve Peters <email address hidden>

Fix line length

Signed-off-by: Steve Peters <email address hidden>

5740ce5... by Steve Peters <email address hidden>

Fix whitespace, remove debug print

Signed-off-by: Steve Peters <email address hidden>

3db8327... by Aditya <email address hidden>

Added a test case for wideangle camera lensflare

Signed-off-by: Aditya <email address hidden>

a545ff7... by Sanjuksha Nirgude <email address hidden>

Fix for Wide Angle Camera lensflare issue

Signed-off-by: Sanjuksha Nirgude <email address hidden>

8e66813... by Sanjuksha Nirgude <email address hidden>

Fixing Z check in WideAngleCamera::Project3d

Signed-off-by: Sanjuksha Nirgude <email address hidden>

5fef8ee... by Steve Peters <email address hidden>

Fix crash with DEM and Camera (#3279)

* Test DEM heightmap with camera. This exposes a crash.
* rendering: ensure SphericalCoordinates != nullptr

Signed-off-by: Steve Peters <email address hidden>

d86d435... by Aditya Pande <email address hidden>

Support lunar DEMs (#3257)

* SphericalCoordinates: support Lunar calculations (#3250)
  Add support for MOON_SCS in spherical coords

Signed-off-by: Aditya <email address hidden>

* Use DistanceBetweenPoints when loading DEMs (#3252)

Signed-off-by: Aditya <email address hidden>
Signed-off-by: Steve Peters <email address hidden>
Co-authored-by: Steve Peters <email address hidden>

* Make Heightmap loader use spherical coordinates. (#3258)
  Make Physics.cc and Gazebo GUI use spherical coordinates
  when loading terrains.

Signed-off-by: Aditya <email address hidden>
Co-authored-by: Steve Peters <email address hidden>

94adc32... by Steve Peters <email address hidden>

Fix for opende heightfield and console spam (#3271)

* opende heightfield: fix memory access bug

Port fix from bitbucket:
odedevs/ode@63caf226abf3be2225972955bec828f65887886f

Original message: oleh_derevenko#1921: Fixed:
A bug with heightfield data assigned to a wrong field in
dGeomHeightfieldSetHeightfieldData (bug report #88 by Luc).

* Visual::CreateDynamicLine check connection

Only call ConnectPreRender if a Visual doesn't
already have a ConnectionPtr, since reassigning
it may generate console errors like:

[Event.cc:61] Warning: Deleting a connection right after creation.
Make sure to save the ConnectionPtr from a Connect call.

In particular, the OriginVisual calls CreateDynamicLine
three times in succession, which may be a source of these
console messages.

Signed-off-by: Steve Peters <email address hidden>

5bb2ff2... by Matias N. Goldberg

Fix disappearing shadows when looking from certain angles (#3267)

Fixes #3259.

Signed-off-by: Matias N. Goldberg <email address hidden>