April, 2021
Supervisors: Victor Barasuol, Michele Focchi, Andreea Radulescu, and Claudio Semini
Dynamic: They can change or move.
Unexplored: The robot has not traversed it before.
Uncertain: In scenarios where vision is denied, or when the robot's perception is noisy.
Relies on the internal robot measurements to acquire the terrain information.
Relies on directly acquiring the terrain information mainly using the robot's vision.
7
Barasuol 2019
Focchi 2013
M. Focchi et al., Local Reflex Generation for Obstacle Negotiation in Quadrupedal Locomotion, CLAWAR, 2013.
V. Barasuol et al., On the detection and localization of shin collisions and reactive actions in quadruped robots, CLAWAR, 2019.
8
Barasuol 2015
Villarreal 2019
V. Barasuol et al., Reactive Trotting with Foot Placement Corrections through Visual Pattern Classification, IROS, 2015.
O. Villarreal et al., Fast and Continuous Foothold Adaptation for Dynamic Locomotion through CNNs, RA-L, 2019.
9
Visual feedback is denied (smoky areas, or areas with thick vegetation).
Terrain map is unreliable.
Limited to corrective actions (step reflexes).
Do not act on what is ahead of the robot.
10
Passive Whole-Body Control (pWBC)
STANCE: Locomotion Adaption over Soft Terrain
On State Estimation for Legged Robots over Soft Terrain
ViTAL: Vision-based Terrain-Aware Locomotion
Control
State Estimation
Planning
Proprioception
Vision
Physical Properties
Friction
Impedance
Geometry
Using Optimization and Machine Learning
To achieve dynamic locomotion, the robot should:
Track the desired reference trajectories.
Maintain balance.
Reason about the robot's (full) dynamics and limits.
To achieve TAL, the robot should reason about the contact interaction such as the terrain's inclination and frictional properties, etc.
How to deal with all these objectives in an optimal way?
A Whole-Body Control (WBC) Framework.
14
Locomotion Planner [1]-[3]
State Estimator [4]
WBC
Low-level Control [5]
[1] B. Aceituno-Cabezas et al., Simultaneous Contact, Gait and Motion Planning for Robust Multi-Legged Locomotion via Mixed-Integer Convex Optimization, RA-L 2017.
[2] C. Mastalli et al., Trajectory and Foothold Optimization using Low-Dimensional Models for Rough Terrain Locomotion, ICRA, 2017.
[3] M. Focchi et al., Heuristic planning for rough terrain locomotion in presence of external disturbances and variable perception quality, STAR, 2020.
[4] S. Nobili et al., Heterogeneous sensor fusion for accurate state estimation of dynamic legged robots, RSS, 2017.
[5] T. Boaventura et al., Modelbased hydraulic impedance control for dynamic robots," T-RO, 2015.
15
Execute the planned trajectories of the body and swinging leg (control tasks).
Keep the robot balanced.
Respect the un-actuated part of the dynamics.
Respect the robot's actuated part of the dynamics, and the joint & torque limits.
Respect the contact constraints due to the interaction with the terrain.
Maintain contact consistency.
Cast these objectives as an optimization problem via Quadratic Programming (QP).
Map the solution to joint torques using inverse dynamics.
1. Control Tasks Tracking
2. Physical Consistency
3. Joint & Torque Limits
4. Friction Constraints
5. Unilaterality Constraints
6. Stance Task
16
1. Control Tasks Tracking
2. Physical Consistency
3. Joint & Torque Limits
4. Friction Constraints
5. Unilaterality Constraints
6. Stance Task
17
B. Aceituno-Cabezas et al., Simultaneous Contact, Gait and Motion Planning for Robust Multi-Legged Locomotion via Mixed-Integer Convex Optimization, RA-L 2017.
C. Mastalli et al., Trajectory and Foothold Optimization using Low-Dimensional Models for Rough Terrain Locomotion, ICRA, 2017.
18
pWBC versus a quasi-static WBC from [1]
[1] M. Focchi et al., High-slope terrain locomotion for torque-controlled quadruped robots, AuRo, 2017.
19
Torque Limits
Kinematic Limits
Hip Adduction-Abduction (HAA)
Hip Flexion-Extension (HFE)
Knee Flexion-Extension (KFE)
20
21
22
S. Fahmi, C. Mastalli, M. Focchi, and C. Semini, “Passive Whole-Body Control for Quadruped Robots: Experimental Validation over Challenging Terrain,”
IEEE Robot. Automat. Lett. (RA-L), vol. 4, no. 3, pp. 2553–2560, Jul. 2019,
doi: 10.1109/LRA.2019.2908502.
26
27
Passive WBC (pWBC) = Standard WBC (sWBC)
Reformulate the sWBC to account for the contact dynamics
C3 = compliant contact consistent
How will the new WBC know about the current terrain impedance parameters?
C3 = compliant contact consistent
Feedback the terrain impedance parameters using a Terrain Compliance Estimator (TCE)
C3 = compliant contact consistent
Simultaneously, at every control loop
Over soft terrain, the stance feet are non-stationary.
The stance task does not hold anymore.
We use the KV model.
C3 Stance Task
The stance task of the sWBC.
To be compliant contact consistent (C3), we need to model the soft contact dynamics.
34
35
Now, the WBC is C3, but it still needs the terrain impedance parameters.
The goal of the TCE is to estimate the terrain parameters online based on the current measurements (states), and feed them back to the C3WBC.
The TCE is decoupled from the WBC but uses the same contact model (KV model).
36
We start with the contact model.
We need to estimate these parameters.
So we first need to measure or estimate these variables.
Then, we can solve for the model's parameters using linear regression.
37
38
39
40
41
42
43
44
45
† S. Fahmi, M. Focchi, A. Radulescu, G. Fink, V. Barasuol, and C. Semini,
“STANCE: Locomotion Adaptation over Soft Terrain,” IEEE Trans. Robot. (T-RO), vol. 36, no. 2, pp. 443–457, Apr. 2020, doi: 10.1109/TRO.2019.2954670.
† Selected as a finalist for the IEEE RAS Italian Chapter Young Author Best Paper Award 2020, and for the IEEE RAS Technical Committee on Model-Based Optimization for Robotics Best Paper Award 2020.
High frequency: IMU, kinematic measurements (leg odometry), etc.
Low frequency: cameras & lidars.
48
G. Fink et al., Proprioceptive Sensor Fusion for Quadruped Robot State Estimation, IROS, 2020.
Base acceleration: IMU
Joint Angles: absolute & relative encoders
Joint Torques: load cells & one torque sensor
Attitude Observer: NLO + XKF
Sensor Fusion: Kalman Filter
Leg Odometry: GRFs + LO
49
50
Specific force (acc. + gravity) in the gravity aligned frame
GRFs of the LH leg in the gravity aligned frame
Linear position & velocity of the base
High acceleration peaks over rigid terrain.
Smoother GRFs over soft terrain. Contact is no longer binary.
Larger leg odometry errors over soft terrain.
Larger position drift over soft terrain.
52
S. Fahmi, G. Fink, and C. Semini, “On State Estimation for Legged Locomotion over Soft Terrain,” IEEE Sensors Lett. (L-SENS), vol. 5, no. 1, pp. 1–4, Jan. 2021, doi: 10.1109/LSENS.2021.3049954.
Plan the feet & base states simultaneously.
Separate the plan into feet & base plans.
Planning the feet motion ⇒ foothold selection
Planning the body motion ⇒ pose adaptation
55
Planning the feet motion ⇒ foothold selection
Esteban 2020
Better Evaluation Criteria
Improved CNNs
Villarreal 2019
Better Evaluation Criteria
Self-supervised via CNNs
Barasuol 2015
Simple Evaluation Criteria
Expert demonstrations
V. Barasuol et al., Reactive Trotting with Foot Placement Corrections through Visual Pattern Classification, IROS, 2015.
O. Villarreal et al., Fast and Continuous Foothold Adaptation for Dynamic Locomotion through CNNs, RA-L, 2019.
D. Esteban et al., On the Influence of Body Velocity in Foothold Adaptations for Dynamic Legged Locomotion via CNNs, CLAWAR, 2020.
56
Goal: Select footholds based on the terrain information and the robot's capabilities.
57
M. Kalakrishnan et al., Learning, planning, and control for quadruped locomotion over challenging terrain, IJRR 2011.
P. Fankhauser et al., Robust Rough-Terrain Locomotion with a Quadrupedal Robot, IROS, 2018.
Kalakrishnan 2011
Fankhauser 2018
58
Goal: Adapt the robot's pose based on the terrain information and the robot's capabilities.
The problem with current pose adaptation strategies is that they focus on finding one optimal solution based on given selected footholds.
First, the footholds are selected.
Then, the pose is optimized based on that.
What if the given footholds not reached (if the robot gets disturbed)?
The robot may end up in a state with no reachable safe footholds.
59
Propose a different paradigm for pose adaptation.
Instead of finding body poses that are optimal w.r.t given footholds,
we find body poses that will maximize the chances of the robot to reach safe footholds.
Put the robot in a state that if it gets disturbed, it remains around a set of solutions that are still safe & reachable.
60
Vision-Based Foothold Adaptation (VFA)
Vision-Based Pose Adaptation (VPA)
Foothold Evaluation Criteria (FEC)
What the robot is capable of doing?
62
Rejects footholds that cause foot trajectory collision.
Rejects footholds that are outside the workspace during the entire gait phase.
Rejects footholds that cause leg collision with the terrain.
Rejects footholds that are near holes, spikes, edges, and corners.
63
64
65
First, we extract heightmaps that are centered around the projection of the leg hip location.
66
Then, the pose evaluation stage will evaluate the criteria for all the samples of the hip heights.
The pose evaluation stage will output samples of number of safe footholds.
67
The output of the function approximation is
These samples are then used to approximate a continuous function of the number of safe footholds at the function approximation stage.
68
Finally, the pose optimization stage finds the optimal pose that maximizes for all of the legs
69
Height
Roll
Pitch
70
71
hind hips rising up
hind hips lowering down
front hips rising up
front hips lowering down
72
O. Villarreal et al., MPC-based Controller with Terrain Insight for Dynamic Legged Locomotion, ICRA, 2020.
73
74
75
76
78
78
We presented ViTAL, a decoupled visual planning strategy
ViTAL consisted of :
VFA for foothold selection
VPA for pose adaptation
Introduced a different paradigm in pose adaptation
Finds the body poses that maximize the chances of the legs to succeed in reaching safe footholds
FEC (notion of safety) that characterizes the robot's capabilities
79
ViTAL allows HyQ and HyQReal to traverse a wide variety of terrains under various forward velocities.
These terrains included stairs, gaps, etc.
Forward velocities varied from 0.2m/s to 0.75 m/s.
We showed that the VPA resulted in body poses that are aware of the terrain, and of what the robot and its legs can do.
The VPA puts the robot in a pose that provides the feet with higher number of safe footholds which allows the robot to succeed unlike the baseline that fails.
80
S. Fahmi, D. Esteban, O. Villarreal, C. Semini, and V. Barasuol, “ViTAL: Terrain-Aware Locomotion Planning for Legged Robots,” May. 2021.
Passive Whole-Body Control (pWBC)
STANCE: Locomotion Adaption over Soft Terrain
On State Estimation for Legged Robots over Soft Terrain
ViTAL: Vision-based Terrain-Aware Locomotion
Control
State Estimation
Planning
Proprioception
Vision
Physical Properties
Friction
Impedance
Geometry
Using Optimization and Machine Learning
Relies on inverse dynamics, can we learn these dynamics or contact interaction
STANCE made the WBC c3, can we have a c3 MPC-based controller?
Improving the state estimator, contact dynamics in legged odometry?
Experiments
Analysis of the CNNs
84
S. Fahmi, D. Esteban, O. Villarreal, C. Semini, and V. Barasuol, "ViTAL: Vision-based Terrain-Aware Locomotion Planning for Legged Robots," to be published, May 2021.
S. Fahmi, G. Fink, and C. Semini, "On state estimation for legged locomotion over soft terrain," IEEE Sensors Letters (L-SENS), vol. 5, no. 1, pp. 1-4, Jan. 2021.
D. Esteban, O. Villarreal, S. Fahmi, C. Semini, and V. Barasuol, "On the influence of body velocity in foothold adaptation for dynamic legged locomotion via cnns," in Proc. International Conference on Climbing and Walking Robots (CLAWAR), Moscow, Russia, Aug. 2020, pp. 353-360.
† S. Fahmi, M. Focchi, A. Radulescu, G. Fink, V. Barasuol, and C. Semini, "STANCE: Locomotion adaptation over soft terrain," IEEE Transactions on Robotics (T-RO), vol. 36, no. 2, pp. 443-457, Apr. 2020.
C. Semini, V. Barasuol, M. Focchi, C. Boelens, M. Emara, S. Casella, O. Villarreal, R. Orsolino, G. Fink, S. Fahmi, G. Medrano-Cerda, and D. G. Caldwell, "Brief introduction to the quadruped robot HyQReal," in Italian Conference on Robotics and Intelligent Machines (I-RIM), Rome, Oct. 2019, pp. 1-2.
S. Fahmi, C. Mastalli, M. Focchi, and C. Semini, "Passive whole-body control for quadruped robots: Experimental validation over challenging terrain," IEEE Robotics and Automation Letters (RA-L), vol. 4, no. 3, pp. 2553-2560, Jul. 2019.
† This work has been selected as a finalist for the IEEE RAS Italian Chapter Young Author Best Paper Award 2020, and for the IEEE RAS Technical Committee on Model-Based Optimization for Robotics Best Paper Award 2020.
85
April, 2021