File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,10 @@ inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
40
40
namespace gui
41
41
{
42
42
43
+ // \TODO(chapulina) Using this global node doesn't work when starting
44
+ // `ign gazebo`, only for `ign gazebo -g`
43
45
// Global node to subscribe to path updates
44
- ignition::transport::Node g_node;
46
+ // ignition::transport::Node g_node;
45
47
46
48
// ////////////////////////////////////////////////
47
49
void onAddResourcePaths (const msgs::StringMsg_V &_msg)
@@ -129,6 +131,7 @@ std::unique_ptr<ignition::gui::Application> createGui(
129
131
}
130
132
131
133
// Get list of worlds
134
+ ignition::transport::Node g_node;
132
135
bool executed{false };
133
136
bool result{false };
134
137
unsigned int timeout{5000 };
@@ -283,7 +286,7 @@ std::unique_ptr<ignition::gui::Application> createGui(
283
286
284
287
onAddResourcePaths (res);
285
288
286
- g_node.Subscribe (" /gazebo/resource_paths" , onAddResourcePaths);
289
+ // g_node.Subscribe("/gazebo/resource_paths", onAddResourcePaths);
287
290
288
291
return app;
289
292
}
You can’t perform that action at this time.
0 commit comments