Skip to content

Commit 51b27d2

Browse files
AIRO-1624 "Listen for TF messages" option in Settings (#256)
* Update ROSSettingsEditor.cs * Update CHANGELOG.md
1 parent bd7e383 commit 51b27d2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

com.unity.robotics.ros-tcp-connector/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
1212

1313
### Added
1414

15+
Added "Listen for TF Messages" to Settings
16+
1517
Enabled Android and IOS builds
1618

1719
Added Sonarqube scanner

com.unity.robotics.ros-tcp-connector/Editor/ROSSettingsEditor.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ protected virtual void OnGUI()
131131
"Sleep this long before checking for new network messages. (Decreasing this time will make it respond faster, but consume more CPU)."),
132132
prefab.SleepTimeSeconds);
133133

134+
EditorGUILayout.Space();
135+
136+
prefab.listenForTFMessages = EditorGUILayout.Toggle("Listen for TF Messages", prefab.listenForTFMessages);
137+
134138
// TODO: make the settings input update the prefab
135139
// EditorGUILayout.Space();
136140
// if (!editor) { editor = UnityEditor.Editor.CreateEditor(this); }

0 commit comments

Comments
 (0)