mike4192 / spotMicro

Spot Micro Quadruped Project
MIT License
1.85k stars 457 forks source link

How can I simulate the motion of robot? #72

Closed iamchien closed 3 years ago

iamchien commented 3 years ago

Hi @mike4192, spotMicro developers!

I'm quite new here. I'm so excited about this project and really want to build and try it for myself. Now, I'm making a code for controlling the motion of my fake robot via the keyboard. Because I wanted to have a concrete set of steps, so I read your documentation, but I don't know how to run that type of control with your robot, like the gif below. How can I do?

Thanks. gif

iamchien commented 3 years ago

I mean, I just want to control the fake robot, not by displays a 3d model of the robot with state updates in real-time. Unfortunately, because of COVID-19, I can't make a real robot, so everything is simulated.

iamchien commented 3 years ago

Can I have your email address? I'll contact you via email because my question is not really an issue.

iamchien commented 3 years ago

@sbias it seems mike didn't see this issue, could you help me? Or can I have your email address?

mike4192 commented 3 years ago

Unfortunately I'm not really sure what you are asking. I think you are asking how to control a simulated version of the robot, but without this repos control software? This is not exactly trivial, and unfortunately I am not willing to hand hold someone through the process of setting it up as it would take a substantial amount of time.

I will leave you with at least the following info:

iamchien commented 3 years ago

I saw you say: " run_rviz:=true Starts RVIZ and displays a 3d model of the robot with state update in real-time." But this time I don't have a real one, then I ask to do a fake robot that can do some gaits by following a designed trajectory.

I found another repo and can do rest_mode over a keyboard (they use joystick).

Thanks for replying.