Hi! I am trying to read in some parameters with my Lua script with the param:get(‘XYZ’)-function, but it’s not working. I only get this message:
Other scripts are running as expected. The problem is just the line to read in parameters.
I’ve reduced my script to basically just the line out of the example files:
local value = param:get(‘SCR_ENABLE’)
But it’s still not working. I’m using the Pixhawk 2.1 Cube black. Maybe it has to do something with the available memory? I also had the problem with downloading parameters, described here:
but could solve it now. Since I disabled terrain following, it seems to be working (more or less) fine. I still get a few “Already got param” messages, but it’s connecting to MissionPlanner.