public DynamicReconfigurePage(NodeHandle n, string name) : this() { nh = n; this.name = name + ":"; Loaded += (sender, args) => { dynamic = new DynamicReconfigureInterface(nh, name); dynamic.SubscribeForUpdates(); dynamic.DescribeParameters(DescriptionRecieved); }; }
private void SetupNamespace(string Namespace) { if (Process.GetCurrentProcess().ProcessName == "devenv") { return; } if (nh == null) { nh = new NodeHandle(); } if (dynamic != null && dynamic.Namespace != Namespace) { dynamic = null; } if (dynamic == null) { dynamic = new DynamicReconfigureInterface(nh, Namespace); dynamic.SubscribeForUpdates(); dynamic.DescribeParameters(DescriptionRecieved); } }