mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-02-06 07:01:52 +08:00
Replace madcowswe with odriverobotics
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user