Skip to content

Commit

Permalink
gMerge branch 'main' of github.com:cwruRobotics/rov-24
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed May 3, 2024
2 parents be25dcb + 676f5dc commit 7c90aca
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ eeprom.bin

# Mac Files @Georgia
*.DS_Store

# Mavproxy Files
*.parm
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ dependencies = [
'pytest-qt',
'pytest-xvfb',
'Pyside2', # can be removed when ament_pep257 is gone
'serial',
'TCA9555@git+https://github.com/InvincibleRMC/TCA9555'
'TCA9555@git+https://github.com/InvincibleRMC/TCA9555',
'pymavlink',
'mavproxy'
]

[tool]
Expand Down
12 changes: 12 additions & 0 deletions src/pi/pi_main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ To get output of task
sudo journalctl -f -u pi_main.service
```

### Slow Boot Times?

This occurs because the below service waits for internet before allowing boot.

Note `systemctl disable systemd-networkd-wait-online` does not work. The disable option is really more of a suggestion than an actual disable.

[![pensivecowboybread](https://cdn3.emoji.gg/emojis/4111-pensivecowboybread.png)](https://emoji.gg/emoji/4111-pensivecowboybread)

```bash
systemctl mask systemd-networkd-wait-online
```

## Nodes

There are no nodes in this package.
Expand Down
18 changes: 18 additions & 0 deletions src/pi/pixhawk_communication/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,24 @@ We communicate to the Pixhawk by using [mavros](https://github.com/mavlink/mavro

To set up a Pixhawk USB port use [this](https://docs.px4.io/main/en/companion_computer/pixhawk_companion.html) guide.

To remotely use QGroundControl ssh into the pi and run the following.

```bash
mavproxy.py --out {Your IP adress}:14550
```

If you get this error:

```
LSM303D _read_data_transaction_accel: _reg7_expected unexpected
```

Try uninstalling and reinstalling the package:
```bash
pip uninstall mavproxy
pip install mavproxy
```

## Installation

Install geographiclib dependencies.
Expand Down
12 changes: 12 additions & 0 deletions src/pi/pixhawk_communication/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@

<depend>mavros</depend>

<!-- Dependencies for mavproxy -->
<depend>python3</depend>
<depend>python3-yaml</depend>
<depend>python3-opencv</depend>
<depend>python3-pip</depend>
<depend>python3-matplotlib</depend>
<depend>python3-lxml</depend>
<depend>python3-pygame</depend>

<!-- Dependencies for pymavlink -->
<depend>python3-future</depend>

<export>
<build_type>ament_python</build_type>
</export>
Expand Down
5 changes: 2 additions & 3 deletions src/surface/gui/gui/operator_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from gui.widgets.logger import Logger
from gui.widgets.tabs.general_debug_tab import GeneralDebugTab
from gui.widgets.float_comm import FloatComm
from gui.widgets.task_selector import TaskSelector
from gui.widgets.timer import InteractiveTimer
from PyQt6.QtWidgets import QGridLayout, QTabWidget, QWidget, QVBoxLayout

Expand All @@ -21,8 +20,8 @@ def __init__(self) -> None:
timer = InteractiveTimer()
main_layout.addWidget(timer, 0, 1)

task_selector = TaskSelector()
main_layout.addWidget(task_selector, 1, 1)
# task_selector = TaskSelector()
# main_layout.addWidget(task_selector, 1, 1)

self.float_comm: FloatComm = FloatComm()
main_layout.addWidget(self.float_comm, 0, 0)
Expand Down
2 changes: 1 addition & 1 deletion src/surface/ros2_video_streamer
2 changes: 2 additions & 0 deletions src/surface/transceiver/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<depend>rclpy</depend>
<depend>sensor_msgs</depend>


<exec_depend>ros2launch</exec_depend>
<exec_depend>python3-serial</exec_depend>

<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
Expand Down

0 comments on commit 7c90aca

Please sign in to comment.