-
Notifications
You must be signed in to change notification settings - Fork 463
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
ESP32 version :) #88
Comments
How is your "Spot" walking? Is it smooth and accurate yet? I seem to be
having a ton of trouble with the PCA9685 dropping data when pushed hard.
Also, even when working fine, the pulse width resolution is poor. I'm
building a replacement servo controller that runs on Raspberry Pico. It
will accept joint angles in radians, in the robot's joint frame and then
apply per servo calibration, enforce limits and then set the PWM. All
in Micropython. The code is to yet finished. Micropython is very
impressive. They even have a numpy port
Also, I notice many "Spots" have a mistake in inverse kinematics. Their
code assumes (wrongly) that the 1st and second axis intersect. They
don't. On SpotMicro the second axis is about 16 mm below the first. so
the leg has in effect FOUR, not three links and angles with one angle fixed
at 90 degrees. You can ignore this but then you never get accurate foot
placement. The same IK code keeps getting re-used and this error spreads.
…On Sun, Jan 1, 2023 at 6:51 AM antonioasaro ***@***.***> wrote:
I couldn't get my hands on a Pi4 so I decided to try to port everything to
the ESP32.
It took quite a while to get everything to work.
https://github.com/antonioasaro/spotmicro_ws
—
Reply to this email directly, view it on GitHub
<#88>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQKNRVWXHFYDPAVFVJMMTDWQGKY7ANCNFSM6AAAAAATOE3JLQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Chris Albertson
Redondo Beach, California
|
Hi Chris,
Here's a link to a YouTube video showing SpotMicro walking.
I think it's fairly smooth.
I did have issues with movement - e.g. staggered, jumpy.
But, I believe these issues were more power delivery related - e.g. servos drawing too many amps???
Anyways, I didn't write any of "base" SpotMicro code.
I only modified mike1492's code where I had too - e.g. #ifdef out unsupported ROS functions.
But I did review it and AFAICT, the inverse kinematics equations were similar to what I've seen others do.
Initially, my SpotMicro was taking some steps and falling over, like a drunk.
But after a full calibration, it was much better - again, see YouTube video link.
The calibration data goes into a spreadsheet that creates the params.h for the servos.
Hope that helps,
--Tony
https://www.youtube.com/watch?v=lUxBdqUD2ac
[https://www.bing.com/th?id=OVF.LPpykRwvCadQrGXLOkiiWw&pid=Api]<https://www.youtube.com/watch?v=lUxBdqUD2ac>
SpotMicro Walking<https://www.youtube.com/watch?v=lUxBdqUD2ac>
SpotMicro Walking (after following the proper calibration steps)
www.youtube.com
…________________________________
From: Chris Albertson ***@***.***>
Sent: January 1, 2023 1:07 PM
To: mike4192/spotMicro ***@***.***>
Cc: antonioasaro ***@***.***>; Author ***@***.***>
Subject: Re: [mike4192/spotMicro] ESP32 version :) (Issue #88)
How is your "Spot" walking? Is it smooth and accurate yet? I seem to be
having a ton of trouble with the PCA9685 dropping data when pushed hard.
Also, even when working fine, the pulse width resolution is poor. I'm
building a replacement servo controller that runs on Raspberry Pico. It
will accept joint angles in radians, in the robot's joint frame and then
apply per servo calibration, enforce limits and then set the PWM. All
in Micropython. The code is to yet finished. Micropython is very
impressive. They even have a numpy port
Also, I notice many "Spots" have a mistake in inverse kinematics. Their
code assumes (wrongly) that the 1st and second axis intersect. They
don't. On SpotMicro the second axis is about 16 mm below the first. so
the leg has in effect FOUR, not three links and angles with one angle fixed
at 90 degrees. You can ignore this but then you never get accurate foot
placement. The same IK code keeps getting re-used and this error spreads.
On Sun, Jan 1, 2023 at 6:51 AM antonioasaro ***@***.***> wrote:
I couldn't get my hands on a Pi4 so I decided to try to port everything to
the ESP32.
It took quite a while to get everything to work.
https://github.com/antonioasaro/spotmicro_ws
—
Reply to this email directly, view it on GitHub
<#88>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQKNRVWXHFYDPAVFVJMMTDWQGKY7ANCNFSM6AAAAAATOE3JLQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Chris Albertson
Redondo Beach, California
—
Reply to this email directly, view it on GitHub<#88 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABHWQUF3KSIBBC442RB2O3LWQHBXZANCNFSM6AAAAAATOE3JLQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I couldn't get my hands on a Pi4 so I decided to try to port everything to the ESP32.
It took quite a while to get everything to work.
https://github.com/antonioasaro/spotmicro_ws
The text was updated successfully, but these errors were encountered: