Replace madcowswe with odriverobotics

This commit is contained in:
Paul Guenette
2021-08-30 21:28:33 -04:00
parent 91cc3043dc
commit d383e7704c
3 changed files with 4 additions and 4 deletions

View File

@@ -9,5 +9,5 @@ try:
except ImportError as ex:
print(str(ex), file=sys.stderr)
print("Note that there are new compile-time dependencies since around v0.5.1.", file=sys.stderr)
print("Check out https://github.com/madcowswe/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.", file=sys.stderr)
print("Check out https://github.com/odriverobotics/ODrive/blob/devel/docs/developer-guide.md#prerequisites for details.", file=sys.stderr)
exit(1)

View File

@@ -163,7 +163,7 @@ class FirmwareFromGithub(Firmware):
"""
if self.hex is None:
print("Downloading firmware {}...".format(get_fw_version_string(self.fw_version)))
response = requests.get('https://api.github.com/repos/madcowswe/ODrive/releases/assets/' + str(self.github_asset_id),
response = requests.get('https://api.github.com/repos/odriverobotics/ODrive/releases/assets/' + str(self.github_asset_id),
headers={'Accept': 'application/octet-stream'})
if response.status_code != 200:
raise Exception("failed to download firmware")
@@ -178,7 +178,7 @@ class FirmwareFromFile(Firmware):
return self._file
def get_all_github_firmwares():
response = requests.get('https://api.github.com/repos/madcowswe/ODrive/releases')
response = requests.get('https://api.github.com/repos/odriverobotics/ODrive/releases')
if response.status_code != 200:
raise Exception("could not fetch releases")
response_json = response.json()

View File

@@ -12,7 +12,7 @@ def print_banner():
print("Docs: https://docs.odriverobotics.com/")
print("Forums: https://discourse.odriverobotics.com/")
print("Discord: https://discord.gg/k3ZZ3mS")
print("Github: https://github.com/madcowswe/ODrive/")
print("Github: https://github.com/odriverobotics/ODrive/")
print()
print('Please connect your ODrive.')