Closed devemin closed 2 years ago
We have the same issue as @devemin. We tried all examples but none of them work as expected, although UDP connection seems work fine and is able to receive the values from IMU. We tried to run the examples in the internal Raspberry and from an external device through an Ethernet cable, but both are not working. Is there something tricky we missed? Please help. Thanks.
我們是大學的研究部門,同樣遇到問題。程式能收到UDP發出來的IMU數值,但是機器狗對發出的CMD完全沒有反應。我們嘗試用內建的樹莓派及網線接駁另一台電腦執行示範程序,兩者同樣失敗。請問我們是否遺留了什麼?請幫忙,謝謝。
Please make sure that the Go1 is an EDU version.
Please make sure that the Go1 is an EDU version.
It should be the Edu version as our University bought the Go1 for a while and we have the development docs. And as I remembered Unitree team members Ackles and Irving (sorry if I misspell their names) told us we can ask in here if we got development problems. Thanks.
OK, let check it one by one.
OK, let check it one by one.
- Is it EDU version?
- After reboot, can this robot auto standup and control by gamepad? This will diagnose if the sport mode still works.
- $ cd ~/Unitree/autostart/sportMode $./bin/Legged_sport -v Then check the sport mode version. It should seems like _Leggedsport version:x.xx I need this version to assure the according firmware version.
- Can the origin sdk examples work? You can find it at ~/Unitree/sdk/unitree_legged_sdk
- When tried the SDK, please quit sport mode to normal node, then run _examplevelocity to check if low-level control work.
Thanks for your prompt reply. We will go through the process you suggested.
Just a quick question, our professor just reminded me he downloaded the firmware and packages from Unitree website and updated the robot last month. Knowing that we got some exclusive materials for the edu version, would the firmware and packages downloaded from the public website (it doesn’t specify whether the updates are for air, pro, or edu) mess things up? Thank you.
The update about firmware and software are not distinguish AIR or EDU version. The version message is flash loaded when manufactured, and upper software has different reaction to different version. Did the low-level works before professor upgrade the firmware?
Use methods at Go1_update to check versions. A screenshot is good.
I was also having troubles with this. However, the robot seemed to work fine when setting the levelFlag to 0.
cmd.levelFlag = 0;
It also seems to work with cmd.levelFlag = LOWLEVEL;
or cmd.levelFlag = TRIGGERLEVEL;
or in fact with anything other than the default HIGHLEVEL
value.
@devemin
Hello @Affonso-Gui
I got success to moving with example_walk.cpp (High-level) !! Grateful thanks!
But example_position / velocity / torque was not worked.
Can you give me some advice ? Thanks.
[supplementary explanation]
I added 'cmd.levelFlag = 0; (or LOWLEVEL or TRIGERLEVEL )' at Line No.64 in example_position.cpp. (and I tried 'cmd.motorCmd[FR_0].mode = 0x0A; ( or 0x00) ' )
But It is not work.
Actually I haven't tried the other examples yet, but I'll have a look!
When command with low-level control, please make sure the robot has quit sport mode, and command with high-level control, please make sure the robot is under sport mode.
@TrivasZhang
Hello.
In the Go1 documents, No description about how to change the mode (sport / normal). It confuse me.
Could you tell me about how to change the mode ?
(And maybe Unitree should modify or add the document :-) )
Masahito
switch sport mode(HighLevel mode) to normal mode(LowLevel mode) L2+B (switch to damping mode) L1+L2+START (switch to normal mode) L2+B twice (swtich to damping mode with noise) L2+A twice (switch to stand postion)
switch normal mode(LowLevel mode) to sport mode(HighLevel mode) L2+B (switch to damping mode) L1+START (switch to sport mode)
@Iron-Fatty I got it, thanks.
I tried this. When I pushed the button L1+L2+START, the robot was quiet.
And I executed 'sudo ./example_position ', But It was not work.
I think this is a function limitation resulting from differences in product lineup models maybe. (I am using Go1 pro. Maybe low-level mode need Edu ).
I will use High-level mode. Thank you!
Hello unitree and every user,
I got my Go1 Pro . It's very nice :-)
I tried to use this unitree_legged_sdk, and execute the 'example_walk' source with sudo, on the Go1's Raspberry pi.
I received the state value (IMU or rotation or velocity). But when I send the command (LED, torque, High-level mode), No reaction happen at LED or Motors...
[ Question ] Is this the limitation of the model's firmware ?
Can I move the Go1 Pro with C++ source ? Which port No. should I send the command ? (192.168.123.161:8082, right ?)
Could you tell me about this ?
This is the source. (About version: I modified the one that was already in the home directory of the Raspberry Pi.)
tried source. click this triangle.
``` /***************************************************************** Copyright (c) 2020, Unitree Robotics.Co.Ltd. All rights reserved. ******************************************************************/ #include "unitree_legged_sdk/unitree_legged_sdk.h" #includeAnd I show the point of edited source.
I received the state (IMU, motor angle). But LED didn't flash and Motor Didn't move .
Thanks.
devemin