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

Commands not working #4

Open
lucasbrodo opened this issue Sep 26, 2023 · 5 comments
Open

Commands not working #4

lucasbrodo opened this issue Sep 26, 2023 · 5 comments

Comments

@lucasbrodo
Copy link

lucasbrodo commented Sep 26, 2023

Hello,

Thanks for your work.

I'm encountering problems when trying to run your code on the Unitree Go1 EDU. I put the robot into the low-level mode before running your commands.

I followed the installation instructions (I'm using Ubuntu 20.04 and ROS Noetic) but when I run roslaunch quad_utils test_remote_driver.launch, I have the following error and the robot in Rviz is not displayed correctly.

image
image

The installation steps I followed :

mkdir -p ~/quad_go1_ws/src
cd ~/quad_go1_ws/src
git clone https://github.com/mfclabber/quad-sdk_go1.git
cd quad-sdk_go1
cp -r /path/to/coinhsl ./external/ipopt/coinhsl # verify that quad-sdk/external/ipopt/coinhsl/ma27/ma27d.f is a valid path
chmod +x setup.sh && ./setup.sh
git clone https://github.com/unitreerobotics/unitree_legged_sdk.git
cd unitree_legged_sdk
mkdir build
cmake .. && make
cd ~/quad_go1_ws
catkin build || catkin_make

Did I miss something ? Should I use Melodic instead of Noetic ?

Thank you very much for your help.

@mfclabber
Copy link
Owner

Hello,

Thanks for your work.

I'm encountering problems when trying to run your code on the Unitree Go1 EDU. I put the robot into the low-level mode before running your commands.

I followed the installation instructions (I'm using Ubuntu 20.04 and ROS Noetic) but when I run roslaunch quad_utils test_remote_driver.launch, I have the following error and the robot in Rviz is not displayed correctly.

image image

The installation steps I followed :

mkdir -p ~/quad_go1_ws/src
cd ~/quad_go1_ws/src
git clone https://github.com/mfclabber/quad-sdk_go1.git
cd quad-sdk_go1
cp -r /path/to/coinhsl ./external/ipopt/coinhsl # verify that quad-sdk/external/ipopt/coinhsl/ma27/ma27d.f is a valid path
chmod +x setup.sh && ./setup.sh
git clone https://github.com/unitreerobotics/unitree_legged_sdk.git
cd unitree_legged_sdk
mkdir build
cmake .. && make
cd ~/quad_go1_ws
catkin build || catkin_make

Did I miss something ? Should I use Melodic instead of Noetic ?

Thank you very much for your help.

Hello, friend. You can watch this one issue

@lucasbrodo
Copy link
Author

lucasbrodo commented Oct 5, 2023

Hello friend. Thanks you for the tip !

However now, when running the ros commands for teleoperating the robot in Rviz only (roslaunch quad_utils quad_gazebo.launch robot_type:=go1, etc), the robot does not move. It can stand up using rostopic pub /robot_1/control/mode std_msgs/UInt8 "data: 1". The local planner and the teleoperation seem to work but no motion is applied to the robot after being standed up, despite giving velocity commands...

image

I also tried running on the real robot after putting it in low-level mode. I receive this error when executing roslaunch quad_utils test_remote_driver.launch :

image

Again, thanks for your help !

@mfclabber
Copy link
Owner

Привет, друг. Спасибо тебе за совет!

Однако теперь, при выполнении команд ros для телеуправления роботом только в Rviz (roslaunch quad_utils quad_gazebo.launch robot_type:=go1 и т.д.), робот не двигается. Он может встать с помощью rostopic pub /robot_1/control/mode std_msgs/UInt8 "data: 1". Локальный планировщик и телеоперация, похоже, работают, но после того, как робот встал, к нему не применяется движение, несмотря на то, что он подает команды скорости...

изображение

Я также пытался запустить реального робота после перевода его в низкоуровневый режим. Я получаю эту ошибку при выполнении roslaunch quad_utils test_remote_driver.launch :

изображение

Еще раз спасибо за вашу помощь !

You can check this answer

@nanbwrn
Copy link

nanbwrn commented Mar 31, 2024

hi, @lucasbrodo
Have you solved this problem based on the author's suggestions? I've encountered a similar issue, but so far, following the suggestions hasn't improved the situation.
thank you very much.

@nanbwrn
Copy link

nanbwrn commented Apr 24, 2024

hi,@lucasbrodo
I added the relevant paths in my .bashrc, then ran 'source ~/.bashrc'. However, when I rerun the 'quad_gazebo.launch' command, strangely, the robot model still does not display correctly in RViz. How did you resolve this issue?

Thank you for your reply.

6670e51d5d2fa321bc584a21ab582bd

0139888b9d698b6ddc1953cf6e6b574

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

No branches or pull requests

3 participants