Configuration Space Metrics
When robot manipulators decide how to reach for an object, hand it over, or obey some task constraint, they implicitly assume a Euclidean distance metric in their configuration space. Their notion of what makes a configuration closer or further is dictated by this assumption. But different distance metrics will lead to different solutions. What is efficient under a Euclidean metric might not necessarily look the most efficient or natural to a person observing the robot. In this paper, we analyze the effect of the metric on robot behavior, examining both Euclidean, as well as non-Euclidean metrics – metrics that make certain joints cheaper, or that correlate different joints. Our user data suggests that tasks on a 3DOF arm and the Jaco 7DOF arm can typically be grouped into ones where a Euclidean metric works well, and tasks where that is no longer the case: there, surprisingly, penalizing elbow motion (and sometimes correlating the shoulder and wrist) leads to solutions that are more aligned with what users prefer.
When planning kinematic paths from a start to a goal, robot motion planners often minimize the distance the robot travels in configuration space. When deciding on a goal configuration within a goal set [dragan_ratliff_srinivasa_2011], integrating over squared velocities as in trajectory optimization [Ratliffâ2009â10204, Schulman:2014:MPS:2675301.2675308], or summing up the distances between every two consecutive waypoints as in randomized planning [DBLP:journals/corr/abs-1105-1186, DBLP:journals/corr/GammellSB14a, DBLP:journals/corr/JansonP13], these planners implicitly make an assumption: that the right distance metric to use in configuration space is the Euclidean metric. When computing distances between two configurations, they take the difference between the two vectors and compute the squared norm of the difference.
In this paper, we revisit this implicit assumption. We take inspiration from distance metrics in trajectory space. For those spaces, it is established that Euclidean metrics do not work well [Ratliffâ2009â10204]: they treat each waypoint along the trajectory as independent. When we want to change one waypoint along a trajectory from to a new configuration , the Euclidean metric would move that single waypoint to , and keep the rest of the trajectory the same. Call this new trajectory . This seems intuitive at first, but actually what is special about trajectories is that consecutive waypoints are intrinsically not independent from each other – they are coupled through time. Prior work has shown how if we correlate consecutive waypoints in a non-Euclidean metric , rather than treating them as independent, we end up with something different from : we get a that not only has the waypoint shifted to , but also smoothly propagates that change to the rest of the trajectory [DBLP:conf/icra/DraganMBS15]. is further from according to the Euclidean metric, because more waypoints change. However, according to , is actually closer.
A significant amount of trajectory optimization work utilizes metrics with these temporal correlations. [Ratliffâ2009â10204, Kalakrishnan_RAIIC_2011, Schulman:2014:MPS:2675301.2675308], which is one way of formalizing the pioneering concept of elastic bands [DBLP:conf/icra/QuinlanK93]. Prior work has also explored learning the metric from demonstrations of what trajectories people find more similar [DBLP:conf/icra/DraganMBS15].
In this paper, we study whether some of the same ideas of correlation applied to metrics in the trajectory space also hold for metrics in the configuration space. In fact, prior work in generating natural motion [gielniak_thomaz_2011] argues for cost functions with potentials between consecutive joints, which can be seen as correlating or anticorrelating consecutive joints in a non-Euclidean configuration space metric. Intuitively, this is akin to the trajectory metric, because joints are coupled too – not through time, but through the kinematic chain. Similarly, we might think that penalizing movement for different joints differently might be helpful.
Fig. 1 illustrates this with an example. The robot starts in an initial configuration and needs to bend the elbow to . The Euclidean metric outputs as the closest configuration to that satisfies this constraint. But to us, humans, the configuration on the right, , actually looks more similar to . The Euclidean metric disagrees, but a non-Euclidean metric warps the space to push further away from and bring closer (Fig. 1, right). It does this by coupling the shoulder and the elbow: if the elbow moves to the right, it is cheaper for the shoulder to move to the left to compensate, than to stay still.
In this paper we make two main contributions towards understanding configuration space metrics:
Understanding the effects of changing the metric. We start with a 3DOF arm, which enables us to visualize the configuration space, and explore the effects of introducing joint correlations or making joints cheap or expensive. We describe these effects visually, and so characterize ill-conditioned optimization problems that some metrics unfortunately induce.
Testing whether the Euclidean metric is right. We then test with both a 3DOF and a 7DOF robot whether the Euclidean metric is the right one with respect to user preferences, under different criteria: producing natural-looking configurations, producing configurations that are visually similar to where the robot starts, and producing configurations that match what people would expect the robot to do. We collect data of user choices, and test how well the Euclidean metric explains these choices, comparing it to a learned metric, designed to best fit the data.
Our analysis looks at several tasks that involve varying constraints on the robot’s end effector position. We find that tasks fall into two groups: 1) Tasks where Euclidean does well, and learning a metric only marginally helps fit real user data and 2) Tasks where the Euclidean metric does poorly. For the latter, metrics that tend to explain user preferences better are similar across criteria, and are rather surprising. They penalize the elbow the most, and not necessarily the shoulder as we might intuit. For 3DOF arms, they correlate the shoulder and the wrist, and not consecutive joints.
Overall, we see evidence that to produce more natural and predictable behavior from robots, we need to change the default understanding of distance in configuration space for certain types of tasks.
Ii Problem Formulation
We start with an exploration of whether, and if so, how the choice of the configuration space (C-Space) metric affects what the robot does as a result of an optimization.
The metric defines the robot’s understanding of similarity or distance in its C-Space. Typically, they are optimized to be efficient— reasoning about what the shortest way to achieve the goal is. When we change the definition of distance, we might change what this most efficient solution is. Goal configurations that were further away may now be closer, and vice-versa, so the robot might choose to approach a given task differently when the notion of efficiency changes.
When faced with a task, like reaching for an object, the robot needs to find a goal configuration that satisfies some constraint . For instance, its end effector might need to be at a particular position, or lie on some manifold in task space. In exploring the effects of different C-Space metrics, we solve constrained optimization problems of the form:
where is the space of robot configurations and is the starting configuration of the robot. Distance—the notion of closest—is defined via some metric :
The choice of this metric influence the robot’s decision, as we can already see in Fig. 2 – we explore this in more detail in the next section.
The constraint here is very important in being able to analyze a metric – without it, the solution would be . Further, problems of this sort appear in motion planning, where we might be interested for instance in moving to the closest configuration that satisfies our task (e.g. a grasping configuration for an object). Which robot configuration is most suitable to plan towards given our current configuration and our constraint?
Formally, a metric is a by symmetric and positive definite matrix, where is the number of degrees of freedom the robot has (also the dimension of , the C-Space). The metric is a direct result of the inner product we use in the configuration space:
’s entries can be divided into two groups: diagonal and off-diagonal. These groups lead to two important concepts in understanding the effects of a the metric. Diagonal entries lead to joint cost, while the non-diagonal entries lead to joint correlation. Next, we will dissect the effects of altering joint cost and joint correlation.
Iii The Effect of the Metric
We begin with an exploration of robot arms in a simplified, lower dimensional space. Specifically, we consider arms with 3 DOFs operating in a 2D world. The convenience of a 3 DOF arm is that we can visualize its configuration space and gain a better understanding of how the metric affects the robot’s choice for how to solve the task. We can plot the feasible set of our constrained optimization problems and see how different metrics project onto this set.
End Effector Position Constraints. In this work, we will look specifically at constraints on the robot’s end effector position. In Fig. 3 we see the feasible set of such a constraint. It is a 1-manifold with point symmetry with respect to the manifold’s centroid. One of the sides corresponds to configurations with elbow less than (”left arm” configurations), while the other corresponds to configurations with the elbow greater than (”right arm” configurations). Fig. 4 also shows that as we increase the distance between the robot’s base and the desired end effector position, the points on the manifold get closer to the manifold’s centroid.
Contraction vs. Expansion Tasks. Fig. 4(left and right) demonstrates two instances of end effector position constraints. The first instance is a contraction task. The starting configuration has the end effector further away from the base than the constraint requires. As a result, all the points in the manifold correspond to configurations in which the end effector would “contract” closer to the base. For such tasks, the starting configuration is on the “inside” of the manifold.
The second instance is an expansion task. The starting configuration has the end effector closer than it should be, and is on the ”outside” of the manifold.
We notice that in the contraction task, the choice of a metric (Euclidean in gray vs. non-Euclidean in orange) changes the projection point onto the manifold significantly. On the other hand, in the expansion task, the two metrics return nearly identical solutions. Next, we will explore how different metrics influence the optimal solutions, while bearing in mind that this might be different in expansions vs. contractions.
Iii-B Joint Cost
Each diagonal term specifies the cost incurred by moving joint : when computing the squared norm of a difference in configurations , i.e. , weighs the term —the displacement in joint .
The Euclidean metric weighs all joints equally. However, by breaking this symmetry, we can effectively encourage or discourage the movement of certain joints. The following sections will illustrate that our choice of diagonal weights has intuitive and significant effects on the optimal goal configuration. While it is possible that the Euclidean metric balances the joint costs in just the right way, it is also possible that to achieve our desired goal configurations for the robot, we may want to penalize different joints differently.
Cheap Joints. A cheap joint is one for which . When , motion along joint incurs negligible cost relative to motion along other joints. This has a simple effect: the robot moves joint more in order to spare motion in the other joints. As a result, when minimizing for a cheap joint metric , we reduce this dimensional norm minimization to a dimensional minimization because cost in the cheap joint is negligible.
Cheap Shoulder: In Fig. 5, the first column shows the effect of a cheap shoulder metric. This metric (solution in orange) moves the shoulder significantly more than the Euclidean metric (gray) relative to the starting configuration (black). Fig. 6(top) shows that this is in general reflected for many start configurations in contraction tasks. On the other hand, all expansion tasks tended to produce very similar results with the two metrics, as we saw before in the preliminaries.
Cheap Elbow: The second column in Fig. 5 shows an example comparing a cheap elbow metric and the Euclidean one. Again, the elbow moves more to reduce motion in the wrist and shoulder. For this metric too, our analysis revealed that expansion tasks led to smaller differences. For contraction tasks differences were only large when the wrist was close to , as in the example from Fig. 5.
Fig. 2 (second column) shows a cheap elbow metric on a 7DOF arm (where the constraint is reaching an end effector height). Compared to Euclidean (first column), we again see that the robot moves its elbow more in order to reduce movement in the shoulder and the wrist.
Cheap Wrist: A cheap wrist solution is in Fig. 5. With this metric, the shape of the manifold is such that many starting points end up being projected to the same two configurations (Fig. 7, left). Looking at only the left side of the manifold, all configurations in the red shaded region project to the configuration corresponding to the maximum elbow joint value and the minimum shoulder joint value. Such a point exists with cheap wrist metrics because they create manifolds in which the point with the maximum elbow joint value coincides with the point with minimum shoulder joint value. Fig. 7(right) depicts why: the solid arm is the configuration with the maximum elbow value and reducing the elbow value only increases (and can not decrease) the shoulder value, thus corresponding to the minimum shoulder value as well.
Expensive Joints A joint is expensive when . In this case, the robot moves joint as little as possible. While cheap joints reduced a distance minimization to a minimization, expensive joints reduce to .
Expensive Shoulder: In Fig. 5 (4th column) we see an intuitive instance of the expensive shoulder metric. The Euclidean metric moves the shoulder a considerable amount to reach the end effector location, but the expensive shoulder metric barely moves it at all.
For contraction tasks, when we minimize just over this one dimension, we unfortunately experience ill-conditioned behavior. We define ill-conditioning as a scenario when the lowest cost sub-level set defined by the metric for a given starting configuration is disjoint. Fig. 8 illustrates this phenomenon by encoding distance to the manifold in a heat-map (cyan meaning close, lavender meaning far). The cyan regions are at completely opposite ends of the manifold. This behavior occurs because we are minimizing distance in the shoulder dimension while our manifold has reflective symmetry across the shoulder joint, always giving us 2 equidistant solutions.
As a result, two nearly identical starting configurations map to two very distinct solutions. Note that ill-conditioning only appears in contraction tasks, and not in expansion tasks.
Expensive Elbow: Expensive elbow metrics minimize movement in the elbow. Fig. 5 (5th column) gives a simple example. Fig. 2 (3rd column) shows the same for the 7DOF robot – compared to Euclidean, the elbow barely moves, whereas the shoulder and especially wrist move a lot more.
However, in general, expensive elbow metrics leads to a singularity in the optimization in both contraction and expansion tasks for the 3DOF robot. We notice that an expensive elbow metric behaves identically to a cheap wrist metric for these tasks. For contraction tasks this is intuitive: to contract an arm, the robot must reel in its elbow joint. There must exist a unique configuration that minimizes the amount we adjust the elbow while still allowing the robot’s end effector to reach the desired location. This one configuration is shown in red in Fig. 7. The same follows for expansion tasks.
Expensive Wrist: Expensive wrist metrics are adverse to moving the wrist. Fig. 5(6th column) demonstrates such a scenario. In general, such a metric is more well-behaved, in the sense that different starting configurations project to different solutions if they have a different wrist value.
Iii-C Joint Correlation
The off-diagonal term specifies the correlation between joints and , because it weighs the term (and ) where .
The Euclidean metric has no correlation between joints. However, by applying correlations, we can encourage certain joints to move together. If is negative, the robot is incentivized to move joints and together in the same direction. On the other hand, if is positive, the robot prefers moving joints and together in opposite directions. From a biological standpoint, human arms exhibit a degree of coupling in muscles/joints, so we might expect that natural metrics might be non-Euclidean [10.1007/978-3-642-02809-0_9], [10.1371/journal.pone.0164050].
Fig. 5 (columns 7 through 9) show examples of correlations: positive shoulder-elbow, positive elbow-wrist, and negative elbow-wrist. In each situation, the joints move together in the opposite or in the same directions, while with Euclidean they move independently. Fig. 2 also shows a positive (4th column) and a negative (last column) correlation between shoulder yaw and elbow. Compared to Euclidean, the positive correlation ends up moving the shoulder clockwise, because the elbow has moved counterclockwise. This is a prime example where there is clearly more total motion than Euclidean (by definition), and yet the resulting configuration would believably look much more natural to some users.
Fig. 9 depicts the projections onto the manifold for correlations. Correlations induce an axis along which movement is cheap, and projections (orange) tend to run parallel to this axis compared to Euclidean (gray).
Iv Is Euclidean the Right Metric?
In the previous section, we saw that different metrics can lead to different outcomes, especially for contraction tasks. This begs the question of which metric a robot should be optimized over. The answer depends on what our objective is. If we want spatial efficiency, the Euclidean metric is an obvious choice. But what if we want the robot to move more naturally? Or predictably?
We investigate the fit of the Euclidean metric as the answer to such questions. We do so by leveraging learning as a tool: we ask people which configurations they find more natural, visually similar to the starting configuration, predictable, etc. We then learn a metric that agrees with their answers, analyze its characteristics, and compare it to the Euclidean metric. If the Euclidean metric agrees with user answers almost as well as the learned metric, that suggests that Euclidean is actually a good choice. Otherwise, we may need to reconsider our notion of efficiency when operating around people.
Iv-a Learning a Metric
Now that we have a general intuition of C-Space metrics, we can consider learning metrics for different criteria (for example: naturalness, predictability or visually similarity).
To learn a metric, we use preference-based learning: users provide their preferred solutions among several alternatives, and use their answer as evidence about the metric they are using to determine the solution.
We chose preference-based learning for our analysis because it is actually feasible to collect preferences from end users. In contrast, asking users to demonstrate the solution is not only more burdensome, but configuration spaces are counterintuitive enough to make figuring out the desired configuration difficult to impossible.
With preference-based learning, our framework consists of multiple choice questions . Each question consists of a robot in its starting configuration followed by feasible goal configurations that make up the answer choices: .
We ask users to select the answer choice that best fits a given objective, like naturalness. Of course, not every person will select the same answer. When we aggregate responses across multiple users, we produce a distribution over answer choices for each question. This distribution reflects both which solutions users preferred more and also by how much they preferred it to others. The metric should produce shorter distances to more popular solutions. Furthermore, the difference in distance should be larger if the subjects greatly favor one solution over another.
With this in mind, we fit a metric that minimizes the KullbackLeibler Divergence between the distribution induced by user answers and the one induced by the metric:
the softmax negative squared distances defined by metric [conf/aaai/ZiebartMBD08], [bradley_terry_1952], [luce_2005]. With this optimization, we learn a metric that attributes low cost to more frequently selected answer choices while keeping answer choices of similar frequency at the same distance.
To solve this optimization, we perform gradient descent on a matrix variable . Since softmax is sensitive to scaling of , we apply the constraint on top of positive definiteness. The matrix variable can be thought of as scalar variables which represent the entries of matrix . The quadratic form is therefore linear in these variables . The negative softmax KL Divergence results in:
This is a non-negative linear combination of convex functions so the overall objective is convex as well.
Queries. We systematically generated the multiple choice queries. Firstly, we disallowed the elbow joint to “flip” (cross ) while traveling from start to goal. Afterwards, we applied wrist joint limits and eliminated self collisions. Finally, we sorted the configurations by increasing wrist value and picked points uniformly across this sorted set. The uniform selection gives us high chances of providing at least one good solution while keeping each the solutions different enough from each other.
Each multiple choice question had image of a robot starting configuration along with images as answer choices generated from the strategy described above. Along with the robot, each image had a red dot specifying the location that the robot end effector must reach.
There were 36 questions (18 contractions, 18 expansions).
Subjects. Each participant answered all 36 multiple choice questions. We recruited participants (mean age of 34, female 48) via Amazon Mechanical Turk. All participants were from the United States and had a minimal approval rating of .
Criteria for Metrics. We were interested in learning metrics for various human preferences so we decided to ask for 4 separate answers for each query.
Naturalness: In which answer choice does the robot look most natural?
Visual similarity: In which answer choice does the robot look most visually similar to the start position?
Closeness: In which answer choice does is the robot closest to the start position?
Predictability: In which answer choice does the robot move how you would expect given the start configuration and red dot?
Each participant answered all sub parts of each question and we used their responses to optimize separate metrics.
With the user data, we learned an expansion and contraction metric for each of the 4 criteria.
Euclidean better for expansion. Table I compares the KL Divergence of the learned metrics with those of the Euclidean metric. We first notice that across all 4 criteria, the Euclidean metric’s KL Divergence is significantly lower for expansion tasks than contraction ones. This suggests that the Euclidean metric is a better fit for expansion tasks, and that perhaps other metrics might be more suitable for contraction tasks.
This is in line with our analysis from the previous section. Firstly, expansion tasks have a smaller feasible solution set than contraction tasks. There are less ways to reach for a far away object than to reach for a close one. In order to reach far away objects, our wrist and elbow joint angles must be to some degree straight. We can observe this by comparing the solution sets of expansion and contraction tasks in Fig. 6. The lower subfigure displays an expansion task’s solution set and it 1) is more compact than its contraction counterpart 2) avoids joint limits in all joints. Solutions near joint limits are almost always unnatural looking. As a result they are likely not the solutions that users would predict the robot to move to or consider ”visually similar” to more natural looking start configurations.
Learned metrics for contraction. Across all 4 criteria, the metrics learned for contraction tasks were nearly indistinguishable, and all reached much lower KL Divergence than the Euclidean. Key features of these metrics were:
expensive elbow joint,
very strong (.99) positive correlation of shoulder and wrist,
moderate (.50) positive correlation of shoulder and elbow, and moderate (.50) positive correlation of the elbow and wrist.
Fig. 10 illustrates the effects of this metric. We notice the significant effect of shoulder/wrist positive correlation. The orange bordered configuration looks especially more natural. The Euclidean metric in comparison maps to an uncomfortable contracted positions that users probably disliked.
Learned metrics for expansion. Across all 4 criteria, the learned metrics were different from Euclidean, but only fit the user data slightly better. Interestingly, different criteria led to different metrics.
Expansion Naturalness Learned Metric: The learned naturalness metric had:
small amount (.3) of positive correlation along shoulder and elbow.
small amount (.3) of positive correlation along elbow and wrist.
small amount (-.25) of negative correlation along shoulder and wrist.
expensive elbow, neutral shoulder, cheap wrist.
The magnitude of work space change is noticeably smaller for expansion tasks than contraction ones. This agrees with the observation that Euclidean metric KL Divergence was significantly lower for expansion tasks. However, among the notable differences was a concerted effort to keep the wrist angle near while not in a singularity. This is understandable for a naturalness metric because the wrist is often perfectly straight when reaching for distant locations. The absence of a singularity suggests that while users want the wrist to be straight, they prefer that their goal configuration, to a degree, resembles their start configuration.
Expansion Visual Similarity and Closeness. Visual Similarity and Closeness learning converged to nearly identical metrics. Some notable characteristics were
strong (.97) positive correlation between the shoulder and elbow,
moderate (.4) positive correlation between the shoulder and wrist,
negligible correlation in the elbow and wrist,
and a cheap shoulder (by an order of magnitude).
Expansion Predictability: The predictability metric had
moderate (0.70) positive correlation in the shoulder and elbow,
moderate ( 0.65) negative correlation in the shoulder and wrist,
expensive elbow, neutral shoulder, cheap wrist
The Euclidean had larger spread and the learned metric resisted spread, generating solutions with wrist value .
Summary. Overall, the Euclidean metric did not seem like the best fit for contraction tasks, where the learned metric consistently ended up with an expensive elbow and a strong correlation of the shoulder and wrist.
We had expected the shoulder to be most expensive, since it is higher up the kinematic chain (instead it was the elbow), and for consecutive joints to correlate (instead they only had moderate correlations, the strongest being shoulder-wrist).
We find this important, because it teaches us not only that we can’t necessarily rely on the Euclidean metric as a default, but also that users might contradict our intuition.
V Metrics in 7DOFs for the Jaco 7
Upscaling to 7DOF arms in 3D task space, we can learn metrics that encode even more. Fig. 11 illustrates a fascinating behavior that a non-Euclidean metric learned. Instead of constraining its motion to a plane and actuating shoulder pitch, elbow, and wrist pitch to reach the book in the shelf, the metric (orange) learned to use the wrist roll to rotate the wrist and reach the book. As humans, we use this motion all the time when picking up or reaching for objects (Imagine picking fruit from a tree. While your hand may start down by your side, you will flip the orientation of your wrist/forearm to eventually grab the fruit with your palm facing you.) This human-like motion is rarely replicated via a Euclidean metric (gray).
V-a Metrics and Correlations
While Gielnaik et al. [gielniak_thomaz_2011, todorov_jordan_2002], posit that spatially correlating the joints of a robot will lead to more human-like robot motion, we find that for robot arms (as opposed to humanoids), this spatial correlation isn’t robust across different starting configurations.
When we examine correlation in 7 dimensional C-Space , we find that joint correlations can not be agnostic to the start configuration. Fig. 12 demonstrates problems that arise from positive correlation between joints (shoulder pitch) and (elbow). From the starting configuration (transparent) in Fig. 12 (1), with shoulder yaw , actuating the elbow moves the shoulder in a direction that looks natural. However, if we apply this same metric and to the starting configuration in Fig. 12 (2) with shoulder yaw =, the orientations of the joints becomes reversed. Decreasing joint ’s value moves the forearm counterclockwise now instead of clockwise while joint retains is orientation. Visually, Fig. 12 (2) is the mirror image of Fig. 12 (1) so we would expect it to produce a mirrored end configuration but this is not the case. The orientation flip now requires a negative correlation to produce the natural mirrored solution.
Worse yet, adversarial starting configurations like Fig. 12 (3) with shoulder yaw can produce even more undesired joint coupling. Here, the rotational axis of joint is orthogonal to that of joint . Moving joint will also move joint from correlation but the end result is nothing like the natural result of Fig. 12 (1). We wanted positive correlation in Fig. 12 because it produced a natural robot configuration but it came at the cost of messing up behavior in different starting configurations. We cannot rely on fixed joint correlation terms in 7D space to be robust across all starting configurations.
V-B Learned Metrics
We learn a diagonal metric in 7 dimensions using the same learning algorithm employed in the 3 dimensional case. We ignore correlations in this analysis because of our finding from above – even so, the analysis should tell us whether Euclidean joint costs are appropriate.
We again learn separate metrics for contraction and expansion tasks but now we dress up the end effector location constraint in a real-world scenario. The contraction task is disguised as the robot bringing a book from a bookshelf closer to the robot base. The expansion task is shown in Fig. 11: the robot reaching for a book in the bookshelf.
To collect data, we queried 20 participants (mean age of 33, female ) via Amazon Mechanical Turk. All participants were from the United States and had a minimal approval rating of . Each subject answer 36 questions (18 contractions, 18 expansions). We used the same 4 criteria from the 3DOF experiments.
Euclidean Better for Contraction. From Fig. II, we notice that in 7DOFs, contractions perform significantly better with the Euclidean metric than expansion. This is contrary to what occurred with 3DOFs.
Learned Metrics for Expansion. The learned expansion metric for all 4 criteria included an expensive joint (elbow). It is interesting that across both the 3DOF and 7DOF cases, expansion metrics consistently prefer an expensive elbow joint. Additionally, shoulder roll, shoulder yaw, and wrist roll were all very cheap. This allowed the learned metric to perform the wrist flip in Fig. 11. expensive elbow again
Learned Metrics for Contraction. For contractions, the learned metrics consistently had expensive shoulder pitch and yaw. This is the intuitive result because motion in the shoulder moves the entire arm more than motion in other joints (i.e. elbow or wrist). This would lead to robot configurations that users would find less visually similar and further away from the start configuration.
Vi Summary of Findings
Overall, contraction and expansion tasks tend to determine how good of a fit the Euclidean metric is. For 3DOF arms, expansion tasks are well fit by the Euclidean metric. Contraction tasks in 3DOFs require tuning to match human preferences, specifically expensive elbow with strong positive shoulder-wrist correlation. In 7DOFs, we neglected correlations for better robustness and found that the Euclidean metric performed well on contraction tasks. After learning a metric from 7DOF contraction tasks, we recovered the intuitive expensive shoulder metric. 7DOF Expansion tasks needed learning and resulted in an expensive elbow joint, like for 3DOFs. Lastly, across these robots and tasks, we consistently saw expensive elbow cost. From all this, we have reason to believe that for robots to act naturally and predictably, their notion of distance should be more sophisticated on some tasks than the Euclidean metric in C-Space. In the future, we hope to conduct experiments demonstrating the merits of different metrics when integrated in various motion planning algorithms i.e. trajopt and RRT [Lavalle98rapidly-exploringrandom].
This research was supported by funding from the AFOSR and NSF CAREER Award.