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

hope to support nano / xaiver nx / orin nx / Tx2 nx for PCBA nor just rpi4 #22

Open
ncnynl opened this issue Sep 23, 2023 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ncnynl
Copy link

ncnynl commented Sep 23, 2023

I have several standard versions of turtlebot4 here, but only Raspberry Pi supports PCBA for SBC. Can other SBCs be added?

@ncnynl ncnynl added the enhancement New feature or request label Sep 23, 2023
@ncnynl ncnynl changed the title hope to support nano / xaiver nx / orign nx / Tx2 nx for PCBA nor just rpi4 hope to support nano / xaiver nx / orin nx / Tx2 nx for PCBA nor just rpi4 Sep 23, 2023
@roni-kreinin
Copy link
Contributor

@ncnynl We do not officially support any other SBCs but you can definitely attempt to get TTB4 working on one.

I would first check that the SBC power requirements can be supported (https://turtlebot.github.io/turtlebot4-user-manual/electrical/power_budget.html).

Then, you will need to install a fresh Ubuntu image and try to run the image setup script. You may need to modify this script for your SBC.

You will also need to modify the pinout for the turtlebot4 base node:

I can't guarantee that the GPIO library we use will work for other SBCs, so you may need to modify the node itself.

Let me know if you have any questions.

@ncnynl
Copy link
Author

ncnynl commented Sep 25, 2023

@roni-kreinin I have completed the integration of related nx. At present, here is our improved code and some instructions.

turtlebot/turtlebot4#278

@ncnynl
Copy link
Author

ncnynl commented Sep 25, 2023

@roni-kreinin

For the power supply, although PCBA can be used for unified power supply, I use independent lithium battery for power supply, which can increase the battery life of the chassis.

The definition of the pin can be modified in turtlebot4.yaml. Most of them are suitable for use, and currently 16 pins are mainly used. The i2c pins require jumpers, so the PCBA cable cannot be directly plugged into the NX and can only be connected separately.

The software also needs some changes. Because the original code has many fixed values for the Raspberry Pi, it also needs to be changed to configurable, and the configuration is unified in turtlebot4.yaml.

The overall difficulty lies in finding the corresponding relationship between the NX pins and the Raspberry Pi pins. This took a lot of time. Other changes are not too difficult.

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

No branches or pull requests

2 participants