sim.intparam_simulation_warning_disabled_mask

Report crashes, strange behaviour, or apparent bugs
Post Reply
Justus
Posts: 37
Joined: 24 Jan 2017, 07:37

sim.intparam_simulation_warning_disabled_mask

Post by Justus » 30 Apr 2018, 17:01

Hi,
When trying to change sim.intparam_simulation_warning_disabled_mask using sim.setInt32Parameter (in a customized main script), v-rep 3.4.0 and 3.5.0 return a 'invalid parameter' message.
Could this be a bug?
Regards,
Justus

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

Re: sim.intparam_simulation_warning_disabled_mask

Post by coppelia » 02 May 2018, 06:12

Hello Justus,

yes, you are right, there is a bug. Thanks. As a workaround do following:

Code: Select all

function doIt(val)
    sim.setInt32Parameter(sim.intparam_simulation_warning_disabled_mask,val)
end

then, call this instead:
pcall(doIt,1)
Cheers

Justus
Posts: 37
Joined: 24 Jan 2017, 07:37

Re: sim.intparam_simulation_warning_disabled_mask

Post by Justus » 04 May 2018, 20:23

Works, thanks!

Post Reply