Machine Learning in Robotics
Transcript
2:05, so let's get started. Thanks for coming. And then I would like to introduce our today's speaker in the robotic seminar. Sethu Vijayakumar is professor in University of Edinburgh, and then director of the Center of Edinburgh Robotics. He got PhD in Tokyo Institute of Technology and worked on many famous humanoid, including Schimmel and Valkyrie. And he's an expert in machine learning but trying to apply in the real world machines. So you're going to hear a very interesting aspect today.
Thank you very much, Sethu. Thank you, [INAUDIBLE],, for the invitation. It's a great pleasure to be back at MIT. And I'm very glad to be able to talk to you guys at exciting time in robotics at the moment. And as [INAUDIBLE] briefly mentioned, my interests lie at the intersection of robotics and machine learning. So I trained as a machine learning person, doing statistical machine learning. But the real interesting aspect of the problems in robotics today is that it's not just hardware capabilities
that we need to focus on, but we also need to try and look at how we can build smart these machines. And the way we can do that is by taking some inspiration from data-driven techniques in machine learning. And that's really the focus, that's really the USP of the work that we do in our group at Edinburgh. So just a quick mild introduction to Edinburgh itself. I'm not sure of how many of you have visited Edinburgh. It's a beautiful city with some lovely old historic buildings not unlike Boston.
And the university is one of the a ancient universities in the UK, established in 1583. So we live in a slightly more modern building in School of Informatics here. And our research landscape at the School of Informatics is actually one of the largest departments of informatics in Europe, covers a significant range of topics, which are just listed here. And we're kind of clustered into different institutes that interact very closely. So that's just to give you an idea of the broader picture
of what happens in Edinburgh. So now, I don't think I need to emphasize this to the crowd here, but robotics is becoming ubiquitous in many different walks of life, all the way from more traditional areas, where you're using it for things, like manufacturing, underground mining, to more innovative areas, like agriculture, smart cities, autonomous transport, even the surgical side, so health care, and the third image on the right. Does anybody recognize what that is? Any guesses?
The blue, this bluish image there. Any ideas? That's correct. It's inside the core of a nuclear reactor. So this is a significant problem in the UK, in other parts of the country, in nuclear decommissioning. So we've spent a huge amount of effort building up nuclear capabilities, but we're now left with many a nuclear plants that have passed their life. But we don't know how to decommission them, how to effectively safely decommission them, economically decommission them. So these are some of the areas that we've
been looking at working in using robots to assess and help. So if you think about where robotics is going, so it's not a new area we've been working on this for the past 50, 60 years. But traditionally, robots used to be operated using concepts of teleoperation, where you either give-- using either kinesthetic demonstrations or some other programming methods. We tell it exactly how to do things. There's no significant emphasis on increasing autonomy in these robotic platforms.
And there's lots of research around the world which focuses on that. But really, the challenge in the next sort of 10 to 15 years is going to be somewhere in between what I call shared autonomy here, where even within a single task, we need to be able to seamlessly move between significant autonomous behaviors to large amounts of human input and human teleoperation. So there are scenarios where we want to reduce cognitive load and the people operating the systems by increasing autonomy,
but at the same time, we want to make sure human input is taken into account while ensuring that we're doing the right kind of things. So shared autonomy is a significant bigger challenge than either of the two extremes. Because now, you have to deal with human input in the loop during the control system. So it's not a single independent system that's working on its own where you can understand the dynamics and the kinematics, contact forces, and create algorithms to deal with it.
You need to take into account user intentions. You need to take into account adversarial and cooperative behaviors as well as you need to take into account scenarios where forces from two different agents are interacting on the same device. So that's a challenge. So here's a list of things that I think are the reason why robotics is challenging now so full autonomy in waiting for full autonomous behaviors is going to be a big challenge because of all these issues we
have robots which closely interact with multiple objects you've got noisy sensing of ambiguity you've got how to model dynamics. We need guarantees for safe operations for robots to be introduced into the environment. At the same time we have un-modelled user intentions in constrained environments. So on the side, you see a collection of topics that we work on at Edinburgh all the way from prosthetic exoskeletons to some aspects of software stacks with self-driving cars, some field
robotics with our collaborators at Harriet Watt, some aspects of inspection integrity, medical robotics, service robotics, and nuclear decommissioning, as I mentioned, and another project with the NASA humanoid, which some of you here are aware of, because MIT has been working on similar projects as well. So what I'm going to do next in the 40 minutes or so is to give you examples of some projects that we've been looking at and then talk to you a little bit about the underlying science that
enables those projects to succeed, or at least create proof of concepts. So the first of those is what I call shared autonomy for remote operations. And the concept is fairly straightforward. You want to have remote operations, or what we call assisted teleoperation with autonomous behaviors, when there is no direct line of sight and you have computational bottlenecks and you also have transmission delays. So under those circumstances, we need
to be able to create systems that can take low bandwidth user input while making sure significant aspects happen autonomously. So what you're going to see in the little movie here is a proof of concept where the screen on the right is what the user sees as console, and what's happening on the left is what the robot is doing. And this can be separated either by it could be in another room, it could be in another city, it could be another planet. So the idea is a significant autonomy
in terms of navigation, obstacle avoidance, deciding which arm to use to clear debris, figuring out how to maintain balance-- well, in this case, it's not so hard, because it's a field robot. So all of those things are done fully autonomously. But the humans still have control over designing high level goals in terms of pick this object, drop it here, creating some intermediate elements of control. And so that is the kind of capability that needs to be enabled for operations
in dangerous situations, like a nuclear decommissioning scenario. So to make a capability like that happen, what are the scientific elements we need to work on or that we've been working on is what I'm going to address next. So to begin with, of course, there is the aspect of real time sensing and acting with feedback. I must admit at the outset that our group are not experts at sensing, so we use fairly off the shelf methods-- standard off the shelf methods.
But there are a few innovations that we've been looking at. So for example, if you want to take a view of the robots to the robot's eyes like this-- this, all of you would recognize, is an RGBD image. So this is what the robot sees naively. So going from such naive sensing images to things like detecting what is an object, what are avoidances, how to grasp it is a big challenge. So one of the things that we've been doing is looking at using model-based visual tracking of objects
to deal with-- and this is Bayesian inference based techniques to deal with things like occlusion, things like clutter, things like when things become significantly out of the depth of the camera image. And how can we do this tracking of objects of interest in real time while making sure that it's fast enough that we can change the control loop to be able to adjust for a movement? So that's examples of work that we've been doing on model-based methods. I should switch this off. Is that right?
I think it's better this way. Yeah perfect. And the other bit that you see just down here is that the previous image had the camera static. Now the camera itself is moving. If you mount a camera on a robot, obviously, we can't expect the frame to be still. So to be able to do this real time tracking and this model-based tracking and to do reactive control while the camera is moving is a big challenge. So this is some work that we've been doing on model-based tracking systems.
So the other bit-- the video, I wanted to particularly play this video because this is out of MIT. And so this was work done as part of the Doppler Robotics Challenge, but this was done in collaboration with some of the people in Edinburgh, including people like Morris Fallon and some of our other colleagues, and some people from my group. In this case, this is an example of how we can use real time sensing to do footstep planning-- so short horizon footstep planning
with real time feedback and control. So if you break this down into the steps required for this to happen, you need to have the ability to do real time sensing. So here's, in this case, it's short horizon footstep planning taking stability and real time feedback into consideration. This is more on the terrain segmentation and visual processing side of things. So how do you take sensor data, break it up into planes, do plane fitting with it, understand where are steppable areas, and then do
planning on top of that. So this shows you examples of the full control loop from sensing, navigation, real time control to RL. So how do we actually realize something like that? So one of the platforms-- and again, this is open source. Please feel free to download this, try this out. There's lots of documentation, lots of examples. So one way of dealing with that is by making sure a complex motion planning problem like this is appropriately separated into tangible, manageable bits.
So we have taken the problem of integrated motion planning for share autonomy into a framework called EXOTica, which has got three elements to it. It's got a motion planner, which you can swap in and out various off-the-shelf planners as well as some indigenous planners that we've also worked on, including some Bayesian inference-based planners. So most of you would recognize it in a schematics planner, OMPL-- those who work on motion planning would understand what OMPL is.
But we can swap that in and out. Then we've got the planning problem where you can define different task maps. In other words, we can define variables of interest. So for example, if you want to maintain a robot balance while you're doing some of the tasks, you can define what exactly is the task map that you care about from an objective function perspective-- from a cost function perspective. And finally, we defined the planning scenes which includes all the URDFs and all the schematics
and dynamics motion plans. And the good news about this is that whatever we do, we have got a very systematic way of comparing where failures happen. Is it because of the motion planner? Is it because of the fact that we have not identified the right cost function? Because a lot of people work here on cost shaping, and it's not obvious in many tasks how do you specify objective functions? So is it because of the cost function or the task maps?
Or is it because there is some mismatch in the robot model? So if we are able to tease that out in comparing many algorithms in a systematic way, then we can make progress in trying to figure out what exactly is the issue. So that's a way to do that. So we have taken this and deployed this in many, many scenarios-- this framework you've deployed in many scenarios, including manipulation in dynamic environments. So you'll see in the video next is an omnidirectional mobile platform doing what we
call the chicken head problem. And this is a company that's been spun out of our lab called Aerobotix, which is integrating the control of the mobile base with the hand. So typically, people separate the control of the mobile base and the hand and then try to solve it. But if we now integrate the solution, then any disturbances in the base can be compensated for the disturbance in the arm. So because of that, we can do things like, in this case,
sensor placement on a realistic setting without stopping. So here's an example of picking a target, making a sense of placement without stopping, and adjusting for various force-based task goals while the robot is moving on the fly. So this kind of technology is extremely useful in warehousing situations where you don't want the base to move separately, go stop, pick up things, and move ahead. So we've deployed this. First, this is in Japanese, but we
have deployed this technology in Hitachi's automated warehousing solution that they are now testing out in the transport labs. So the innovation there comes from the fact that you're doing full body control without separating the base and the hand, so that we can now do seamless task delivery without stopping. And this kind of shared autonomy aspects have been one of the areas we're looking at, including things like the nuclear decommissioning, disaster recovery, collaborative manufacturing,
and also in underground-- so in this case, with a company called Costan, we've been working with the Crossrail Project in London where they're digging a big hole trying to create a new subway system. And some of the technologies and shared autonomy is being deployed on the cement sprayer where humans do high level control and the autonomy is built into controlling the nozzle using the live-sensing from various fiducials. So it's a way of saying, how can we make some of these machines
more idiot proof? How can we reduce the amount of technical skills that's needed to operate the machine by taking real time sensory input into account? OK, the second aspect I want to briefly mention is about using robots for remote inspection maintenance and repair of assets. So the bigger aim of the project is to try and get multiple robots-- so quadruped on surfaces, flying robot drones on various highrise elements, and underwater robots to collaborate for asset reporting.
And our focus in our group has been on finding clever ways of doing motion control on quadruped robots. So this is an example of a quadruped robot that we have in our lab. It's manufactured by a company called Anibotix in ETH, where the idea is, how can we do efficient motion planning control in terrains that are not suitable for real robots-- so this case, climbing stairs and going in fairly slippery surfaces, dealing with a sense of transport in these kind of scenarios.
So to be able to do that, what are the kind of underlying technologies we've been working on for planning, motion planning, and control in these scenarios? So one of the things we've been looking at, which I think is an exciting area to work on, is using clever representations to bridge the gap between robotic speak and the control speak and what humans provide as input. So in general, we can provide targets for human input. You can say, I want to take an object
and place it on the table between some objects. But when you want to translate that to real world robot control, you need to be able to explain that in terms of coordinate frames. So the concept of topology, where we can define certain invariances in the targets that we define, can be used as a robust way of specifying targets and then finding gradients in that alternate space efficiently. So let me give you a very simple example to illustrate that.
So if you want to reach inside that box with a robot arm, you can do it in any number of ways. But if I represent the target using topological constructs which are more relational, then you can deal with the re-planning of the hand without doing explicit collision avoidance by doing gradients in the space of topology. So here's a simple example of a robot arm reaching into this box. But in a moment-- and this can be done in any number of ways, right?
This is fairly trivial robotics inverse schematics. But now if you represent the targets in topological constructs, when the box moves, the concept of what is inside and outside the box moves with the box. So if you specify target in topological space, then without explicit re-planning, you're able to adjust to the concept of where does an object or how should we re-plan the end effector so that, topologically, it still remains inside the box.
So that's just one example of topological constructs. There are many other examples like right spaces for continuum robots, for snake-like robots, also for dealing with ropes, dealing with flexible surfaces and flexible manipulation. We've used various different ways of using relational metrics. So this paper here, for example, describes some of the other metrics that we have used. And these are particularly important in dealing with high dimensional robotic platforms like the snake robots.
So this is, again, another collaboration with a company called OT Robotics for inspection. And traditional motion planning methods tend to not scale when you have got continuum robots. But if you start defining goals in relational coordinates, in topological coordinates in terms of rights, in terms of things like rotation around an axis, or if you provide gradients in terms of how many times it needs to be wrapped around an object, for example, that these abstract representations are clever ways of working the right topological space to deal with the computational complexity of multi-contact interactions and multi-contact, in this case, fairly complex structures. So that helps us deal with some of the aspects of the complexity.
And here's just a couple more videos to show you where we have deployed this concept of topology. So here's a person. In this case, we're tracking the people, and then the relation between the person and the robot is defined using what we call interaction mesh. So interaction mesh is another way of topological constructs that look at relational schemes. So rather than saying, here's a Euclidean distance between collision objects, we say, maintain this topological construct.
So that automatically helps us deal with obstacle avoidance in these kind of scenarios. So one other thing that we've been looking at and working on is using the concept of variable impedance activation. So even if you have the best sensing and representation, even if you have the best representation for that particular task, the world is still uncertain. So you will still have stochasticity in its execution, you will still have uncertainty in sensing. So one way of dealing with uncertainty in the world is by building an inherent compliance into the mechanism.
So we've been looking at both novel mechanisms for building compliant activation systems in collaboration with firms like DLR. And so the platform that you see on the second is the DLR AC arm, and all the other bits-- the brachiation robot and the robot on the right that you see are robots that we built at Edinburgh. And all of these robots, what is unique about it, is every joint has the ability to modulate stiffness and damping on the fly. So rather than just saying, produce a certain amount
of torque, you also have the ability to, say, change the motors in a way that you control the stiffness of the joint and the damping of the joint. So that's great, because in general, if you make the robots very soft and not very stiff, then you know that you're able to deal with disturbances. You're able to deal with external disturbances well. But can we optimally modulate the stiffness for various tasks-- from a perspective of maximizing performance,
from a perspective of minimizing energy consumption, for maximizing efficiency? And that's what we've been looking at in some of our work. So we've been looking at formalizing this problem of stiffness and damping optimization in the context of optimal control. So I want to go into a bit more detail about this, because I think it's worthwhile looking into this. So the way we do that is fairly standard. So as I said, we need compliant activation. We need the ability to modulate both the torques
and the stiffness given the inputs. So the Q you referred to the state and the command input, and we have the ability to modulate both the output torques and the stiffness. So you need a mechanism which is able to do that. And you need to be able to move between these torque stiffness curves. If you have that-- if you have a mechanism which can do that, then you can formulate that in the classical optimal control formulation using modeling of the dynamics, which includes the stiffness equations.
Then you specify a control objective-- in this case, here's an example of a control objective which is trying to minimize the force but maximize the distance that the ball is going to throw. So you'll see an example where we want to throw a ball by optimally modulating the stiffness of the joint. So we can define a cost function, which looks like this, and then you can use your favorite optimal control solvers. It can be an [INAUDIBLE] DDP, and there are many solvers that you can use to come up with an optimal control law that gives you both the change of stiffness and damping through the commands, through the motors, and also the feedback gains. So we can solve that using classical techniques, but we've also found a way of reformulating this problem as an optimization framework in using machine learning. So again, those who understand the graphical models version of optimization, you will recognize very quickly that this way of defining states and control
and transition probabilities as an MDP and then formulating a cost function that is, again, captured through a latent variable, is a good way of representing the same problem that you solved using such theoretical optimal control. So the relationship between those two formulations where things that we've four or five years ago, we've presented this at the RSS.
And the advantage of doing that is that once you have this formulation, then we can bring into play significant new kinds of techniques for solving that problem-- so including things like variation inference in machine learning, where you can integrate over some of these variables to find the optimal solution. In this case, the optimal solution is the variable stiffness, actions, modulation that we have. And the good news is that if you look at 0.1, inference-based techniques are working
at multiple abstractions. So all of those terms-- x0 and y0-- all of them refer to the different levels of abstraction. Now, if you remember, I mentioned you can represent your targets as either joint angles or using forward kinematics and defectors, but you can also represent them as a graph of interaction between objects and key points of interest on your robot hand. So those are different levels of abstraction of the same problem. But to do inference with it, you have
to be able to seamlessly go between those different forward and inverse relationships. In inverse kinematics, it's nothing but just computing that equation. But now when you add an additional level of abstraction, you have another forward and inverse mapping. And in some sense, you need to be consistent across those different levels when we do the planning. And that is what these variational inference methods allow you to do. This way of formulating gives you
that explicit way of inference across these spaces. OK, so what can we achieve out of something like that? Let me just pause that. What you will see next is a video that involves a tooling arm. And each of the two links have got the ability to change stiffness and damping. And the task for the robot to optimize is, what is the movement that it needs to make in order to throw the ball as far as possible? So that's the target. The optimization is in this case,
we give it a fixed time window, and the optimization is what is the modulation of each of the joints, both in terms of the position and the stiffness. In this case, the stiffness is realized through a [INAUDIBLE] system, which has got an elastic spring in the joint. So the each of the joints have got two inputs-- one controlling what we call the equilibrium position of the joint, and the second one controlling the stiffness of the joint. And that's all. So we've got four inputs, and the output is just the distance thrown. And we give it to the optimization system, and the output is this.
So it's basically pumping energy into the system, storing energy with the springs, and realizing pro that is much more energetic than what can be achieved by a single swing. So we've compared this against the other option, which is keep the stiffness constant. We can find an optimal constant stiffness and then do the same optimization. And I don't have the time to go into the details, but effectively, it's about a 20% to 25% benefit in this system by being able to modulate the stiffness
during motion, during loading. And that's not surprising, because if you think about if you're on a swing and you kind of pump energy into the system using the right stiffness, right timing, you can pump energy into the system. But now on top of that, if you're able to adjust the stiffness during that momentum swing, you can do it much more efficiently. So we've taken this framework and deployed it into even--
I don't have the other video running, but anyway. So we've done it on the [INAUDIBLE] arm DLR as well. This has got just high degrees of freedom, same concept. But also, we take exactly the same principle and deploy it on quadruped robots. So in this case, we've done some work on adjusting stiffness and modulations to modulate the stiffness. In this case, we have the ability to modulate stiffness in various directions. So in this case, we can make it much more stiff or less
stiff in certain directions. And the idea is it can be algorithmically figured out, depending upon the terrain that we're operating in, can we figure out what is the optimal way of adjusting? In this case, the task-level stiffness-- so not joint stiffness, but task or operational space stiffness in order to optimize the trajectory. And here's another example of the same concept of using multiple arms-- so effectively, quadruped is nothing but you invert a hand, and that becomes a quadruped.
So we've essentially used that same principle of saying, can we use, again, force-based control to, in this case, a single object with external inputs where it's completely decentralized control, and all we're doing is adjusting the stiffness between the object of interest and the manipulation. So because of that, we're also able to now deal with things like adjusting the weight. So if suddenly somebody comes and changes the weight, using learning systems, we can deal with that.
And after a while, the system is going to realize that there's been a change. It gives some feedback, figures out the causal reasoning behind it, and improves the models. So this approach, we've been working in collaboration also with Honda Research Institute in Offenbach in Germany to look at dyadic collaborative manipulation. And this is literally new work, because here we're looking at doing hybrid optimization. So what we're doing is we're optimizing of three things-- actually four things.
So we're optimizing the trajectory of the motion. So dyadic collaboration is when a human and a robot has to collaborate on manipulating an object together. There's, of course, an element of identifying the policy of the collaborator. So that's a separate problem. So we separated that problem, we've assumed we have a good grasp of the policy of the collaborator. So with that full knowledge, if you now incorporate that policy of the collaborator
into the control system of the robot that is manipulating the object, then we have got three things that we need to optimize. We need to optimize the force and the trajectory of the object that needs to be manipulated based on the goal that comes from the collaborator. Secondly, we need to optimize the grasp hold locations. And thirdly, we need to optimize the grasp change sort of timing. So when do we need to re-grasp? When the robot moves.
So you can formulate it as a mix into the programming method, or you can do it as a hierarchical task where you use a-star to compute grasp hold changes or the discrete elements, and then you can do continuous optimization on the trajectories. So now, this is what you presented at Coral. This year. Since then, we've made significant progress on trying to make this much more quicker in real time by doing much more efficient computation. So the A-star Competition has been more efficient,
but more importantly, the hybrid optimization-- using engines like k-nitro, for example, is what we used for non-lethal optimization. And we're able to get much more responsive behaviors. But the success of this really boils down to breaking the problem into two steps. One is doing this sequence optimization and then doing the hybrid dynamics within each of those sequences. This is a really interesting problem-- we're very excited about this. Don't have the time to go into much detail,
but happy to talk to you guys afterwards. Again, where do we deploy this? We've been using this on various projects, including things like high value manufacturing settings. We've got an EU project called Memo, which looks at robots for multi-contact interaction for human robot collaboration. And that is our application domain, in some sense. So the next bit is on the NASA Valkyrie Humanoid Platform. I don't need to say much about this here in MIT,
because you guys have had one of these platforms here for a while. And it was, indeed, a joint effort between and the groups at MIT, IHMC, and NASA JSC, and us on getting robots to full body motion planning and control. But just for fun, I'll show you a nice little BBC clip that, for those of you who are not aware of this project, of what this whole project was about. This is from about two years ago. A NASA robot worth over 1 and 1/2 million pounds which has just been delivered to researchers
at Edinburgh University. Their task-- to program it to act like a human so it can carry out space exploration that's just too dangerous for astronauts. Our science reporter Victoria Gill has had exclusive access to the robot and the team. Yeah, we'll let you know when we get ready for the downlink. 250 miles above the planet, the International Space Station has been home to more than 200 astronauts, and one robonaut. But the next generation of this type of robot is being developed back on planet Earth, and it makes this one look quite retro. You are looking through the eyes of a very human-like robot. This is Valkyrie. It's NASA's six-foot humanoid. It's designed to work in disaster zones and even go to space. But it's just arrived here at the Edinburgh Center for Robotics so that programmers here can push the boundaries of how humans and robots work together. Worth in excess of 1 and 1/2 million pounds,
with 44 movable joints, scanning lasers, and cameras to simulate human vision, this is NASA's most advanced humanoid. Valkyrie is an amazing and unique piece of hardware because there are only three of its kind in the world. But the team here has to create a set of instructions that will allow this robot to understand how to use its body. It's going to move the eye-- To carry out every new task. You need to make it do the things that we take for granted-- for you and me, walking, balancing, dexterous manipulation. It comes to us naturally. Getting a robot to do something like that takes a lot of effort. With a core set of human skills, Valkyrie could be put to work in unpredictable environments. I like it to be able to very benign things, everyday actions-- to be able to do what a human being does, to be able to mitigate situations that happen sometimes in a disaster relief, for example, Fukushima, to be able to do maintenance on the International Space
Stations is what NASA are interested in. It's hoped that humanoids like Valkyrie could be sent ahead of human astronauts to explore the surface of Mars. But this very young robot-- So I'll show you-- so that was just kind of the introduction to what-- this was about 2 and 1/2 years ago. And since then, we've made some decent progress with the work on the Valkyrie project. And so here's some of the videos. Again, this is about now a year old on autonomous navigation.
So again, full body motion control, navigation. And you'll see in a moment that there are various obstacles we place-- it's a bit hard to see because the lighting-- but different obstacles at different spaces. So we're using real time sensing to figure out where the obstacles are. We're doing what we call IDRM-based optimal planning for figuring out, for grasping that object what is the best pose for the robot to stand so that it can have maximum manipulability.
And then doing the last bit of the grasping and manipulation is just standard motion planning using concepts like OMPL or any of the other planners. But the real challenge is taking the live sensory input and changing behaviors. So for example, here's an example of what the robot sees, how it builds the map of the environment around it, and combines that map with the real time sensing with the local navigation plan. And in a moment, you'll see also the LIDAR-based planning of the footsteps--
and then in this case, navigation and locomotion. So there are still lots of challenges in terms on-- this is part of lab where we're trying to move it. But I think a new one, in the interest of time, I'll show you one more. So that's, again, just last year, we also made some progress on locomoting on uneven terrain. So that, you can see on the right, is the sensing and using that live sensing being able to plant a footstep over uneven terrain and then do some local manipulation.
And you'll see in a moment that the hands are really terrible and bad. It will fail. And that's by the time the hardware was in really bad shape after doing multiple trials. But the good news is that these are fairly aggressively spaced and slanted surfaces. And depending on where you place the object, the robot decides for itself what is the most stable position for it to hold and then do local manipulation. So that's the challenge. And on this related note, I just want to give you back--
this is work from, really, 10 years ago during the time I was doing my PhD, 10, 15 years ago. But that is still quite valid in the sense that we still use data-driven learning. And that's one of the core USPs of our work is we work with existing Newtonian models, but we also learned residual differences between the difference in dynamics to deal with model mismatch. And earlier we used to do this purely in the inverse dynamic sense and do model-based learning and NPC on it.
But now, we're able to do this kind of-- this is an example of how you use data to collect the data and update the dynamic models. But now, we're able to do this in the loop with this optimal control setting. So because of that, this is, as I said, a video from historic video a long time ago, including learning dynamics, then learning task dynamics where we're able to collect data of various robot actions that then lead to finally learning an optimal policy of balancing a pole.
And this, as you can see, is work with Stefan a long time ago. But this is still very valid, because this work that we have done has now, becomes the core module of the updating of the dynamics, but now we are doing this not just as an independent loop, but we're doing this in the context of the stochastic optimal control loop. So earlier, instead of here, we used to put the analytical model, but now you're able to do this on the fly-- still lots of challenges in terms of data, number of data
points, the complexity of the learned model. But we, at least in low dimensional problems, are able to complete this loop, which is actually quite nice. Let's skip this. Last bit, and a bit of fun. I'm going to show you a live demo. I've brought some stuff along with me. And this is where we're using this concept of shared autonomy also in the health care. So we've done some work on upper limb prosthetics. So here's some work that we've done
where we're combining multiple things like EMG and IMU sensors to get a better prediction of what the intentions of the human users are. So this is some trials with actual amputees where the EMG is attached to the remainder of the stump of the amputee, and then we're now using some classification techniques that combines EMG and IMU to do pre-prediction of the grasp so that we can pre-shape the grasp and so that the cognitive load on the person operating the hand becomes much less.
So this is a classification, that is regression in the sense that here, we're trying to do a bilateral coordination of fingers and decoding that using EMG. But what I want to do next is to show you some stuff live. So I need two volunteers to come and try this-- a couple of volunteers? Yeah, that's one. Need one more. Yeah? Yeah. OK, so first, I'm going to try and get you to wear this. Maybe go left hand. Yeah. Well, actually, if you stand here and then wear it on your left hand,
and maybe tighten it up a bit-- yeah. Good. OK so what we're going to do is, first, I'm going to try and do this using my hand so that you know it works. Then we're going to try and generalize it to your EMG sensor. So this is an EMG sensor which is basically sensing the muscle activity on my hand. And it's sending very coarse open and close signals, and then when I turn it on.
You can see that it's able to respond to the EMG sensors. And now if we get something that we can grasp-- do we have a-- check if there's a ball or something. Yeah, let's just go. OK, so what you can see if you lift it up so that people can see-- so each of the fingers decides for itself when it should stop closing. So I am only sending sort of high level open and close signals, and the fingers are, depending on where I keep the ball, it's kind of adjusting its grasp position.
And this works for different objects, different shapes of objects. And the key trick is that-- and this is where this concept of shared autonomy is deployed, because the high level signals of open and close comes from the hand. The smart in terms of when each of the fingers should stop closing is decided by the load-sensing on each of the fingers. So because of that, you can take arbitrary shapes, and you can grasp very robustly arbitrary shapes of the objects. But now there's another interesting aspect.
Maybe I'll get you to try it as well. So let's see if it generalizes. So there's no magic in the sense that it's not my EMG sensors that it's tuned to. So maybe try just moving the wrist. Yeah, go for it. Yeah, and yeah. So you can see that it works. But now also if I get my phone, one more thing I want to show you. So I can actually Bluetooth into this hand and actually have a three-way connection between-- here's the human providing the input, some smarts in the hand, but also

Ask anything
We've read this whole study set, so questions about it get the best answers.