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

Change SSH username to nano@nano #200

Draft
wants to merge 1 commit into
base: ros2-devel
Choose a base branch
from
Draft

Conversation

jjaime2
Copy link

@jjaime2 jjaime2 commented Sep 28, 2024

Description

When attempting to run ada_feeding software on the real robot and with a device other than lovelace via python3 src/ada_feeding/start.py, the feeding screen session will attempt to connect to the Jetson Nano via ssh using the username nano. By default, this username will be expanded to include the system's username, e.g. for my device it expands to regulus@nano which does not exist. This PR addresses this issue by specifying the complete username to connect to as nano@nano.

Testing procedure

  • Launch the code in real
  • Connect to the camera screen session via screen -r camera
  • Verify that the command ssh nano@nano -t ./start_nano.sh is ran and providing the Jetson Nano SSH password connects successfully
  • Verify that the RealSense node launches successfully

Before opening a pull request

  • Format your code using black formatter python3 -m black .
  • Run your code through pylint and address all warnings/errors. The only warnings that are acceptable to not address is TODOs that should be addressed in a future PR. From the top-level ada_feeding directory, run: pylint --recursive=y --rcfile=.pylintrc ..

Before Merging

  • Squash & Merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant