oss

OpenMower needs a map, a position and a way to stop

8 sources 7 primary sources November 17, 2026

Loading reads and saves…
Text

A mower can know where it is and still have no idea which grass belongs to the job. OpenMower separates those questions: a map describes where to cut, positioning locates the machine, and firmware carries out movement commands. Following those responsibilities explains the work behind an orderly mowing run.[1][4]

The project began by replacing the electronics inside a commercial mower. Dave Rowntree's April 2022 Hackaday report documented the appeal of that approach: keeping a usable mechanical platform while making its controller replaceable.[2] The architecture below follows the project's documentation consulted on November 17, 2026; the early Raspberry Pi Pico design described in that report belongs to an earlier hardware generation.

An assembled OpenMower mainboard with motor-controller modules, a black heat sink and a GPS receiver board on a wooden surface.
An assembled mainboard from OpenMower's official preparation guide. The physical modules give the software's division of responsibilities a visible counterpart. Photograph: OpenMower project.[3]

First, describe the job

OpenMower's map distinguishes mowing areas, navigation areas and the docking position. A mowing area has an outer boundary and can contain exclusions for fixed obstacles. A navigation area permits travel without mowing. The dock has both a position and an orientation, giving the return journey a destination with a direction of approach.[4]

Imagine two lawns connected by a paved passage. Recording the passage as a navigation area allows travel without cutting; an exclusion around a tree keeps it outside the mowing job. The map assigns different meanings to spaces that appear together on the phone.

Recording means driving around an outline while maintaining a fixed RTK solution, then saving the area. The boundary inherits the quality of those recorded positions, which explains why the setup guide puts positioning checks before the first simple map.[4]

Locate the mower—and the right point on it

RTK, or real-time kinematic positioning, combines satellite measurements at the mower with corrections from a fixed reference station. Corrections can come from a local base or an external service delivered through NTRIP. The documentation describes centimetre-level positioning with a good RTK fix, conditional on reception and a continuing supply of corrections. Trees and nearby buildings can interfere; ordinary GPS positioning is insufficient for the intended precision.[5]

This makes the correction link part of the navigation system. Receiving satellite signals and receiving useful correction data are separate requirements. Neither supplies the lawn boundary: that remains the map's job.

There is also a small piece of geometry between the antenna and the wheels. OpenMower's antenna-offset settings describe the antenna relative to the midpoint of the drive-wheel axis. In that local frame, forward is positive X and left is positive Y. For the documented example of an antenna 10 centimetres forward and 5 centimetres right, antenna_offset_x is 0.1 and antenna_offset_y is -0.05; the values are metres.[6]

That correction lets positioning account for where the receiver sits on the machine. As a geometric consequence, an antenna mounted off-centre traces an arc when the mower rotates around its wheel-axis midpoint. Treating the antenna as that midpoint would confuse movement of the receiver with movement of the point being controlled. Better satellite precision cannot remove an unmodelled mounting offset.

Pass the route down to the hardware

In the documented v2 arrangement, the app communicates through MQTT to a bridge into ROS, the Robot Operating System. Navigation and planning run on a Raspberry Pi Compute Module 4. Motion commands pass over Ethernet through xbot_framework to firmware on the STM32-based xCore board; sensor information travels back.[1]

The firmware handles motors through xESC controllers, reads sensors, and manages charging and battery functions. It also enforces safety states: the architecture guide says its emergency service can cut power independently of ROS.[1] That gives stopping a place below the navigation software. It does not establish that every assembled machine has been tested correctly.

My engineering reading of these interfaces suggests a debugging order: inspect the recorded areas, check the displayed position against chassis movement, then follow commands down to the wheels. Each boundary narrows the next question without requiring the entire system to be understood at once.

Rehearse the software before trusting the garden

OpenMower's simulator makes this division unusually tangible. Its mower_simulation node emulates the low-level board while the real open_mower_ros logic, navigation and coverage planner run against it. The documented Docker setup starts from docker-simulation/ with ./sim.sh up.[7]

With a sufficiently recent app version, simulation controls can lower battery voltage, change GPS quality, trigger an emergency, or hold the true position still while wheel odometry continues. Those cases test what the software does when its inputs become awkward. The guide provides VERSION and APP_VERSION settings for choosing the software combination under examination.[7]

For an individual builder or a small robotics group, I would use that rehearsal to learn the states and reproduce problems before changing hardware. Someone still needs to own the physical installation and field checks. The project's entry guide calls for intermediate electronics, Linux and mechanical skills, including occasional configuration and debugging beyond the app.[8]

A successful simulation cannot establish reception beside a particular hedge, traction on wet ground, or the behavior of a wired emergency input on the finished machine. The architectural payoff is more precise than that: it makes parts of the system independently examinable. A straight mowing line becomes the visible result of a recorded boundary, a usable position, a correctly described chassis and commands that reach working hardware.

Sources

  1. OpenMower, “System Architecture” — app, ROS, xbot_framework and v2 firmware responsibilities; official documentation consulted November 17, 2026.
  2. Dave Rowntree, “OpenMower: Open Source Robotic Lawn Mower With RTK GPS,” Hackaday, April 7, 2022 — independent coverage of the original conversion and its earlier hardware.
  3. OpenMower, “Step 2.3: Prepare the Mainboard” — assembly documentation and original finished-mainboard photograph.
  4. OpenMower, “Step 4: Record Areas & Use it” — positioning checks, orientation initialization, mowing/navigation areas and docking geometry.
  5. OpenMower, “RTK GPS Navigation and Coordinate System” — correction sources, reception requirements and positioning limits.
  6. OpenMower, “Configuring the GPS Antenna Offset” — wheel-axis reference point, coordinate signs and metre-based configuration values.
  7. OpenMower, “Running the Simulation” — emulated board, real navigation software, test-state controls and version selection.
  8. OpenMower, “Build Your First OpenMower” — required skills, configuration work and build context.
Previous XCSoar gives the glide home a working estimate Next TurtleStitch makes a small program worth wearing

Recommended In oss

Matched by subject and format