-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello,
I have been having trouble trying to run and test the code for this project and I am currently running on 24.04 LTS version of Ubuntu. When setting up software dependencies I have followed these steps .
- - Clone this repo
git clone https://github.com/hrc2/blossom-public/
- -Download miniconda in order to run
Python 3.5.2
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
- Create an environment using conda and activate it.
conda create -n blossom_env python=3.5.2 -c conda-forge -y
conda activate blossom_env
- Install the dependencies
pip install -r requirements.txt
Calibrate motors
I am using a computer connected to U2D2, USB pigtail connected to the power source, and Dynamixel XL-320motors connected to the U2D2 and USB pigtail
Following
https://docs.google.com/presentation/d/1g5RqoF_3xt6z6RvbIo_sDCCCWvMbcokz0HMdGt5Rlj0/edit?slide=id.g305fe607743_0_0#slide=id.g305fe607743_0_0
and also
To calibrate your motors using the motor_calib.py script:
-
Connect everything (U2D2 to computer, USB to power source, motor to U2D2 and USB)
-
Make sure the Conda environment is activated:
conda activate blossom_env
-
Run the script:
python motor_calib.py
If you see an error like:
Error: could not open port. You may need to run sudo chmod 777 /dev/ttyACM0
Run the following to grant access:
sudo chmod 777 /dev/ttyACM0Replace
/dev/ttyACM0with your actual device name (e.g./dev/ttyUSB0). You can find it using:ls /dev/tty*
Please help point out the issue!
TLDR: Unable to run motor_calib.py, is it problem with python or wiring.


