Debugging in child script

Typically: "How do I... ", "How can I... " questions
Post Reply
mvish7
Posts: 7
Joined: 18 Oct 2018, 14:29

Debugging in child script

Post by mvish7 » 24 Oct 2018, 12:02

Hello,

Is there any way to debug to child scripts?
actually i want to verify that messages sent by ROS nodes are reaching the subscriber or not?

Kindly suggest the tutorials/ways to do above things.

fferri
Posts: 238
Joined: 09 Sep 2013, 19:28

Re: Debugging in child script

Post by fferri » 24 Oct 2018, 13:51

You can use print(), or you can use sim.pauseSimulation and then use the LuaCommander plugin to execute Lua code interactively like in a normal debugger (remember to select the correct script context).

Post Reply