Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the installation docs with a recommendation on how to initialize the environment variables #33

Closed
pavel-kirienko opened this issue Nov 29, 2021 · 0 comments · Fixed by #35

Comments

@pavel-kirienko
Copy link
Member

pavel-kirienko commented Nov 29, 2021

Example for SLCAN:

# Common UAVCAN register configuration for testing & debugging.
# Source this file into your sh/bash/zsh session before using Yakut and other UAVCAN tools.
# Other helpful commands:
#   canbusload -tcbr slcan0@1000000 slcan1@1000000
#   candump -decaxta any

export UAVCAN__CAN__IFACE='socketcan:slcan0 socketcan:slcan1'
export UAVCAN__CAN__MTU=8
export UAVCAN__NODE__ID=$(yakut accommodate)

echo "Auto-selected node-ID for this session: $UAVCAN__NODE__ID"

function init_slcan()
{
    # https://gist.github.com/pavel-kirienko/32e395683e8b7f49e71413aebf5e1a89
    sudo setup_slcan -r /dev/serial/by-id/usb-Zubax*Babel*
}
@pavel-kirienko pavel-kirienko self-assigned this Nov 29, 2021
pavel-kirienko added a commit that referenced this issue Dec 21, 2021
pavel-kirienko added a commit that referenced this issue Dec 22, 2021
* Update PyUAVCAN requirement extras

* Fix error in the docs for the file server

* Bump dependencies

* Fix asyncio usage issues that are incompatible with 3.10

* Upgrade to Click 8

* Enable 3.10 in CI

* Fix #29

* Fix #33

* Use importlib resources for reading the package version string

* Update docs & tests to showcase shorthand object init; this requires PyUAVCAN v1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant