Hi Tong,

The reason for vehicles “floating” in certain areas is most likely due to the 
fact that they are actually interacting with the virtual SCM grid from a nearby 
deformable terrain patch. See the following discussion for details: 
https://groups.google.com/g/projectchrono/c/KfVffIkvfRs. As I mentioned there, 
I intend to provide support in Chrono for the type of mixed terrain you are 
interested in, but that may not be available for a while (I don’t have the 
bandwidth to work on this right now). In the meantime, I pushed an intermediate 
fix which allows the user to restrict the computational domain of an SCM 
terrain patch. See the new function 
SCMTerrain::SetBoundary<https://github.com/projectchrono/chrono/blob/75fb6835587d33fa1e2956f5ae40d50d5688b965/src/chrono_vehicle/terrain/SCMTerrain.h#L158>
 and, as an illustration of its use, uncomment line 260 in 
demo_VEH_SCMTerrain_WheeledVehicle<https://github.com/projectchrono/chrono/blob/75fb6835587d33fa1e2956f5ae40d50d5688b965/src/demos/vehicle/terrain/demo_VEH_SCMTerrain_WheeledVehicle.cpp#L260>
 .

Of course, to use this new feature, you would need to start using the latest 
Chrono code.
Note that there is no direct limitation based on the Ubuntu distro version. All 
that matters is the version of the compiler. Assuming you use GCC, the version 
included with Ubuntu 20.04 is GCC v. 9.3. That should be good enough to build 
the latest Chrono code and, and if it is not, it’s possible to upgrade your 
compiler version in Ubuntu 20.04.

Regardless, I strongly encourage you to start using a newer version of Chrono 
(ideally, the latest in the ‘main’ git branch) as there were quite a few 
changes, improvements, and bug fixes since Chrono v. 8.

--Radu


From: [email protected] <[email protected]> On Behalf 
Of Tong Xu
Sent: Sunday, January 19, 2025 7:22 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Re: Why vehicle floating in the sky?

Sry, I don't test now. It seems that provided conda packages version 8.0 or 9.0 
are working on Ubuntu22.04. I only have Ubuntu20.04 now.
On Sunday, January 19, 2025 at 1:17:55 AM UTC-5 
[email protected]<mailto:[email protected]> wrote:
Does this problem persist with the current version of chrono?

[email protected] schrieb am Sonntag, 19. Januar 2025 um 03:56:00 UTC+1:
Thanks for asking. When I am only using one deformable terrain or different 
combined rigid terrain, it will be ok. If I combine several different types of 
deformable textures or deformable textures with rigid textures by multiple 
patches, It will definately floating in the sky. I doubt that it because of the 
AddMovingPatch() function? And I compile by this source code from gym-chrono 
repo: 
https://github.com/zzhou292/chrono/tree/feature/robot_model<https://urldefense.com/v3/__https:/github.com/zzhou292/chrono/tree/feature/robot_model__;!!Mak6IKo!JQOB56IhuZEWUtXi3tIvmTtskNlqVJnMGzRFovgVeyOh2nI98Y38oRfv-jFi174vozUOciDP3W0UyE0$>.
 Thanks a lot.

Best regards,
Tong
On Saturday, January 18, 2025 at 1:34:17 PM UTC-5 
[email protected]<mailto:[email protected]> wrote:
Hello,

Does your vehicle still float in the sky if you use only one type of terrain? 
Either rigid or deformable?

Also, what you mean by "sometimes vehicle floats in the sky"? Does that mean it 
drives fine for a while, then it floats? Or it means, you initialize the 
problem differently, sometimes it drives fine on the ground, but sometimes it 
floats?

Thank you,
Luning
On Wednesday, January 15, 2025 at 11:47:41 PM UTC-6 
[email protected]<mailto:[email protected]> wrote:
Hello, I have compiled chrono version 8 from source code by Ubuntu20.04. I also 
created terrain which consisted by rigid and deformable terrain according to 
multiple concatenating patches. But why sometimes vehicle floats in the sky. Is 
this because of the chrono code?

Thanks a 
lot[https://groups.google.com/group/projectchrono/attach/9d0c57107b96f/1.png?part=0.1&view=1]
--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/ff32ad72-ed96-45f7-b338-13ecb8fca36en%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/ff32ad72-ed96-45f7-b338-13ecb8fca36en*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!JQOB56IhuZEWUtXi3tIvmTtskNlqVJnMGzRFovgVeyOh2nI98Y38oRfv-jFi174vozUOciDP_s4d7uM$>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/projectchrono/CH3PPF46CDC21853CBAF93272A027FF38A6A7E42%40CH3PPF46CDC2185.namprd06.prod.outlook.com.

Reply via email to