Optimal Collision-Free Grip Planning for Biped Climbing Robots in Complex Truss Environment

Biped climbing robots (BiCRs) can overcome obstacles and perform transition easily thanks to their superior flexibility. However, to move in a complex truss environment, grips from the original point to the destination, as a sequence of anchor points along the route, are indispensable. In this paper, a grip planning method is presented for BiCRs generating optimal collision-free grip sequences, as a continuation of our previous work on global path planning. A mathematic model is firstly built up for computing the operational regions for negotiating obstacle members. Then a grip optimization model is proposed to determine the grips within each operational region for transition or for obstacle negotiation. This model ensures the total number of required climbing steps is minimized and the transition grips are with good manipulability. Lastly, the entire grip sequence satisfying the robot kinematic constraint is generated by a gait interpreter. Simulations are conducted with our self-developed biped climbing robot (Climbot), to verify the effectiveness and efficiency of the proposed methodology.


Introduction
Spatial trusses consisting of members are widely used in the construction of roofs, towers, bridges, and the like.However, so far truss-associated routine tasks such as construction, painting, inspection, maintenance, and so on rely highly on manual labor.These routine tasks are usually high-rise and high-intensity, signifying a great risk to workers' safety.Thus, a kind of biped climbing robot has been designed as an ideal assistant or substitute for human workers carrying out these tasks.Typical representatives of BiCRs include SM2 [1], ROMA [2], Shady3D [3], 3DCLIMBER [4,5], PoleClimbingRobot [6] and Treebot [7].These BiCRs generally comprise of an arm-like serial body for locomotion and grippers at both ends for attachment.Thanks to their biped climbing patterns, BiCRs can agilely move in complex 3D truss environments.Motivated by these characteristics, we also developed a biped climbing robot [8], named Climbot as shown in Figure 1.For the system implementation details and the climbing performance of Climbot, refer to [9].
To complete a given task, for example inspecting the connection reliability of truss joints, BiCRs must be capable of motion planning.Basically, the motion planning of BiCRs consists of grip planning and single-step motion planning [10].In the grip planning procedure, a list of discrete grip locations, following which robots can navigate from the starting point to the destination, is determined.While in the single-step motion planning procedure, the shifting motion between adjacent grips is generated.It should be noted that not only the grips but also the single-step shifting motion must be free of collision.In this paper, we focus on the study of collision-free grip planning, assuming the truss environment is known or captured with integrated sensors such as in [11].Figuring out the grip sequences in a 3D truss environment is challenging for BiCRs.Besides the demand for collision avoidance, grips must satisfy the robot kinematic constraints for continuous cycles of climbing from the point of view of reachability.Furthermore, grips should contribute to the formation of a reasonable combination of various gaits with corresponding step lengths, to save the climbing time and energy.
The grip sequences to BiCRs are like the footprint sequences to humanoid robots.Therefore, we can learn from the foot placement problem of humanoid robots that has been addressed in the literature.There are two families of approaches for solving the humanoid robot foot placement problem, which is based on discrete search and continuous optimization, respectively.The discrete search methods normally require a pre-generated set of potential footprints before planning.Then classical methods, such as A * and RRT, are commonly used for searching.Based on the terrain map and a discrete set of footstep placement positions, Kuffner [12,13] presented a global dynamic programming approach using greedy heuristics to plan safe navigation strategies for biped robots moving in obstacle-cluttered environments.Chestnutt et al. [14,15] used an A * search algorithm to generate a sequence of collision-free footstep locations to reach a given goal state.A tiered planning strategy was introduced in [16] that split the planner into three layers to traverse different terrain types.Ayaz et al. [17,18] presented a global reactive footstep planning strategy based upon a humanistic approach, in which a heuristic cost based on the complexity of stepping motion was used to assign foot placements and an exhaustive search was employed to identify the best path.These approaches can easily handle obstacle avoidance but introduce the trade-off between computational efficiency and solution precision.The continuous optimization approaches operate directly on the poses of the footsteps as continuous decision variables.Thus, it can make up for the precision deficiency of the discrete search methods.In [19,20], the authors presented a novel footstep optimization method with mixed-integer convex constraints that could solve the problem to its global optimum.However, the generation of each reachable region deeply relied on the position of the previous step, increasing the time consumption.In addition, adjusting the parameters to approximate the reachable regions was always difficult and thus reduced the planning accuracy.Guan et al. [21,22] built global optimization models with non-linear constraints to find the maximum heights of the obstacles that can be overcome.The results were then used as a priori knowledge and a database for surmounting obstacles.However, they focused on how to stride across one obstacle only, but not generating the nearby footprint sequences.Please note that these footstep planning methods for humanoid robots are always applied in 2D or 2.5D environments, which differs from the grip planning for BiCRs in complex 3D truss environments.
To the best of our knowledge, the collision-free grip planning problem has rarely been studied in the literature.Balaguer et al. [2,23] treated the BiCRs' climbing path planning as a TSP-like problem.They modeled the environment as a graph with two categories of primitives.They then proposed a heuristic algorithm to solve the climbing path, along which the robot visited all beam faces without repetition.Detweiler et al. [24] presented a path planning algorithm to optimize the locomotion sequences for the Shady3D robot.A set of potential gripping points was first dispersed in the truss environment up to a certain density.Then the shortest locomotion sequence represented with gripping points was computed with the Dijkstra's distance.Based on the framework of conventional genetic algorithm, Chung et al. [25] adopted the concept of genetic modification to design a new genetic operator.They used this method to solve the climbing path with the minimum energy demand.However, these methods all suffer limitations from spending long planning time, ignoring specific transition movement, and not thinking about obstacle avoidance.Lam et al. [7] discretized the tree surface into finite grasp points, then used a dynamic programming algorithm to identify the global path and adopted a motion planning algorithm to generate the single-step climbing motion.Therefore, this method was only applicable to BiCRs climbing on the object surface with non-enclosure grippers.It can only obtain a near-optimal solution.Zhu et al. [26] presented two optimal strategies to select a collision-free grip from its potential region based on three criteria step by step.However, this method lacks global guidance in searching, and hence, is inefficient most of the time.
For BiCRs rapidly generating optimal collision-free grips, we have proposed a novel framework, which further subdivides the grip generation procedure into three steps: (1) quick determination of all feasible climbing routes in global, outputting member sequence and corresponding grip orientation and operational regions for transition; (2) optimal arrangement of collision-free grips on the operational regions on each member along each feasible climbing route; (3) generation of the entire grip sequence with a gait interpreter.

For
Step (1), we have presented a high-efficiency global path planning method in [27].Further to our previous work, we present an optimal collision-free grip planning method to minimize the number of climbing steps in this paper.
The novelty of this paper is the first systematic presentation of an optimal collision-free grip planner for the biped climbing robots generating grip sequences in a complex truss environment.This grip planner not only handles well with the collision between the robot and the truss, but also guarantees the robot kinematics, the minimum number of climbing steps, the good manipulability of transition grips.It should be noted that this grip planner is able to solve the grip planning problem of more than 30 grips in a scene of 25 members within 0.65 s.Another novelty of this paper is the mathematical model for computing the operational regions for negotiating obstacle members.
The remainder of this paper is organized as follows.We briefly review the global path planning and its output, followed by introducing the idea of collision-free grip planning in Section 2. We then create a mathematical model for computing the operational regions to negotiate obstacles in Section 3. We construct a mathematical optimization model to determine the collision-free grips in the operational regions in Section 4. A gait interpreter and its implementation are described in Section 5.In Section 6, we conduct simulations with Climbot to verify the proposed analysis and algorithms.Finally, we conclude our work in Section 7.

Global Path Planning and Feasible Routes
In our framework, the crucial point of global path planning is to provide global guidance for the subsequent processes, i.e., grip planning and single-step motion planning.It concentrates on the fast determination of all feasible routes, Γ.The distinguishing merit is that it largely narrows down the searching space to a limited number of members, and thus largely increases the searching efficiency.
As a global guidance for BiCRs, a feasible route, Γ i , should indicate the entire climbing path with the member sequence M, the gripping orientations W R on the members, and the operational regions R t for transitions.Figure 2 shows us an illustration of one feasible route in a scene consisting of 7 members, taken from [27].In the scene, each member is described in the world frame {W} as where W P 0 , W P dir and L mem are the reference point, the direction unit vector and the length of the member, respectively.While t is a scale, which can be used to specify the gripping position on the member.For the convenience of expression and understanding, j x is denoted as a grip position on the j-th member from where a transition begins (the takeoff segment) and j y on the same member to where a transition ends (the landing segment).That is to say, j x and j y are also scales the same as t.
Based on this notation, the operational regions for transiting from j-th member to (j + 1)-th member are the set of j x and j+1 y, i.e., where the boundaries are computed by the transition analyzer during global path planning.We proved that j+1 y and j x are linear for BiCRs like Climbot with planar configurations in [27].Therefore, their relationship can be written as where σ and δ are constants.In other words, the gripping points within the operational regions for transitions are one-to-one mapping.,

Destination
An illustration of a feasible route.Green and red spheres in the figure stand for the initial position and the destination, respectively.Nearby numbers indicate the sequence of transitions to be performed along the route.

The Problem of Optimal Collision-Free Grip Planning
From Figure 2, we can see that BiCRs may collide with the truss members during climbing, no matter when it moves forward on a member or transits between two adjacent members.Without loss of generality, the collision-free grip planning problem in a truss environment can be simplified as the model shown in Figure 3.For ease of understanding, we define three categories of operational regions.They are (1) the operational region R init representing the starting point t init and the destination t goal , which are given beforehand, (2) the operational region R t for performing transitions between adjacent members, which is output from the global path planner, and (3) the operational region R o for negotiating obstacles when moving on a member.The operational regions for transitions are highlighted with green, while that for negotiating obstacles are with red in Figure 3. Accordingly, the optimal collision-free grip planning problem is to compute R o , then optimally determine grips within R t and R o , and finally arrange grips between R t and R o so that adjacent grips satisfy the robot kinematics.
Operational region for transitions Operational region for negotiating obstacles Figure 4 shows us the flowchart of our proposed optimal collision-free grip planning algorithm.Each feasible route Γ i = {M, W R, R t } is extracted for grip planning successively.For each member M j of Γ i , the operational region j R o for negotiating obstacle members will be computed with a mathematical model (which will be presented in Section 3).After getting the operational regions for negotiating obstacles on all via members, an optimization model is used to determine the grips S or (G or , C or ) within the operational regions.The objective of this optimization model is to achieve the minimum number of climbing steps and the good manipulability of the transition grips.The optimization model also takes the relationship between step length and climbing gaits into account.Finally, a gait interpreter is designed to arrange grips outside of the operational regions, to obtain the entire grip sequence S (G, C).Guiding by the output of the grip optimization model, the gait interpreter can ensure a shifting configuration exists for each pair of adjacent grips.This shifting configuration will be the input of single-step motion planning.During the grip planning procedure, the route will be determined to be blocked if solving of the operational region j R o for negotiating obstacles fails or no solution for the grip optimization model.

Start
Reading all feasible routes ( ) from global path planner Γ Extracting one route ( )

Computation of Operational Regions for Negotiating Obstacles
In this section, we study how BiCRs negotiate obstacles to move from the transition landing segment to the next takeoff segment on a specific member.

The Key Point for Negotiating Obstacles
As mentioned earlier, for the j-th member, the applicable gripping orientation W R j , the transition landing segment [ j y, j y] and next takeoff segment [ j x, j x] are determined by the global path planner.BiCRs with planar configuration can only move within a plane, i.e., the robot plane η as shown in Figure 5, along the via member.Therefore, the possible range of collision can be segmented by a cuboid ∆.Denote l cub , w cub and h cub as the length, width and height of this cuboid, respectively.The dimension of the cuboid can be set as, where r link and r mem are the radii of the robot links and the truss members; l 1 and l 2 refer to the robot link lengths indicated in Figure 1, while θ max is the maximum rotation angle of the T-type joint of the robot; l sa f e is a pre-defined safe distance to facilitate the gripping and grip-releasing operations.
In this paper, only the truss members are considered as potential obstacles during climbing.Thus after defining this cuboid, the robot can only collide with those members that intersect the cuboid during the movement from the transition landing segment to the next takeoff segment.Conversely, the potential obstacle members can be extracted out by an intersection check between each member and the cuboid.
Next, we define a Key Point which plays a key role to determine the reasonable obstacle-negotiating configuration.As shown in Figure 5, the obstacle-negotiating configuration is a state that the robot grips on the j-th member with both grippers, surrounding the obstacle with its body (Figure 6a) or avoiding collision with the obstacle by lowering its body (Figure 6b).The Key Point is actually the point that most likely to collide with the robot in the obstacle-negotiating configuration.Suppose the angle between the obstacle member axis and the robot plane is λ.If λ < λ threshold , where λ threshold is a small angle, the obstacle member is approximately parallel to the robot plane.In this case, the Key Point is one of the end points of the obstacle member axis, according to the striding-over mode or the creeping mode selected for negotiating obstacles.If λ > λ threshold , where the obstacle member intersects the robot plane, the Key Point is selected as, • the intersection point between the obstacle member axis and η, if this intersection point locates within the cuboid, or • the intersection point between the obstacle member axis and the cuboid, if the intersection point between the obstacle member axis and η is outside the cuboid.The Key Point, in this case, is closest to η.

The Mode to Negotiate Obstacles
Basically, BiCRs have two modes of surmounting obstacles, which are the striding-over mode and the creeping mode, respectively, illustrated with Climbot in Figure 6.Denote d o as the distance between the Key Point and the gripping member.The maximum distance d stride max for striding-over and the minimum distance d creep min for creeping, can be calculated with the robot's parameters.Obviously, the robot can surmount the obstacle member only with the striding-over mode when d o is smaller than d creep min as shown in Figure 6a, and with the creeping mode when d o is larger than d stride max as shown in Figure 6b.In the case of (d creep min < d o < d stride_max ), the robot can overcome the obstacle with either of these two modes.Further reflecting in the mathematical model (Equation ( 5)) to compute the operational regions for negotiating obstacles, the applicable mode determines the boundaries of the rotation angle of the T 1 or T 3 joint of the robot.

The Mathematical Model of Operational Regions for Negotiating Obstacles
Assume n j periods of obstacle crossings are required to move from j y to j x on the j-th Member.For the k-th period of obstacle crossing, referring to Figures 5 and 6, its operational region R o is dependent on two variables, j x k and the rotation angle θ of the T 1 or T 3 joint of the robot.Moreover, the minimum and maximum of j x k are exactly the boundaries of the takeoff segment, while j x k and θ determine the boundaries of the landing segment.Therefore, the following mathematical model is built up to calculate the maximum operational region subject to: where d i is the distance between the robot link and the obstacle member; θ min θ max is the rotation limitation of the T-type joint of the robot; d grips is the distance between two grips distributed in the takeoff and landing segments, respectively.It should be noted that d i in the pre-gripping and gripper-releasing procedures must be also considered.

Optimal Collision-Free Grip Planning
In this section, we discuss the optimal determination of grips within each operational region.Thus, hereafter the three categories of operational regions will be treated equally if not specified.

Minimum Climbing Steps
To form a firm grip, BiCRs must accomplish several procedures, i.e., detecting the target member, adjusting the gripper's orientation accordingly, and then approaching the member and gripping it.According to our experiments, the grip operation normally consumes two-thirds of the time in each climbing cycle [28,29].Therefore, minimizing the total number of climbing steps is a promising solution to reduce the time consumption.Suppose n members are involved in the feasible route, where (n − 1) periods of transitions are required.The objective function to minimize the total number of climbing steps can be written as: where j y k is generally a grip within the landing segment of an operational region, and j x k is another one within the takeoff segment, while g( j x k , j y k ) is the function calculating the minimum number of steps required to move from j y k to j x k .This function will be discussed in detail in Section 4.2.1.
It should be noted that the landing grip j y k+1 is corresponding to the takeoff grip j x k in a transiting gait.
In Equation ( 6), one step should be counted for performing transitions or negotiating obstacles.For the last member, a virtual step after reaching the destination (as shown in Figure 2) is added to maintain the consistency of the form.

Good Manipulability
The configurations corresponding to the boundaries of operational regions for transitions always suffer from singularity or joint rotation limitations.So optimal transition grips should keep a distance from their boundaries.To achieve this goal, we construct a potential field, i.e., Equation (7), to adjust the transition grips as close to the midpoint of the corresponding operational regions as possible.Owing to the function characteristics, closer to the midpoint, the value of the function is smaller and the robot has better manipulability when moves nearby the grips.minimize j x n j +1 n ∑ j=1 ( j x n j +1 − j x n j +1 )( j x n j +1 − j x n j +1 ), where j x n j +1 is actually the last grip on the j-th Member.That is to say, in fact, j x n j +1 is j x in Equation (2).

Combination
To unify the above two objectives in a function, Equations ( 6) and ( 7) are normalized.Equation ( 6) can be rewritten as, minimize where j N min is the ideal minimum number of climbing steps going through the j-th member without consideration of collision, which is computed as, j N min = minimize g( j x n j +1 , j y 1 ).
Equation ( 7) can be written as, minimize j x n j +1 n ∑ j=1 ( j x n j +1 − j x n j +1 )( j x n j +1 − j x n j +1 ) For the destination, this component is set to −1 to place the last grip exactly in the destination.Combining Equations ( 8) and ( 10) yields the final objective function in Equation ( 12).

Moving Distance and the Gaits
Benefiting from the bipedal climbing pattern inspired by arboreal primates, BiCRs normally have several climbing gaits.Climbot, for example, has at least three basic gaits, namely the inchworm-like gait, the swinging-around gait, and the flipping-over gait [8].Each gait has its own characteristics, among which the step length plays a key role in the determination of the required number of climbing steps given a moving distance.Table 1 summarizes the minimum and maximum step lengths of each gait.In the table, the so-called hybrid gait refers to a three-step climbing pattern derived from the basic gaits, as shown in Figure 7.
Table 1.Minimum and maximum step lengths with different gaits.

Gaits
Step Lengths

Minimum Maximum
Inchworm-like gait Flipping-over gait Hybrid gait To go through a given distance, i.e., from a landing segment to a takeoff segment on a certain member, Climbot always can climb with a combination of different gaits.Based on Table 1, we analyze the relationship between the moving distance and the minimum number of required climbing steps as follows.

•
DiMov (direct movement) gait: the moving distance is equal to S 0 .In this case, the landing segment partially (or completely) overlaps with the takeoff segment.Climbot can pass through just with one grip performing two climbing cycles continuously.As a result, the required number of climbing steps in this case is 0.

•
Inch gait: the moving distance is within (S 0 , S 1 ).Only the inchworm-like gait is applied to this condition.At least two steps (stretching and shrinking) are required when climbing with the Inch gait.

•
SaFo gait: the moving distance is within (S 2 , S 3 ).One step climbing with the swinging-around gait or flipping-over gait meets the distance well.

•
Hyb gait: the moving distance is within (S 1 , S 2 ) or (S 3 , S 4 ).Under such circumstances, a mixture of the inchworm-like gait and swinging-around or flipping-over gait should be applied (hybrid gait).Figure 7 illustrates the climbing patterns with Climbot.It moves a step with the swinging-around gait or the flipping-over gait, and then climbs two steps with the inchworm-like gait.Thus, at least three steps are required.

•
SaFo gait: the moving distance is larger than S 4 .The minimum number of climbing steps can be calculated as S k /S 3 , where the symbol represents the ceiling operation.Accordingly, the robot moves with the swinging-around gait or the flipping-over gait.
In summary, the mathematical relationship between the minimum number of climbing steps N k and the corresponding moving distance S k on a member can be expressed as a piecewise function, where S k = | j x k − j y k |.This piecewise function is plotted in Figure 8.Given the moving distance, the required minimum climbing steps can be computed with Equation (11).

Collision Avoidance during Transitions
Potential collision must be also taken into account when BiCRs perform transitions.As a result, it is necessary to extract the potential obstacle members before solving the grip optimization model, in order to guarantee safe transitions.
Figure 9 shows our strategy to find all the potential obstacles j O t .Supposing BiCRs transit from Member 1 to Member 2, a conservative Sphere Ω is constructed based on the operational region R t for transiting.The center P C of Sphere Ω coincides with the center point of a set of T 1 and T 3 joint center points corresponding to the boundary configurations.While the radius r Ω of Sphere Ω is set as the furthest distance between its center and the gripping points.Thus, this sphere space covers the range where potential collision may happen during transition.Obstacle members are then found out by carrying out intersection checks between the sphere and each truss member.Taking the case in Figure 9 for example, Member 4, Member 5 and Member 6 will be extracted as the potential obstacles.Sphere Ω Figure 9.The method to extract potential obstacles when transiting between adjacent members.

The Optimization Model
Putting all the pieces together gives us the entire optimization model for grip planning, as minimize ∑ k=1 g( j x k , j y k ) + 1 j N min + 1 + ( j x n j +1 − j x n j +1 )( j x n j +1 − j x n j +1 ) ( j x n j +1 − j x n j +1 ) 2 /4   subject to: g( j x k , j y k ) s.t.Equation (11), j N min s.t.Equation (9), where R represents the robot.Please note that some operational regions have two segments [27], whose boundaries increase in turn.Then the constraint, ( j b k − j x k )( j x k − j c k ) ≤ 0, is added to ensure that j x k is within the valid operational region.

Gait Interpreter
After determining the grips within each operational region, it is time to generate grips connecting the operational regions.That is to say, at this time, the grips are generated outside of operational regions.These remaining grips must be arranged in such a proper way that finally any pair of adjacent grips satisfies the robot kinematic constraints.A dedicated gait interpreter is proposed to implement this function in this section.
Algorithm 1 gives out the basic structure of the proposed gait interpreter.The outputs of the optimal collision-free grip planner are GripsIn f o, inclusive of S or (G or , C or ) and GaitIn f o.GaitsIn f o actually packages the parameters calculated in Section 4.2.1, including the moving distance j S k , number of climbing steps j N k and corresponding gait type.These parameters are important reference for the gait interpreter arranging the remaining grips.Therefore, the inputs to the gait interpreter are the truss environment and GripsIn f o.During processing, the gait interpreter takes the transition, the obstacle negotiation, or the movement between them as a unit.For each unit, the gait interpreter simply arranges grips by calling an appropriate sub-function, according to the corresponding gait type.Sub-functions INCHWORMGAIT, HYBGAIT and SAFOGAIT are designed to generate grips and configurations for the movement between operational regions.While PERFORMTRANSITION and NEGOTIATEOBSTACLE are designed to pack the transition and obstacle-negotiating grips into the grip sequence.

CALCULATESTEPLENGTH is called to calculate the proper step length
StepLen with respect to the gripping position y.Then t insert can be obtained by an offset from the gripping position y.After that, the adjacent grips of y, t insert and x will be sent for kinematic check.If y and t insert or t insert and x do not satisfy the kinematic constraints, t insert will be updated to the opposite direction on the member.Reflecting on the movement of the robot, it is moving forward or backward to adjust the gripping position.If the kinematic check is passed, the function GENERATEGRIP is then used to generate Grips of an inchworm-like gait.Otherwise, the robot cannot continue to climb along this route.; end Algorithm 3 is the implementation of the sub-function HYBGAIT, in charge of generating grips for the hybrid gait.To climb with the hybrid gait, two extra grips need to be inserted.According to Section 4.2.1, every hybrid gait contains an inchworm-like gait.Therefore, one of these two grips will be solved firstly, then the function INCHWORMGAIT is called to generate another.The direction InsDir of inserting first grip is firstly initialized.Based on the distance between y and x, two different strategies are used by the algorithm.If this distance is in the range of (S 1 , S 2 ), an offset O f f set is calculated with the function CALCULATEOFFSET according to GaitsIn f o and InsDir.Then t insert can be solved easily.The other grip Grips new can be obtained by calling the function INCHWORMGAIT.If Grips new is empty, O f f set will be updated by changing to another side to insert the grip.Then INCHWORMGAIT is called again.If this operation successes, Grips between t insert and x are generated by the function GENERATEGRIP.Otherwise, the robot cannot reach the destination via this route.If the moving distance is in (S 3 , S 4 ), two grips always can be inserted between y and x successfully since there is enough adjustment space.
In the case of SaFo gait, ( S i /S 2 − 1) grips are distributed uniformly between the initial and finished gripping position.Verifications of kinematics and collision avoidance should be applied to each step.generated.Four snapshots of results are shown in Figure 10.In the figure, the segments highlighted in green are the operational regions obtained for surmounting the obstacle member.A collision-free obstacle-negotiating configuration is provided as an illustration of the effectiveness.We changed the pose of the obstacle member 588 times, 305 of which got operational region.The average time consumed in the computation procedure is 0.13 s, and the maximum one is 0.44 s.
We conduct another simulation with a scene consisting of multiple obstacles, to test the applicability of our model to multi-obstacle cases.The simulation result is shown in Figure 11.In this scene, the robot is requested to move from the left end to the right end on Member 8, overcoming three groups of obstacles successively.In most cases, a group of obstacles, for example {Member 1, 2, 3} or {Member 4, 5} in the figure, should be considered at one shot.Because these obstacles must be overcome once and for all.In other cases, for instance, the robot overcome Member 6 and Member 7 with two adjacent steps, the operational region can be simply obtained by an intersection operation of the results for negotiating each individual obstacle.However, how to group the obstacle members reasonably is pending for further study.

The Result of Good Manipulability
This part of simulation is conducted to verify the necessity of considering the manipulability of transition grips.In the simple scenario in Figure 12, three members comprise the climbing environment.The robot is requested to start from Member 1, pass Member 2 and finally reach Member 3. The operational regions for transitions, obtained in the global path planning procedure, are highlighted in green.
The grip planning results with and without consideration of the grip manipulability are shown in the figure, illustrated with transition configurations.The two slightly transparent configurations, corresponding grips on the boundaries of operational regions, are the results without consideration of the grip manipulability.They are very close to the robot's singularity (the T 2 joint is close to 0 • ).Further in the gripping procedure, it will affect the ability of the robot to adjust its gripper to align with the target member.As a comparison, the other two configurations represent the results considering the grip manipulability but keeping the number of climbing steps the same.From the figure, we can see that the grips are close to the midpoints of the operational regions.

The Results of Collision-Free Grip Planning
The simulations in this part are conducted to verify the proposed overall grip planning algorithm.The two scenes used in our previous work, consisting of 9 and 25 members, respectively, are again deployed for simulations.Figures 13 and 14 show us the results.If collision avoidance is not taken into account, we do not need to compute the operational regions for negotiating obstacles prior to grip planning.Only the operational regions for transitions are considered in Equation (12).The optimization objectives are to achieve the minimum number of climbing steps, and good manipulability of transition grips as well.Figure 13a shows us the result planned in this way.Eight climbing steps are required from the starting point to the destination.In the figure, we can see that the robot collides with a member when it moves downwards on the first member.Therefore, in this case, the robot actually cannot execute the climbing movement.If collision avoidance is considered, the planner can generate a collision-free solution, where twelve climbing steps are required.As shown in Figure 13b, four extra adjustment steps are added to the route, to change the grip locations.The robot uses two inchworm-like gaits to adjust the gripping positions in climbing.One time is to get ready to surmount the obstacle member with the creeping mode, while another is to prepare for transition since the operational region is short.The planning procedure considering collision avoidance costs 0.78 s.
Figure 14 shows the comparison of results of grip planning, with and without consideration of collision avoidance, in a complex truss environment with 25 members.According to the outputs of the global path planner, there are three feasible routes in total.On the left column are the results obtained without collision avoidance.As a result, the collision between the robot and the truss members can be found in these sub-figures.The collision can be seen more clearly from the zoom-in views.On the right column are the results with collision avoidance.Collision-free grip sequences are successfully solved for each feasible route.Table 2 summaries the comparison of the results.From the table, we know that obstacle members are detected for each route.The time consumption increases four times if collision avoidance is considered.However, the entire planning procedure is still very quick, which costs approximately 0.65 s only.Moreover, the number of grips increases slightly, as the cost of avoiding collision.

Conclusions and Future Work
Biped climbing robots have bright and broad application prospects in the field of performing high-rise truss-related routine tasks.To perform such a task, BiCRs must have the ability to plan their grips prior to climbing.
In this paper, we presented a novel optimal collision-free grip planner for BiCRs generating grip sequence in complex truss environments.The planner essentially consists of three components: (1) a mathematical model for computing the operational regions for surmounting obstacles; (2) a grip placement optimizer for determining the grips within operational regions; and (3) a gait interpreter for generating grips between adjacent operational regions.The idea behind this novel scheme is to use the priority to determine the grips at key places, i.e., operational regions for surmounting obstacles and that for performing transitions, then move to other places.Because normally there is less room to choose and adjust grips for these key places.Simulation results verified that the planner was able to plan approximately 30 grips within 0.65 s, taking collision avoidance, grip manipulability and number of climbing steps into account.However, the current planner only considers the forward and backward movement on a member, which limits the applicable objects as BiCRs with, or less than, five degrees of freedom.In addition, the total time consumed in grip planning is related to the initial values for optimization.
In the near future, we will study the optimal climbing gait type and the collision-free motion for the robot shifting between adjacent grips.Extensive climbing experiments on various trusses will be conducted to further verify our planning algorithms.

Figure 3 .
Figure 3.A general model of collision-free grip planning for BiCRs.

Figure 4 .
Figure 4.The flowchart of collision-free grip planning.

Figure 5 .
Figure 5.The definition of collision avoidance space and Key Point.

Figure 6 .
Figure 6.Negotiating obstacles with the striding-over mode and the creeping mode.

S 3 < S < S 4 Figure 7 .
Figure 7.The three-step hybrid gait.The solid lines represent the current configuration, while the dashed ones stand for the following configuration one step forward.

Figure 8 .
Figure 8.The relationship between moving distance (on a member) and minimum climbing steps.

Figure 10 .Figure 11 .
Figure 10.The results of computing operational regions for negotiating an obstacle in various pose.

SingularityFigure 12 .
Figure 12.The comparison of determination of transition grips with and without consideration of the grip manipulability.

Figure 13 .
Figure 13.Comparison of results of grip planning with and without consideration of collision avoidance in a scene of 9 members.

Figure 14 .
Figure 14.Comparison of results of grip planning with and without consideration of collision avoidance in a scene of 25 members.

Table 2 .
Comparison of results of grip planning with and without the consideration of collision avoidance.