Home › Forums › Issues & Bugs › bruce无法平衡站立
- This topic has 16 replies, 3 voices, and was last updated 1 year, 5 months ago by
sjj.
-
AuthorPosts
-
July 13, 2023 at 7:36 am #198
sjj
KeymasterWe need to see what causes the error in the low-level thread.
1. Press Ctrl+Alt+T to leave the top-level window and do not quit bootup.sh.
2. In a new terminal, command “screen -r bruce -p low-level”. Now you can see what happened in the low-level thread.July 13, 2023 at 8:03 am #199ZhongLe Zhao
Participant1.Press Ctrl+Alt+T and nothing happens
2.khadas@Khadas:~/BRUCE/BRUCE-OP$ screen -r bruce -p low-level
There is a screen on:
2585.bruce (07/13/2023 03:59:24 PM) (Attached)
There is no screen to be resumed matching bruce.July 13, 2023 at 9:06 am #200sjj
Keymaster1. Let’s try Ctrl+A+D.
2. Same.July 19, 2023 at 4:12 am #203ZhongLe Zhao
Participantkhadas@Khadas:~/BRUCE/BRUCE-OP$ screen -r bruce -p low-level
There is no screen to be resumed matching bruce.July 20, 2023 at 1:34 am #204ZhongLe Zhao
ParticipantWhat should I do next?
July 20, 2023 at 4:00 am #205sjj
KeymasterI am so sorry. There is a typo in the command I gave, which should be “screen -r bruce -p low_level”. You can verify all the window names in the bootup.sh.
July 20, 2023 at 12:16 pm #207ZhongLe Zhao
Participantkhadas@Khadas:~/BRUCE/BRUCE-OP$ screen -r bruce -p low_level
There is no screen to be resumed matching bruce-
This reply was modified 1 year, 9 months ago by
ZhongLe Zhao.
July 20, 2023 at 12:21 pm #209ZhongLe Zhao
ParticipantThe result is the same. I don’t know why. Is it possible that the motor in the leg is broken?
July 21, 2023 at 2:23 am #210sjj
KeymasterMake sure you run the bootup.sh until the end and press Ctrl+A+D and do not quit. Then in a new terminal, command “screen -r bruce -p low_level”, which will lead you to the low-level thread. You can also check other threads, e.g., “screen -r bruce -p bear” will take you to the BEAR thread, which communicates with the motors of the leg.
If the motor in the leg is broken, BRUCE cannot initialize and stand at all.
July 21, 2023 at 2:43 am #211ZhongLe Zhao
ParticipantThe problem now is that the legs cannot be initialized and stand, the arms can be initialized. So, is the motor in the leg broken?
July 21, 2023 at 3:33 am #212sjj
KeymasterYou can find all the info related to the BEAR actuators here (https://www.westwoodrobotics.io/support/).
There are two main reasons why the legs cannot be initialized:
1. Motor error. You can check the LED on the motor when it is turned on. Green means good and red means error.
2. Communication error. The onboard laptop cannot find the motors.Either, you can run the BEAR thread to identify which error causes the issue. In the terminal, command “python3 -m Startups.run_bear”.
1. If the thread cannot run at all, it is communication error. You can try to replug the USB2BEAR dangle and check all the BEAR signal cables.
2. If the thread can successfully ping the motors, the error status will display and you can check Page 17 in the SDK mannual (English version) to identify the error.July 21, 2023 at 11:59 am #213ZhongLe Zhao
Participant1.Turn on the power, and the LED lights on the motor are both red and green.
2.When I type the following command:python3 -m Startups.run_bear,I get the following result:Pinging BEAR 01…
3.By the way, Will reversing the polarity of the power supply cause this kind of malfunction?July 22, 2023 at 4:26 am #214sjj
Keymaster1. So there is error.
2. This means the USB2BEAR dangle is good but cannot find BEAR 01. We need to find out where the connection is broken, i.e., which motor/signal is broken. The BEAR actuators are connected in a daisy chain and the sequence is 6,7,8,9,10,1,2,3,4,5. We can first try pinging BEAR 06. In the “Util” folder, edit line 22 of the “test_BEAR.py” file. Read only BEAR 06 instead of all, i.e., change “[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]” to “[6]”. Run the file by commanding “python3 -m Util.test_BEAR”. If everything until BEAR 06 is good, the communication frequency will be shown, otherwise error message. You can repeat these steps for the rest motors until you find the issue.
3. Yes, reversing the power supply can burn the powerhub and the microcontroller in the motor. The LED might survive tho. You can verify if the powerhub is fine by checking other components, e.g., IMU and foot contact.July 25, 2023 at 1:14 am #215xzhang
KeymasterHi Zhongle,
In this case, it seems like multiple components are damaged. Our CS rep has reached out to you to arrange OEM repair for you.
Thank you very much! We will try our best to get your BRUCE back to its best status ASAP.
November 29, 2023 at 11:46 am #224ZhongLe Zhao
Participant由于我不熟悉这个机器人的代码逻辑以及操作方式,所以有一下几处问题需要具体的回答:
1.不关闭screen的情况下,去BEAR的window看看有什么具体报错没有;
2.在没有任何程序运行的情况下,可以尝试Util/test_BEAR来看看BEAR是否有通信问题。
请问这两个步骤的具体代码命令是什么? -
This reply was modified 1 year, 9 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.