mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 10:11:14 +00:00
changed gimbal to chassis in system_statuses_node.py
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
<file leaf-file-name="system_statuses_node.py" pinned="false" current-in-tab="true">
|
<file leaf-file-name="system_statuses_node.py" pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/system_statuses_node.py">
|
<entry file="file://$PROJECT_DIR$/system_statuses_node.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="192">
|
<state relative-caret-position="552">
|
||||||
<caret line="23" column="38" lean-forward="true" selection-start-line="23" selection-start-column="38" selection-end-line="23" selection-end-column="38" />
|
<caret line="27" column="33" lean-forward="false" selection-start-line="27" selection-start-column="33" selection-end-line="27" selection-end-column="33" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@@ -167,8 +167,8 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/system_statuses_node.py">
|
<entry file="file://$PROJECT_DIR$/system_statuses_node.py">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="192">
|
<state relative-caret-position="552">
|
||||||
<caret line="23" column="38" lean-forward="true" selection-start-line="23" selection-start-column="38" selection-end-line="23" selection-end-column="38" />
|
<caret line="27" column="33" lean-forward="false" selection-start-line="27" selection-start-column="33" selection-end-line="27" selection-end-column="33" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ class SystemStatuses:
|
|||||||
self.system_path_locations = [
|
self.system_path_locations = [
|
||||||
'/dev/rover/camera_zed',
|
'/dev/rover/camera_zed',
|
||||||
'/dev/rover/camera_undercarriage',
|
'/dev/rover/camera_undercarriage',
|
||||||
'/dev/rover/camera_gimbal',
|
'/dev/rover/camera_chassis',
|
||||||
'/dev/rover/camera_main_navigation'
|
'/dev/rover/camera_main_navigation'
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -25,8 +25,8 @@ class SystemStatuses:
|
|||||||
self.msg.camera_zed = 1 if os.path.exists(self.system_path_locations[0]) else 0
|
self.msg.camera_zed = 1 if os.path.exists(self.system_path_locations[0]) else 0
|
||||||
# Check if camera_undercarriage is found
|
# Check if camera_undercarriage is found
|
||||||
self.msg.camera_undercarriage = 1 if os.path.exists(self.system_path_locations[1]) else 0
|
self.msg.camera_undercarriage = 1 if os.path.exists(self.system_path_locations[1]) else 0
|
||||||
# Check if camera_gimbal is found
|
# Check if camera_chassis is found
|
||||||
self.msg.camera_gimbal = 1 if os.path.exists(self.system_path_locations[2]) else 0
|
self.msg.camera_chassis = 1 if os.path.exists(self.system_path_locations[2]) else 0
|
||||||
# Check if camera_main_navigation is found
|
# Check if camera_main_navigation is found
|
||||||
self.msg.camera_main_navigation = 1 if os.path.exists(self.system_path_locations[3]) else 0
|
self.msg.camera_main_navigation = 1 if os.path.exists(self.system_path_locations[3]) else 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user