This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deleted .vscode and stopped its tracking * Created a env_files dir to hold env files for all platforms * Implemented and tested bridge-gps * updated a rover requirement * Created a sphinx Documentation site that can auto load documentation from the docstrings * Added a sphinx build workflow script * Added a requirement to the theme * added explicit dependency to docutils to fetch the latest version * Specified docutils version * Trying to deploy from _build instead of build * Set build dirs in workflow * Switched to deploying from main * Wrote some doc string for a_star_navigator * Added dependencies * Removed pyqt6 dep * Removed RPi dep * Removed sambus dep * Back to min requirements * Added a few dependencies that i think wont break * Rendering sphinx from dev * Anything ending in 'env' in the proj root will be ignored * match files whose file extension ends in .*env * merge requirements.txt into the env files * update readme to reflect dual dependency files * Dev fixes before pull to main * Removed Wireless lidar from the list of lidars in lidar.py * Reenabled the hover to set goal option in Pathfinder Visualizer * remove unnecessary modules, test dependencies on pi (#111) --------- Co-authored-by: Rahul <[email protected]>
- Loading branch information
1 parent
8a65f21
commit 9b05b45
Showing
71 changed files
with
1,063 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "Sphinx: Render docs" | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build HTML | ||
uses: ammaraskar/sphinx-action@master | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: html-docs | ||
path: docs/_build/html/ | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.ref == 'refs/heads/dev' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: docs/_build/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import sys | ||
import requests | ||
import serial.tools.list_ports as port_list | ||
import os, sys | ||
sys.path.insert(0, os.path.abspath("..")) | ||
from proj_modules.Serial import SerialSystem | ||
|
||
if __name__=='__main__': | ||
port = "/dev/ttyUSB0" | ||
get_initial_commands_url = "http://192.168.1.133:5000/drive" | ||
|
||
web_response = requests.get(get_initial_commands_url) | ||
print("Getting data from: " + web_response.text) | ||
|
||
try: | ||
serial = SerialSystem(port, 38400) | ||
print("Using port: " + port) | ||
except: | ||
ports = list(port_list.comports()) | ||
print('====> Designated Port not found. Using Port:', ports[0].device) | ||
port = ports[0].device | ||
serial = SerialSystem(port, 38400) | ||
|
||
while True: | ||
web_response = requests.get(get_initial_commands_url) | ||
serial.read_write_serial(web_response.text) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import sys | ||
import requests | ||
import serial.tools.list_ports as port_list | ||
import os, sys | ||
sys.path.insert(0, os.path.abspath("..")) | ||
from proj_modules.Serial import SerialSystem | ||
|
||
if __name__=='__main__': | ||
port = "/dev/ttyUSB0" | ||
get_initial_commands_url = "http://192.168.50.243:5000/drive" | ||
|
||
web_response = requests.get(get_initial_commands_url) | ||
print("Getting data from: " + web_response.text) | ||
|
||
try: | ||
serial = SerialSystem(port, 38400) | ||
print("Using port: " + port) | ||
except: | ||
ports = list(port_list.comports()) | ||
print('====> Designated Port not found. Using Port:', ports[0].device) | ||
port = ports[0].device | ||
serial = SerialSystem(port, 38400) | ||
|
||
homing_end = "Starting control loop..." | ||
while True: | ||
response = serial.read_serial() | ||
if homing_end in response: | ||
while True: | ||
web_response = requests.get(get_initial_commands_url) | ||
serial.read_write_serial(web_response.text) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.