The Agriculture World is a large, flat outdoor Gazebo simulation environment designed for agricultural robotics research. It features a barn with surrounding fences, a medium-sized solar farm, and a wide open field — making it an ideal testbed for area-coverage algorithms, precision navigation, and autonomous field operations. The flat terrain gives ground-truth mobility to wheeled platforms without the complexity of elevation changes, while the structural landmarks provide natural reference points for localization and mission planning.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 Agriculture 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 Agriculture World simulation with a Husky robot spawned at the default position:
View Without Spawning a Robot
To inspect the world in RViz without spawning any robot, use theview_world launch file:
Features
The Agriculture World includes the following environment elements:- Barn — A full-scale barn model surrounded by fencing, providing a realistic rural landmark for navigation and localization tests.
- Large open field — A wide, flat area free of obstacles, ideal for developing and evaluating area-coverage path planners.
- Solar farm — A medium-sized array of solar panels that adds structured geometry to the environment for detection and inspection tasks.
GPS / Real-World Coordinates
The Agriculture 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 Agriculture World datum is located near Carman, Manitoba, Canada:
| Variable | Value |
|---|---|
GAZEBO_WORLD_LAT | 50.109461 |
GAZEBO_WORLD_LON | -97.318978 |
Launch File Arguments
The following arguments are accepted byagriculture_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.
0.0 faces East; 1.5707963267948966 (π/2) faces North.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 agriculture world geometry is loaded as a separate URDF model on top of this base world.