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
[BUG] Fetch in Gazebo gets dark. #138
Comments
Hi @708yamaguchi, thanks for the report! I noticed this as well last month, but only during a quick test, and assumed it was an issue with my laptop's GPU (GTX 1060, I believe). Do you know if your setup uses an AMD or NVidia GPU? I'll check if others can confirm. If it's an issue with the .dae files my initial assumption would be the material properties need to be updated in some manner. |
Hi @erelson, thank you very much for your support! My laptop has NVIDIA GPU (details are below), but it seems that my laptop does not use GPU. # Terminal 1
watch -n1 nvidia-smi
# Terminal 2
roslaunch fetch_gazebo playground.launch Here is my CPU and GPU environment. $ sudo lshw -class processor
*-cpu
description: CPU
product: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
vendor: Intel Corp.
physical id: 7
bus info: cpu@0
version: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
serial: None
slot: U3E1
size: 2037MHz
capacity: 4005MHz
width: 64 bits
clock: 100MHz
capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d cpufreq
configuration: cores=2 enabledcores=2 threads=4 GPU $ lspci | grep -i nvidia
06:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 930M] (rev a2) |
So we've definitely run into issues like this before. Basically, Gazebo and RVIZ load the shading information entirely differently -- we struck a fine balance with the original model to make it work the same in Gazebo and RVIZ. |
@mikeferguson I understood the circumstances. |
@RDaneelOlivav do you have any insights to provide on this issue's topic? It appears that the changes in your PR last year for OpenWebGL/TheConstruct, had undesired effects in gazebo appearances. Have you dealt with this for other robots you've simulated, or have recommendations? Thanks! |
@erelson Hi. Well that could be for a number of reasons. In my experience when a texture apears black could be because:
|
See fetch_ros/issues/ZebraDevs#138
@erelson I can see bright fetch in Gazebo with your new |
Bug overview
When I use fetch in gazebo, fetch in gazebo looks darker than expected. Fetch in Rviz looks normal.
I think the cause is this commit (20cd76f , next commit to
0.8.0
)I am sorry, but I am not familiar with mesh files. Could you please replace current
.dae
files with.dae
files which does not look dark in Gazebo?Reproduce the situation
I use
Ubuntu 18.04
andROS melodic
.Dark fetch:
Normal fetch:
The text was updated successfully, but these errors were encountered: