Skip to content

Instantly share code, notes, and snippets.

@sainquake
Created January 16, 2024 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sainquake/7f06a2425ee54178633eac60f9002608 to your computer and use it in GitHub Desktop.
Save sainquake/7f06a2425ee54178633eac60f9002608 to your computer and use it in GitHub Desktop.
<#
Run Next command in PowerShell first to enable executable scripts:
Set-ExecutionPolicy RemoteSigned
type: Yes
#>
$env:UAVCAN__CAN__IFACE = "slcan:COM16@1000000" # COM16 should be replaced with the exact name of your device.
$env:UAVCAN__CAN__MTU = "8"
$env:UAVCAN__CAN__BITRATE = "1000000 1000000"
$env:UAVCAN__NODE__ID = "127"
$env:CYPHAL_PATH = "C:\workspace\pycyphal\demo\public_regulated_data_types" #path should be replaced with the exact location of your compiled DSDL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment