Vision sensor auxiliary channels

Typically: "How do I... ", "How can I... " questions
Post Reply
TatiAlvares
Posts: 1
Joined: 24 Jul 2024, 19:55

Vision sensor auxiliary channels

Post by TatiAlvares »

Hi,
I've been trying to simulate a multi-robot system that can map an unknown area and detect fire by following the heat, and I can't find a functionality that allows me to sense the temperature. I know older versions had vision sensors with a OpenGL auxiliary channels mode for rendering, but that seems to not be available anymore. If that's the case, can I have a link to download the last version of CoppeliaSim with said functionality? I'm open to any helpful suggestions on alternative ways to achieve my objective.

coppelia
Site Admin
Posts: 10504
Joined: 14 Dec 2012, 00:25

Re: Vision sensor auxiliary channels

Post by coppelia »

Hello,

you can still set the vision sensor into that rendering mode via:

Code: Select all

sim.setObjectInt32Param(sensorHandle, sim.visionintparam_render_mode, 1)
In order to still be able to adjust the auxiliary color components, you can set showOldDlgs to true in usrset.txt.

But better would be to have some heat objects (shapes) hidden in a specific layer, then switch back-and-forth to that layer before/after handling the vision sensor via sim.handleVisionSensor(sensorHandle) (make sure the sensor is flagged as explicit handling).

Cheers

Post Reply