Howto Compass, navigation points, and loss of control protection?

Basic introduction

Q1:How to set the compass for a large Rover?

https://ardupilot.org/rover/docs/common-compass-calibration-in-mission-planner.html#large-vehicle-magcal

It is only mentioned here that for large vehicles, the compass angle can be manually set, but it is not specified where or how to set it

Q2:Turn off the remote control, the wheels of the Rover will move.

I guess when the remote control was turned off, the controller detected a loss of signal and entered out of control protection.

May I ask how to turn off the out of control protection?

May I ask how to make the ROVER stop in place when the controller detects any problem?

Q3:Set 2 navigation points on the map, but it doesn’t follow a straight line.

I marked three points on the map, which are home, wp1, and wp2

Then I turned on AUTO mode, and he could accurately recognize three points, but when he went from WP1 to WP2, he didn’t walk in a straight line, but in a relatively smooth S-shaped bend.

Why is that? How should I set it up?

Supplementary explanation

I tested the issue of the car moving when the remote control is turned off.
I set RC7 to ArmDisarm (4.2 and higher)
The phenomenon is as follows:

    1. If the remote control is not turned on and the rover is directly powered on, the car will not move.
    1. After the rover is powered on, the remote control is powered on and can control the car normally
    1. After the rover is powered on, the remote control is powered on and controlled normally. If the remote control is turned off, the wheels will move. (Regardless of whether the current mode is hold, manual, or auto)
    1. After the rover is powered on, the remote control is powered on. After normal control, turn on RC7 and turn off the remote control. The wheels will not move.

There is another question, which is about this RC7. Regardless of whether it is turned on or off, the remote control can control the wheels to rotate when it has power.
So, what does ArmDisarm (4.2 and higher) mean?
Normally, turning off ArmDisarm (4.2 and higher) should not be able to control wheel movement.

Some of your questions are without enough context to answer, so I will provide what I can:

Assuming all else at default, arming allows throttle output. In a disarmed state, the drive wheels should not move. Many aux functions are fully enabled prior to arming, but that should not impact drive motor output.

I see that there is likely steering linkage on one set of wheels. Steering output is enabled by default while disarmed. If you wish to disable it on power up, you should use a hardware safety switch and the BRD_SAFETY_MASK parameter to disable it when the safety switch is in the safe state.

Your observations regarding RC transmitter state are consistent with a radio (RC) failsafe. At this stage of configuration, you should probably leave that at its default. Later, you can change that behavior.

When using Large Vehicle Mag Cal, you must input the actual vehicle heading (use a handheld compass to determine which way it’s facing). Later, you can use Compass Learn and/or the MAGFit tool to refine the calibration.

Misbehavior in auto mode indicates one or more of a number of configuration errors. Using auto mode before attempting any tuning is ill-advised. And the results you experienced indicate that you have likely mixed up some input/output reversal parameters, among several other key configuration parameters. DO NOT assume that successful operation in manual mode will equate to success with any other mode - that is a red herring, and many users make the mistake of simply forcing manual mode to work without following proper configuration procedure, then wonder why things are all messed up in the end.

Use this guide and do not skip any steps. Pay particular attention to the “Configuration” and “First Drive with Rover” sections.

Consider using the Methodic Configurator (it should support Rover but most of the instructions are fairly Copter specific).

1 Like

There is a Rover template in “ArduPilot Methodic Configurator” thanks to @rmackay9.

Most of your questions can be resolved by following the official Rover setup documentation.

If you’ve gone through all the documentation and still need help with setting the compass manually, feel free to ask—there’s no specific guide for that in the official documentation, and I’m familiar with the process. I also suggest trying a quick Google search, as it might help resolve the issue.

Are you working as part of a team, or did you build the car yourself? It seems like you might not have full oversight of the project, even though you’ve created a great vehicle. By the way, the term ‘Navigation Point’ is usually referred to as ‘Waypoints.’

Some have recommended the ‘ArduPilot Methodic Configurator,’ but I find it a bit too complex and overkill for beginners.

Also, your car looks fantastic! Is it possible to buy one, and if so, where can I purchase it? I’d love to get one like that if I could.

https://ardupilot.org/copter/docs/common-compass-calibration-in-mission-planner.html

This is official guide. If you find the official guide difficult to understand, you can manually check your understanding using this logical debugging method:

Logical Debugging Procedure

  • Align your rover with a known reference (e.g., a straight road on the map).

  • Enter a deliberate incorrect value in Mission Planner.

  • Check the result against your known alignment to understand the calibration’s effect.

This way, you can learn clearly without relying on a specific guide.

Large Vehicle Calibration procedure:

  • Identify a clear landmark on your map.

  • Point your copter or rover towards this landmark.

  • Determine the true heading (bearing from north) to this landmark.

  • Enter this true bearing into Mission Planner for calibration.

  • Verify the calibration by checking against other landmarks.

Note: To effectively use these methods, it’s important to understand how bearing is calculated and how it relates to the Earth’s globe.

1 Like