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

Upgrade firmware needs to be ported to Python3 #149

Open
rohbotics opened this issue Aug 9, 2021 · 2 comments
Open

Upgrade firmware needs to be ported to Python3 #149

rohbotics opened this issue Aug 9, 2021 · 2 comments

Comments

@rohbotics
Copy link
Member

No description provided.

@JanezCim
Copy link
Contributor

One shady workaround, install python2 alongside python3 and update with that

sudo apt install python2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
pip2 install requests
pip2 install pyserial
python2 ~/catkin_ws/src/ubiquity_motor/scripts/upgrade_firmware.py --file  /home/ubuntu/catkin_ws/src/ubiquity_motor/firmware/v40_20201209_enc.cyacd

@JanezCim
Copy link
Contributor

JanezCim commented Mar 3, 2022

Just for future reference: Some work has been done on this on #152 but was stopped. As far as i remember @rohbotics has said that this would be a bigger project including huge changes in upgrade_firmware.py since changes from py2 to py3 were big.

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

No branches or pull requests

2 participants