Manuscript Offprint
arXiv:2610.29452Distance Field Driven Reinforcement Learning for Reactive and Robust Collision Avoidance
Taiga Ikeshima , Sheila Sutjipto , Lan Wu , Francisco J. Naranjo-Campos , Taiki Ishigaki , Taisuke Kobayashi , Teresa A. Vidal-Calleja , and Eiichi Yoshida
Abstract—Robust and reactive collision avoidance remains a central challenge for deploying Reinforcement Learning (RL) policies on real robotic manipulators, particularly when transferring behaviours learned in simulation to the physical world. This paper presents an RL framework that integrates the Euclidean Distance Field (EDF) directly into the observation space, providing the agent with continuous geometric cues that support stable and responsive avoidance behaviours. By leveraging the rich spatial information encoded in the EDF, the method enables a streamlined reward formulation that achieves effective obstacle avoidance both with and without Artificial Potential Field guidance. The proposed approach is validated on a 7-DoF redundant manipulator, demonstrating zero-shot transfer from simulation to real hardware. Despite being trained exclusively with randomised static objects, the deployed policy generalizes to previously unseen real environments and exhibits robust online avoidance of dynamic obstacles. These results highlight the potential of EDF-based representations to mitigate the sim-to-real gap and support reliable and real-time collision-aware behaviour in complex and changing environments.
I. INTRODUCTION
Generating motions that allow a robot to safely reach a target position while avoiding obstacles remains one of the fundamental challenges in mobile robotics and manipulation. As robots are increasingly deployed in cluttered, dynamic, and unstructured environments, the ability to reactively determine collision-free actions from real-time sensory data has become necessary for robust autonomy. This need for reliable, responsive obstacle avoidance is especially pressing where the robot must continuously resolve its motion when presented with incomplete spatial modelling.
A classical solution to real-time obstacle avoidance is the Artificial Potential Field (APF) method [1], which generates control actions by combining attractive and repulsive potentials. While APF is computationally efficient and reactive, it is known to suffer from local minima and non-reachable goals in the presence of obstacles, restricting its applicability in more complex environments. Beyond reactive-based strategies like APF, collision avoidance has also been addressed using offline motion planning by sampling-based methods such as Probabilistic Roadmaps (PRM) [2] and Rapidly-exploring Random Trees (RRT) [3]. While these sampling-based approaches can navigate complex spaces,

Fig. 1: Real-time collision avoidance using RL with a Euclidean Distance and Gradient Field, learnt in simulation and transferred to real-robot experiments.
they often incur significant computational overhead and lack the real-time reactivity for operating in dynamic or unmodelled environments. As an alternative method, optimisation-based motion planning [4] has been proposed, formulating collision avoidance as a constrained optimisation problem and directly computing a trajectory.
Recent advances in machine learning have introduced alternative strategies for navigating complex environments. Deep networks can encode the structure of the environment for collision-free trajectory prediction [5], while Reinforcement Learning (RL) [6] has enabled robots to acquire reactive behaviours directly through interaction with their simulated environment. Hybrid frameworks seek to leverage the benefits of combining traditional methods and RL. For instance, Schneider et al. [7] integrated guidance from APFs into deep RL to mitigate the local-minima issue inherent in classical potential fields. However, their method relies on the assumption that accurate spatial information regarding obstacle location and geometry is readily available. Xu et al. [8] proposed a hybrid architecture in which a deep RL policy produces avoidance actions that guide an APF planner online, enabling real-time motion generation in cluttered scenes. They further extend the potential-field formulation to account for link-level proximity for full-body collision avoidance. Li et al. [9] similarly combine RL with APF by learning situation-dependent scaling factors that modulate the magnitude of the field, improving robustness in cases where
Taiga Ikeshima (8526501@ed.tus.ac.jp), Taiki Ishigaki, and Eiichi Yoshida (eiichi.yoshida@rs.tus.ac.jp) are with Tokyo University of Science, Japan.
Sheila Sutjipto, Lan Wu, and Teresa A. Vidal-Calleja are with the University of Technology Sydney, Australia.
Francisco J. Naranjo-Campos is with Universidad Carlos III de Madrid, Spain.
Taisuke Kobayashi is with the National Institute of Informatics, Japan.
standard APF formulations struggle. These works highlight the appeal of APF-RL combinations: APFs provide structure and computational efficiency, while RL introduces adaptivity and reduces the need for manual tuning.
In practice, obtaining precise and consistent environmental information is nontrivial and remains a primary source of the sim-to-real gap for RL-based methods, as sensing and modelling can introduce noise and uncertainty that simulations fail to capture. Policies trained entirely in simulation may behave unpredictably when deployed if real-world perception deviates from the training assumptions. So far, depth camera images and point clouds from LiDAR have shown a relatively small sim-to-real gap, but ad-hoc tricks are still needed to bridge the gap. Although domain randomisation [10] helps by exposing the policy to varied conditions during training, reliable scene understanding remains essential for robust deployment.
To minimise these perceptual discrepancies, Euclidean Distance Fields (EDFs) have the potential to provide a robust representation for bridging the reality gap in reactive motion planning. Unlike raw point clouds, which are susceptible to sensor noise, or traditional geometric modelling of the environment, which often results in conservative behaviour, an EDF provides a dense spatial signal representing the distance to the nearest obstacle at any given point in the workspace. For example, Signed Distance Fields (SDFs) have been utilized for manipulator collision avoidance [11], [12]. Despite its potential usefulness for learning, to the best of our knowledge, the distance field representations have not been well exploited with RL.
An advantage of the distance field is its ability to be generated in real-time [13]. By training RL policies on EDF-informed observations, an agent can learn to navigate based on the underlying spatial structure of the environment rather than specific pixel-level features or predefined location information. In this work, we propose to exploit EDFs with RL to reduce the sim-to-real gap, as the distance gradients provided by an EDF in the real world can be mapped consistently to the idealised fields encountered during training, ensuring more predictable and robust behaviour on real hardware. Fig. 1 illustrates an example experiment for real-time collision avoidance using RL with EDF, trained in simulation and transferred to the real robot.
The contributions of this paper are then as follows:
-
A novel RL framework that incorporates real-time Euclidean Distance Field measurements directly into the observation space, enabling the policy to learn reactive and robust collision-avoidance behaviours
-
A streamlined reward mechanism that achieves obstacle avoidance with and without APF guidance for the RL method.
-
Zero-shot transfer from simulation to a 7-DoF redundant manipulator, where the deployed policy generalizes to real scenes and exhibits online avoidance of previously unseen dynamic obstacles, despite being trained only with static objects in simulation.
A. Reinforcement Learning
RL [6] provides a framework in which an agent learns a policy through interaction with an environment. RL is commonly formulated as a Markov Decision Process (MDP) defined by , where and denote the state and action spaces, is the transition probability, is the reward function, and is the discount factor. However, although the environment has an underlying state at each time step , the agent cannot directly access it. Instead, the agent receives an observation , from which it selects an action according to a policy . The environment then returns a scalar reward and transitions to a new state, producing the next observation . Through this interaction loop, the agent improves its policy to maximise the expected cumulative reward.
The return from time step t is
and the objective is to find a policy that maximises .
B. Proximal Policy Optimisation
Let us adopt the Proximal Policy Optimisation (PPO) [14] approach for agent training. PPO is a policy gradient method that stabilises learning by limiting excessive policy updates through a clipping mechanism. The policy is updated using an advantage estimate , typically computed via Generalised Advantage Estimation (GAE), and an importance ratio . The clipped surrogate objective
restricts large deviations from the previous policy, enabling stable and computationally efficient training.
C. Euclidean Distance Field
A robot’s environment can be modeled as a surface or manifold with boundary whose orientation is given by surface normals. The Euclidean Distance Field (EDF) representation of is then a scalar field with value at giving the distance to the closest point on the boundary ,
A key property of the EDF is that its gradient has unit norm for all . That is, the gradient satisfies the Eikonal equation, . The relevance of the Eikonal equation for distance field reconstruction is that it provides a strict condition for any reconstruction of the EDF to ensure the environmental representation. Note that any solution to the Eikonal equation is naturally a distance field.
In this work, we adopt the Interactive Distance Field Mapping and Planning (IDMP) framework [13], which provides an online, continuous EDF and gradient field representation based on Gaussian Processes (GPs) [15], [16]. IDMP incrementally constructs a fused distance field that supports real-time distance and gradient updates to allow navigation with dynamic obstacles.
Let denote the point cloud observed at time . A temporary latent GP model, referred to as the Frustum Field, is constructed using only the current measurements. The GP models a latent occupancy function
where is a covariance kernel. Given training observations , the posterior mean at a query point is
where X is the set of training points and is the covariance matrix.
The EDF is recovered using a kernel-specific reverting function ,
The gradient field can be obtained analytically by applying the linear derivative operator to the GP posterior,
IDMP maintains a global Fused Field by incrementally updating a set of training points across frames. Prior points are projected toward the inferred surface using the GP distance and gradient:
which enables efficient fusion and dynamic object removal without explicit data association.
This formulation produces a continuous and differentiable distance field that can be queried at arbitrary locations. As a result, IDMP naturally supports gradient-based motion planning and reactive control by directly providing both distance and gradient information in real time.
Fig. 2 (a) and (b) show the spatial representation induced by the EDF. The colour indicates the value of the distance field, where warmer colours correspond to smaller distances between the query location and the object. In the obstacle-free scene, the distance distribution changes smoothly except in the vicinity of the robot arm. In contrast, with an obstacle present, Fig. 2 (b) shows a locally intensified region (highlighted by the yellow dashed outline), indicating the obstacle and the reduced distance in its neighbourhood.
D. Artificial Potential Field (APF)
The APF method [1] models robot motion as movement in a virtual force field. Let denote a point of interest on the robot's structure, such as the end effector (EE). The potential field is defined as
composed of an attractive term toward the goal and a repulsive term from obstacles.

(a)
(b)
Fig. 2: Cross-sectional xy-plane slice of the Euclidean Distance Field (EDF). (a) The EDF in an unobstructed environment. (b) The same environment with a single obstacle; the resulting change in the distance field is highlighted by the red points within the yellow dashed outline.
The attractive potential toward the goal is defined as
where .
The repulsive potential for obstacle avoidance is defined as
where is the repulsive gain, is the distance to the nearest obstacle, and defines the influence range. The repulsive potential increases rapidly as the robot approaches an obstacle and vanishes outside the influence range.
The artificial force acting on the robot is given by the negative gradient of the potential:
where and . This force determines the motion direction, enabling the robot to reach the goal while avoiding obstacles.
Additionally, to mitigate local minima and facilitate smooth navigation around obstacles, we incorporate the orthogonal compensation component [7] with a coefficient .
III. PROPOSED METHOD
This section presents the proposed control framework that integrates the EDF as the primary environmental representation within a Deep RL (DRL) architecture.
Let us represent the surrounding workspace using the IDMP framework [13]. As established in Section II, IDMP constructs a continuous scalar field over the workspace such that encodes the Euclidean distance from an arbitrary query point to the nearest obstacle surface. Both and its gradient can be efficiently queried; the former quantifies proximity, while the latter offers a principled escape vector aligned with the outward surface normal of the nearest obstacle.

Fig. 3: Overview of the EDF-based RL pipeline.
We incorporate EDF-derived distance and gradient information into the observation space and into the reward design for the APF-guided configurations. By explicitly providing continuous proximity measures and avoidance-direction cues, the agent can select actions while directly accounting for obstacle distance and escape direction, enabling obstacle-aware policy learning in a physically meaningful and differentiable manner.
A. Pipeline of the RL Method Using EDF
Fig. 3 shows the proposed RL-based pipeline. The environment's EDF is generated from real-time observations using an RGB-D camera in the real world whereas it can be directly computed from the geometric information in the simulations. Query points for the distance and gradient to the nearest obstacle at the end of the robot's EE (and body links) are provided as part of the observation space in an RL framework. These observations are the input to a PPO-based policy network. For the APF-guided configurations, the reward function additionally incorporates APF guidance. The learned policy then generates actions that are executed by the robot with no requirement for fine-tuning in the real-world setup.
B. PPO Implementation Details
We trained all policies using PPO implemented in Stable-Baselines3 with a MultiInputPolicy. The actor and critic networks each consisted of two fully connected hidden layers with 64 units and Tanh activations. Training used a learning rate of , a rollout length of 1024 steps, a mini-batch size of 64, 4 optimisation epochs per update, a discount factor of , a GAE parameter of , and an entropy coefficient of 0.01.
C. Action Space
Let us consider an action space vector that specifies incremental joint angle commands for the 7-DoF arm of the Franka Research 3 (FR3). At each time step, the agent outputs
where denotes a small change applied to the -th joint, for . The subsequent joint target is computed as with each joint angle clipped to its predefined range of motion to ensure physically feasible configurations. Since grasping is not considered, the gripper remains fixed and only the joints of the arm are controlled.
TABLE I: Reward and APF guidance hyperparameters
| Symbol | Meaning | Value |
|---|---|---|
| Direction-alignment term weight | 1.01 | |
| Goal-distance penalty (collision) | 2.0 | |
| Goal-distance penalty (no collision) | 1.0 | |
| w | Weight on repulsive term in APF | 0.2 |
| Orthogonal escape term weight | 0.2 |
D. Observation Space
To supply informative and physically grounded avoidance cues, we include EDF-based features directly in the observation: the distance to the nearest obstacle, , and the gradient of the distance field, , which are provided by querying the IDMP framework using Equations (6) and (7), respectively.
The observation consists of the robot motion state, the desired goal position, and EDF-derived environmental information. We consider two conditions that differ in the spatial range where EDF features are queried.
- EE-only: EDF information is provided only at the robot EE. The observation is defined as
where and are the EE position and linear velocity, respectively. The scalar is the EDF distance to the nearest obstacle evaluated at , and is the corresponding EDF gradient (pointing toward increasing clearance). The desired goal position is denoted by .
- Full-Body: EDF information is additionally provided at a set of representative body points . For each point , we compute the distance and gradient and append them to the observation:
This full-body (FB) formulation provides local clearance and escape-direction cues not only at the EE but also around intermediate links, enabling obstacle avoidance to be learned in a whole-body manner.
E. Reward Function Design
The reward jointly promotes goal reaching and obstacle avoidance, following Schneider et al. [7]:
Here, is a penalising term based on the distance to the goal and encourages motion that is consistent with an APF reference direction. For configurations without APF guidance, the second term is omitted, and the reward reduces to . All hyperparameters are summarised in Table I. The reward definition is identical across observation settings.
- Goal-distance term: The term penalises the agent's distance from the goal. Let denote the EE position and the goal position. The distance is defined as
When a collision occurs, the coefficient of switches from to , penalising the agent for remaining in a collided state.
- Movement-direction consistency term: The term encourages the agent to align its motion with a collision-aware reference direction. We define the EE displacement between successive time steps, and , as
and construct an APF-inspired reference vector
where is the EDF evaluated at the query point providing the distance between the EE and nearest obstacle and is the corresponding gradient. The orthogonal escape term is
Finally,
and the term is maximised when aligns with . Note that and are inferred using Equations (6) and (7).
IV. SIMULATION RESULTS
The simulation environment is implemented in MuJoCo 3.3.2 using an FR3 model. The task requires the EE to reach a target while avoiding various obstacle configurations, as shown in Fig. 4. All policies were trained in simulation on

Fig. 4: Simulation setup.
TABLE II: Sampling ranges used for obstacle and goal generation in simulation
| Category | Parameter | Range [min, max] |
|---|---|---|
| Obstacles | x [m] | [0.45, 1.00] |
| y [m] | [-0.50, 0.50] | |
| z [m] | [0.20, 0.80] | |
| x [m] | [0.50, 0.80] | |
| Goal | y [m] | [-0.30, 0.30] |
| z [m] | [0.30, 0.50] |
a laptop equipped with a 13th Gen Intel(R) Core(TM) i7-13620H CPU and an NVIDIA GeForce RTX 4060 Laptop GPU. The average policy inference time was approximately 2.2 ms per control step.
For each configuration, the environment is populated with 10 red spherical obstacles with identical radii. At the beginning of each episode, the obstacles are randomly spawned within a predefined workspace whilst maintaining a minimum inter-sphere separation to avoid overly dense or impassable configurations. Following obstacle placement, a target position indicated by the green object, denoted as , is sampled within a feasible goal region such that the minimum clearance to all obstacles exceeds a prescribed safety margin. A trial is recorded as a success when the Euclidean distance between the manipulator EE and the target falls below a predefined threshold. Upon success, a new target is re-sampled within the current environment and the episode continues. The sampling ranges are summarised in Table II.
To investigate the effect of EDF spatial coverage, we consider two observation settings (see Fig. 5):
-
EE-only, where the EDF distance and gradient are queried only at the EE position.
-
FB, where the same quantities are queried at the EE and at additional body points (Link 5 base and tip, Link 7 centre, and hand centre), and concatenated to the observation vector.
Here, and the placement of the representative points are design choices; in principle, they can be increased and distributed over more links (or multiple points per link) to provide denser whole-body proximity information.
Simulation configurations. To further differentiate the effect of EDF observations from the APF term used in reward shaping, we evaluate six configurations, as summarised in

(a)

(b)
Fig. 5: EDF sample conditions. (a) EE-setting. (b) FB-setting.
TABLE III: Summary of the six simulation configurations
| Condition | Environment-related observation | APF |
|---|---|---|
| Baseline RL | Obstacle centre coordinates (w.r.t. world frame) | × |
| RL-APF | Obstacle centre coordinates (w.r.t. EE) | ○ |
| EDF-RL-EE | EDF at EE | × |
| EDF-RL-APF-EE | EDF at EE | ○ |
| EDF-RL-FB | EDF at EE + N=4 body points | × |
| EDF-RL-APF-FB | EDF at EE + N=4 body points | ○ |
TABLE IV: Simulation results over 100 tests
| Condition | Reaching goal w/o collision (%) | Reaching goal (%) | Average number of collisions | Reaching time (s) (per episode) | Time to learning convergence (h) |
|---|---|---|---|---|---|
| Baseline RL | 35.0 | 51.0 | 27.9 | 14.5 | 2.23 |
| RL-APF | 64.0 | 86.0 | 4.10 | 9.38 | 1.92 |
| EDF-RL-EE | 62.0 | 83.0 | 6.20 | 10.42 | 1.84 |
| EDF-RL-APF-EE | 75.0 | 96.0 | 6.79 | 6.45 | 4.09 |
| EDF-RL-FB | 56.0 | 78.0 | 9.82 | 17.22 | 2.50 |
| EDF-RL-APF-FB | 78.0 | 95.0 | 3.46 | 8.52 | 4.42 |
Table III. All configurations share the robot motion state and desired goal position, while their environment-related observations and use of APF guidance vary.
-
Baseline RL: no EDF-derived proximity cues are provided. Instead, the observation contains global obstacle information, given as centres of all 10 spherical obstacles w.r.t. the world frame.
-
RL-APF: The observation contains global obstacle information, given as the relative vectors from the EE to the centres of all 10 spherical obstacles. The reward shaping is based on the simulator calculated APF.
-
EDF-RL-EE: EE-only EDF observations.
-
EDF-RL-APF-EE: EE-only EDF observations, with the APF using EDF distance and gradient term.
-
EDF-RL-FB: FB EDF observations.
-
EDF-RL-APF-FB: FB EDF observations, with reward shaping based on APF.
Configurations 1) and 2) assume access to ground-truth obstacle centre positions and are therefore limited to simulation. In contrast, configurations 3)–6) use the distance and gradient provided by the EDF as observations, while configurations 4) and 6) additionally use these quantities to construct the APF term; these quantities can be computed by IDMP and are thus applicable to real-world settings. In practice, ground-truth obstacle positions are not directly available without additional instrumentation, making the baselines in 1) and 2) unrealistic outside simulation.
The results in Table IV are computed from 100 simulation trials as follows:
-
Reaching goal (%): the percentage of episodes in which the EE reaches the goal (with or without collision) within 2000 steps.
-
Reaching goal w/o collision (%): the percentage of episodes in which the goal is reached without any collision during the episode.
-
Average number of collisions: the average number of collision events per episode. A collision event is counted when the robot touches any obstacle sphere; continuous contact is counted as one event, and a new event is counted only after the robot separates and touches again.
-
Reaching time (s): for successful episodes, the time from episode start until the goal is reached, averaged over successful episodes.
-
Time to learning convergence (h): the elapsed time until the learning curve is judged to have converged based on a predefined threshold.
As shown in Table IV, integrating EDF into RL-APF-based strategies significantly improves performance compared to Baseline RL and RL-APF methods. Specifically, EDF-RL-APF-EE and EDF-RL-APF-FB generally show better goal-reaching success, fewer collisions, and faster reaching times. However, there are instances where they do not consistently outperform other strategies.
For example, EDF-RL-APF-EE achieves a higher collision-free goal-reaching success rate and a shorter reaching time than RL-APF, although it can incur slightly more collisions in some episodes when performing recovery maneuvers.
EDF-RL-APF-FB achieves the highest collision-free success rate and the lowest average number of collisions, although EDF-RL-APF-EE achieves a shorter reaching time.
While EDF-RL-EE and EDF-RL-FB improve collision-free success over the Baseline RL condition, EDF-RL-APF-EE and EDF-RL-APF-FB achieve higher collision-free success rates and shorter reaching times.
Overall, EDF-based strategies, especially when combined with RL-APF, offer improvements in safety (fewer collisions) and efficiency (faster goal-reaching), though performance varies depending on the evaluation criteria.
V. REAL-WORLD EXPERIMENTS
In the real-world experiments, we performed an obstacle-avoidance reaching task, where the objective is to move the EE to a target position while avoiding obstacles. Note that the RL policy was trained only in simulation, as described above, and transferred zero-shot to the real robot.
We evaluated two scenarios: (i) a setup with two static obstacles, as shown in Fig. 6 (a), and (ii) a scenario where the task starts without obstacles and a single obstacle is introduced into the environment during the execution of the reaching task, as illustrated in Fig. 6 (b), to assess avoidance and goal-reaching performance under the presence of a dynamic obstacle.
For environmental sensing, an Intel RealSense D455 RGB-D camera was used to acquire depth measurements. The point cloud was reconstructed from the depth data, and the EDF distance and gradient vector at an arbitrary query position were inferred using the IDMP framework. The distance and gradients at the requested positions were provided to the agent in the same observation format as in the simulation experiments.
In the real-world experiments, the learned policy was executed on the same laptop. The policy outputs were

(a)
(b)
Fig. 6: Real-world experimental setups: (a) two obstacles in predefined positions; (b) a single dynamic obstacle introduced during execution.
TABLE V: Real-world results for the fixed-obstacle condition over 10 tests
| Condition | Reaching goal w/o collision (%) |
|---|---|
| EDF-RL-EE | 60 |
| EDF-RL-APF-EE | 40 |
| EDF-RL-FB | 70 |
| EDF-RL-APF-FB | 70 |
converted into joint-position targets based on the current joint configuration and sent to the Franka controller.
As in simulation, the Baseline RL and RL-APF assume knowledge of the obstacle ground-truth positions. We did not consider these cases in the real experiment, as they require a pre-mapping stage and dedicated instrumentation for the dynamic obstacle, which is not required for the proposed policies. Therefore, we evaluated only four EDF-based configurations: EDF-RL-EE, EDF-RL-APF-EE, EDF-RL-FB and EDF-RL-APF-FB with static obstacles.
In Table V, Reaching goal w/o collision denotes the percentage of trials in which the robot reached the goal without making contact with any obstacle. In the experiments, robot-environment collisions were detected for the robot arm including EE, and each trial was terminated immediately upon any contact.
Fig. 7 shows a left-to-right time sequence of the EDF-RL-APF-FB policy successfully avoiding two fixed obstacles on the real robot. The rows show (top) IDMP, (middle) the corresponding simulation visualisation, and (bottom) the real robot.
In the interactive (dynamic obstacle) experiment, we evaluated the EDF-RL-APF-FB policy by comparing the resulting trajectories under three conditions:
-
No obstacle.
-
Lateral dynamic interference, where a moving obstacle approaches the robot's path along the xy-plane, defined by the coordinate frame in Fig. 6 (b).
-
Vertical dynamic interference, where an obstacle approaches the robot's path from below along the z-axis.
Fig. 8 shows trajectories generated by the EDF-RL-APF-FB policy under four conditions: no obstacle, fixed obstacles, lateral dynamic interference, and vertical dynamic interference. Compared with the no-obstacle case, the presence of obstacles induces clear deviations in the trajectory, indicating effective avoidance behaviour in response to both static and dynamic interference. During the interactive experiments, the obstacle exhibits periodic oscillatory motion as it is introduced to interfere with the robot path. In response, the EDF-RL-APF-FB policy generates corresponding reactive trajectories for the distal links (Links 6 and 7), the hand, and the end-effector centre, as illustrated in Fig. 8.
Table V presents the quantitative results for the fixed-obstacle real-robot experiments, demonstrating successful zero-shot transfer from simulation to the real robot. Moreover, the EDF-RL-APF-FB policy demonstrated reactive avoidance in the interactive experiment with a dynamic object, without the need for fine-tuning. It is worth noting that given the collisions were considered for the full body of the robot, it is expected that the EE-only policies performed worse than the policies that considered points along the rest of the arm. Finally, as mentioned before, the EDF is constructed using data from the camera. Given that the field of view of the camera is facing the robot, there are many occlusions, in particular behind the obstacles. This missing information is the cause of some of the reported collisions with the arm.
VI. CONCLUSION
We proposed a method for acquiring a versatile motion policy capable of adapting to unseen environments using RL. Specifically, we integrated an environment representation based on EDF into the PPO DRL algorithm. This method incorporates the EDF to provide real-time information on the distance to the nearest obstacle surface and the gradient direction for avoidance, based on the proximity to any point in the environment. This EDF information is used for observation and reward design in APF-guided configurations, making it a key feature of the proposed approach. The experimental results show that using the distance and gradient information from the EDF enables the robot to exhibit stable avoidance behaviour in complex environments, achieving a high goal-reaching rate while reducing collisions. Additionally, the learned policy can be applied to environments with randomly changing obstacle configurations, resulting in a robust policy with high environmental adaptability. Thus, the EDF-based environment representation is a promising approach for acquiring general-purpose motion policies through RL.
We have also identified several future developments. First, our real-world experiments used a single RGB-D camera, which limited obstacle reconstruction due to occlusions. As a next step, we will introduce multi-view sensing with multiple RGB-D cameras to obtain denser and more complete point clouds, enabling more reliable EDF construction and more rigorous real-world validation.
Second, we will extend the EDF-based representation beyond obstacle avoidance to grasping. Existing grasping approaches often rely on specialised hardware like soft robots or data-driven grasp planners trained on large-scale datasets, whose performance can be sensitive to dataset scale and quality and can incur high data-collection costs.
ACKNOWLEDGMENT
This research was mainly supported by JSPS KAKENHI Scientific Research (S) Grant Number 22H05002 and by the Industrial Transformation Training Centre (ITTC) for Collaborative Robotics in Advanced Manufacturing (also known as the Australian Cobotics Centre) funded by ARC (ProjectID: IC200100001).

(1)
(2)
(3)
(4)
(5)
Fig. 7: Time sequence (left to right) of the EDF-RL-APF-FB policy on the real robot, successfully avoiding two obstacles under the fixed-position condition, with corresponding rows (top: IDMP, middle: simulation for visual reference, bottom: real robot).

No obstacle

Fixed obstacles

Lateral dynamic object

Vertical dynamic object
Fig. 8: Trajectories of the EDF-RL-APF-FB policy under four conditions: no obstacle, fixed obstacles, lateral dynamic interference, and vertical dynamic interference.
REFERENCES
[1] O. Khatib, “The potential field approach and operational space formulation in robot control,” in Adaptive and Learning Systems: Theory and Applications. Springer, 1986, pp. 367–377.
[2] L. Kavraki, P. Svestka, J.-C. Latombe, and M. Overmars, “Probabilistic roadmaps for path planning in high-dimensional configuration spaces,” IEEE Trans. on Robotics and Automation, vol. 12, no. 4, pp. 566–580, 1996.
[3] S. LaValle, “Rapidly-exploring random trees: A new tool for path planning,” Research Report 9811, 1998.
[4] X. Zhang, A. Liniger, and F. Borrelli, “Optimization-based collision avoidance,” IEEE Transactions on Control Systems Technology, vol. 29, no. 3, pp. 972–983, 2020.
[5] A. H. Qureshi, Y. Miao, A. Simeonov, and M. C. Yip, “Motion planning networks: Bridging the gap between learning-based and classical motion planners,” IEEE Transactions on Robotics, vol. 37, no. 1, pp. 48–66, 2021.
[6] R. S. Sutton, A. G. Barto et al., Reinforcement learning: An introduction. MIT press Cambridge, 1998, vol. 1, no. 1.
[7] L.-S. Schneider, J. Peng, and A. Maier, “Robot movement planning for obstacle avoidance using reinforcement learning,” Scientific Reports, vol. 15, no. 1, p. 32506, 2025.
[8] Q. Xu, T. Zhang, K. Zhou, Y. Lin, and W. Ju, “Active collision avoidance for robotic arm based on artificial potential field and deep reinforcement learning,” Applied Sciences, vol. 14, no. 11, 2024. [Online]. Available: https://www.mdpi.com/2076-3417/14/11/4936
[9] H. Li, D. Gong, and J. Yu, “An obstacles avoidance method for serial manipulator based on reinforcement learning and artificial potential
field," International Journal of Intelligent Robotics and Applications, vol. 5, 06 2021.
[10] J. Tobin, R. Fong, A. Ray, J. Schneider, W. Zaremba, and P. Abbeel, "Domain randomization for transferring deep neural networks from simulation to the real world," in 2017 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2017, pp. 23–30.
[11] A. Govoni, M. Cavuoto, Y. Li, S. Calinon, and G. Palli, "Real-time collision avoidance with robot distance fields in a task-priority framework," Robotics and Autonomous Systems, vol. 200, p. 105394, 2026. [Online]. Available: https://www.sciencedirect.com/science/article/pii/S0921889026000679
[12] S. Xu, G. Li, and J. Liu, “Obstacle avoidance for manipulator with arbitrary arm shape using signed distance function,” in 2018 IEEE International Conference on Robotics and Biomimetics (ROBIO), 2018, pp. 343–348.
[13] U. Ali, L. Wu, A. Müller, F. Sukkar, T. Kaupp, and T. Vidal-Calleja, "Interactive distance field mapping and planning to enable human-robot collaboration," IEEE Robotics and Automation Letters, vol. 9, no. 12, pp. 10850–10857, 2024.
[14] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, "Proximal policy optimization algorithms," arXiv preprint arXiv:1707.06347, 2017.
[15] L. Wu, K. M. B. Lee, L. Liu, and T. Vidal-Calleja, “Faithful euclidean distance field from log-gaussian process implicit surfaces,” IEEE Robotics and Automation Letters, vol. 6, no. 2, pp. 2461–2468, 2021.
[16] C. Le Gentil, O.-L. Ouabi, L. Wu, C. Pradalier, and T. Vidal-Calleja, "Accurate gaussian-process-based distance fields with applications to echolocation and mapping," IEEE Robotics and Automation Letters, vol. 9, no. 2, pp. 1365–1372, 2023.