Skip to content

Commit

Permalink
Merge pull request bitcraze#563 from bitcraze:krichardsson/graphics
Browse files Browse the repository at this point in the history
Lighthouse tab: adjust graphics
  • Loading branch information
ataffanel authored Jan 24, 2022
2 parents d68f054 + 09627bc commit feff665
Show file tree
Hide file tree
Showing 4 changed files with 396 additions and 413 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def relative(lst, base=''):
'PyYAML~=5.3',
'asyncqt~=0.8.0',
'qtm~=2.0.2',
'numpy>=1.19.2,<1.24',
'numpy>=1.20,<1.25',
'vispy~=0.9.0',
'pyserial~=3.5',
'pyqt5~=5.15.0'],
Expand Down
9 changes: 4 additions & 5 deletions src/cfclient/ui/tabs/lighthouse_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _addArrows(self, length, width, head_length, head_width, parent):
[base_len, -hw, 0],
[base_len, -w, 0],
[0, -w, 0]],
width=1.0, color='red', parent=parent)
width=1.0, color='red', parent=parent, marker_size=0.0)

# Y-axis
scene.visuals.LinePlot([
Expand All @@ -210,7 +210,7 @@ def _addArrows(self, length, width, head_length, head_width, parent):
[-hw, base_len, 0],
[-w, base_len, 0],
[-w, 0, 0]],
width=1.0, color='green', parent=parent)
width=1.0, color='green', parent=parent, marker_size=0.0)

# Z-axis
scene.visuals.LinePlot([
Expand All @@ -221,7 +221,7 @@ def _addArrows(self, length, width, head_length, head_width, parent):
[0, -hw, base_len],
[0, -w, base_len],
[0, -w, 0]],
width=1.0, color='blue', parent=parent)
width=1.0, color='blue', parent=parent, marker_size=0.0)

def update_cf_pose(self, position, rot):
if not self._cf:
Expand Down Expand Up @@ -305,8 +305,7 @@ def __init__(self, tabWidget, helper, *args):
self._connected_signal.connect(self._connected)
self._disconnected_signal.connect(self._disconnected)
self._log_error_signal.connect(self._logging_error)
self._cb_param_to_detect_lighthouse_deck_signal.connect(
self._cb_param_to_detect_lighthouse_deck)
self._cb_param_to_detect_lighthouse_deck_signal.connect(self._cb_param_to_detect_lighthouse_deck)
self._status_report_signal.connect(self._status_report_received)
self._new_system_config_written_to_cf_signal.connect(self._new_system_config_written_to_cf)
self._geometry_read_signal.connect(self._geometry_read_cb)
Expand Down
Loading

0 comments on commit feff665

Please sign in to comment.