The Orchard World is a large, flat outdoor Gazebo simulation environment modelling a working orchard. Parallel rows of small trees are separated by dirt path lanes, creating a highly structured navigation space well suited to row-following, inter-row coverage, and agricultural path planning research. The terrain is slightly uneven underfoot — small surface bumps simulate realistic dirt-field conditions — but the overall landscape remains essentially flat, keeping the focus on lateral navigation between tree rows rather than on elevation challenges. Wide, clear turn-around areas at each end of the orchard provide space for robots to reverse direction between passes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/clearpathrobotics/cpr_gazebo/llms.txt
Use this file to discover all available pages before exploring further.
Supported Platforms
The Orchard World supports the following Clearpath robot platforms. The default platform is Husky.| Platform | platform Value |
|---|---|
| Husky | husky (default) |
| Jackal | jackal |
| Warthog | warthog |
The
platform argument defaults to the CPR_GAZEBO_PLATFORM environment variable if set, otherwise husky is used.Launching
Launch with the default platform (Husky)
Start the Orchard World simulation with a Husky robot spawned at the default position:The default spawn position is
(-11.0, 9.0, 0.2) with a yaw of 1.5707963267948966 (π/2 radians, facing North), placing the robot in a turn-around area at one end of the orchard rows.View Without Spawning a Robot
To inspect the world in RViz without spawning any robot, use theview_world launch file:
Features
The Orchard World includes the following environment elements:- Rows of trees — Many parallel rows of small trees evenly spaced to create clearly defined lane corridors, ideal for structured row-following navigation.
- Dirt path lanes — Unpaved dirt paths running between each row of trees, providing natural navigation channels with slightly irregular surface geometry.
- Wide turn-around areas — Larger open zones at each end of the orchard rows where robots can manoeuvre, reverse direction, and transition between rows without obstacle interference.
- Slightly bumpy terrain — The ground surface has small undulations that simulate a real agricultural field, exercising chassis suspension and odometry robustness without presenting major elevation obstacles.
GPS / Real-World Coordinates
The Orchard World supports real-world GPS coordinates via a datum script. Sourcingdatum.bash exports the GAZEBO_WORLD_LAT and GAZEBO_WORLD_LON environment variables, which set the GPS origin (datum point) for the simulation. This is used by the robot_localization package and other ROS navigation tools to convert between ENU (East-North-Up) local coordinates and global latitude/longitude.
The Orchard World datum is located in central Greece:
| Variable | Value |
|---|---|
GAZEBO_WORLD_LAT | 39.512152 |
GAZEBO_WORLD_LON | 22.426669 |
Launch File Arguments
The following arguments are accepted byorchard_world.launch. Most have sensible defaults and only need to be overridden for non-standard configurations.
The robot platform to spawn. Supported values:
husky, jackal, warthog. Falls back to the CPR_GAZEBO_PLATFORM environment variable if set.Robot spawn position along the X axis (metres).
Robot spawn position along the Y axis (metres).
Robot spawn height above the ground plane (metres). Keep above
0.0 to avoid falling through unrendered terrain.Robot spawn heading in radians. The default of
1.5707963267948966 (π/2) faces the robot North — aligned with the direction of the tree rows.World geometry spawn offset along X (metres).
World geometry spawn offset along Y (metres).
World geometry spawn offset along Z (metres).
World geometry spawn rotation in radians.
Set to
false to launch Gazebo in headless mode (no graphical window).Set to
true to run the Gazebo server without the client GUI.Use Gazebo’s simulated clock for ROS time. Should remain
true in most simulation scenarios.Path to the Gazebo
.world file used as the base environment. The orchard geometry is loaded as a separate URDF model on top of this base world, matching the approach used by the Agriculture World.