Page 1 of 1

sim.intparam_simulation_warning_disabled_mask

Posted: 30 Apr 2018, 17:01
by Justus
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

Re: sim.intparam_simulation_warning_disabled_mask

Posted: 02 May 2018, 06:12
by coppelia
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

Re: sim.intparam_simulation_warning_disabled_mask

Posted: 04 May 2018, 20:23
by Justus
Works, thanks!