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

HOW to run a Demo? #1

Open
Helen-Cheung opened this issue Apr 12, 2023 · 4 comments
Open

HOW to run a Demo? #1

Helen-Cheung opened this issue Apr 12, 2023 · 4 comments

Comments

@Helen-Cheung
Copy link

I am a beginner in ROS. May I ask why the quadruped robot does not move when I download the code and compile it according to the dependent environment? I found that the Scripts file in TROT-Q doesn't seem to be running.

@engcang
Copy link
Owner

engcang commented Apr 12, 2023

Hi @Helen-Cheung

If you look into this section of readme,
You should move Jackal mobile robot manually to escape, then the robot automatically tracks it.

This block of launch file should be changed to use your joystick.
If you do not have joystick. try to move jackal robot publishing /jackal/jackal_velocity_controller/cmd_vel topic in geometry_msgs/Twist type, as this does.

@Helen-Cheung
Copy link
Author

Hi @engcang
Thank you for your quick reply! I have used Joystick to control Jackal. But the situation is that only Jackal is moving, and Anymal will not follow it.
When I click gazebo_ros_control of 'anymal_b', a prompt appears on the command line.
Topic [/data://world/default/model/anymal_b/plugin/gazebo_ros_control/joint_cmd] is not valid.
If this is the cause of the problem?
Another question is, should I uncomment MPC_node and FAST-LIO in the main.launch file? I tried this, but still couldn't make Anymal move.
Thank you very much.

@engcang
Copy link
Owner

engcang commented Apr 12, 2023

@Helen-Cheung
Yeah, as you mentioned, those two lines should be uncommented in the main.launch file.

I just git cloned, built, and ran the code and it works properly.
If you launch both gazebo.launch and main.launch, do you see Rviz with OctoMap and object detection with YOLO?
if you cannot, please verify every nodes in the launch files work properly, which means you should check every requirements are installed well.

@engcang
Copy link
Owner

engcang commented Apr 16, 2023

@Helen-Cheung Any updates?

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

2 participants