I was wondering, whether there is a complete guide on how to use two ArduSimple ZED-F9P boards for yaw on a rover?
I have seen some documentation and posts, plus YT videos, either being too generic or only showing a portion of what is needed.
I am happy to document and share this as I progress.
The way I think what needs doing (and given I am new to all of this, I could be wrong) in principle is to:
take two ArduSimple boards
mount these at least 30 cm apart. Suggestion received was to go as wide as the rover allows; e.g., an 80 cm wide mower, mount these 80 cm apart.
each GPS needs some basic config via uCenter
some physically connections need to be made between the ArduSimple boards and the flight controller
MissionPlanner needs some parameters set to make this work
Is there a proven way / instruction on how this needs to be done?
I have a working base station on the roof of the shed; it has been calibrated some 2 years ago; however, Australia moves 6 cm north per year; hence, needing a new calibration, which however, not instrumental for this set-up attempt.
I have the GPS board with RTK (Xbee) connected to the GPS module port, marked as âroverâ (came pre-configured by ArduSimple as such); assuming it to be on serial 4?! Does it need to go on serial 5? Where is serial 5?
I have seen Kennyâs YT setting the GPS transmission speed top 115k instead of 408k. IS this documented somewhere too?
On your mower, looking at the two boards, which one is rover, and which one is moving base? (When I look at them with screen print being the correct way legible.)
GPS1 will be the one attached to the port marked GPS, and it will become the moving base.
GPS2 will be the one attached to the port marked UART/I2CB, and it will become the rover.
Remove the XBee module. You probably donât need it. At a minimum, you need to focus on ONE aspect of setup at a time.
Baud rates donât matter. They are set automatically no matter what you set in the parameter window.
Donât worry about matching my mower exactly. You donât have a carbon copy of it - not by any stretch. You need to set up YOUR mower and set the parameters accordingly.
Ardupilot sets up the GPSes perfectly now. I believe it always did, actually. You can take two Ardusimple RTK2B boards right out of the box, connect them to the flight controller, set the parameters as directed in the documentation Yuri referenced, and boom, Bobâs your uncle. That is IF your RTCM3 can feed into UART2 on the Moving Base at 460800. That is the only baud rate set by Ardupilot for the UART2 crossover between the GPSes. If your RTCM3 is coming in at any other baud, you do need to make changes in Ucenter.
All of this only applies if you have RTCM3 coming via a dedicated radio link, as I do.
Be sure you accurately set the GPS_POS parameters for each GPS antenna.
Why not?
The reason I put the base on the shed roof was to get centimetre accuracy. The Xbee is the receiver for that RTK signal.
I asked the question about which one to use for the moving base and the rover, so that I could put the ârightâ board for the right purpose and on the ârightâ GPS channel.
Do you have a fixed base?
If so, how was/is it set up?
I know exactly what the XBee is for. If you want to use it, it goes on the moving base (GPS1 on SERIAL3).
I say you donât need it because MAVLink telemetry is perfectly capable of carrying RTCM3 from a fixed base installation, potentially reducing the complexity of configuration.
The advantage to using a dedicated radio for RTCM3 is that you donât have to maintain a constant telemetry (MAVLink) connection to the vehicle to retain precise positioning.
⌠but have not yet connected the two ArduSimple boards. Will do this tomorrow; GPS receivers sit on window sill; dark and cold outside, bed time now.
I am not sure though why the mower on the map does not point north.
I placed the two GPSes a metre apart facing north; yet the mower points west (which was correct for the previous GPS locations).
Also, what does the -2 over the mower mean? (During typing this post it changed to -3.)
I also donât understand the coloured âpointersâ (lines).
Red - current heading: in my case does not match the direction of the mower, if the direction is determined by the GPSes.
Orange - direction to current way point: this matches the GPS yaw
Green - target heading: havenât seen this yet; assume it only shows when a mission runs?!
Black -GPS track: documentation says: âBlack is the GPS track as your vehicle travels.â â But neither the flight controller nor the GPS yaw point in that dicrection. Or does it only update when the mower would move?
Question: As I understand, the set-up by the book routes RTK msgs through the flight-controller. Would it take of load form the lfight-controller by connecting the two GPS boards via RX2 â TX2 connections?
You just answered all of your own questions regarding the lines. Red is the one for current heading, which is the one you need be concerned with for now.
The -2 is altitude relative to home in meters.
Have you set the GPS_POS* parameters per the documentation? Simply putting the antennas âabout a meter apartâ is not sufficient. They need to be oriented per those params.
Routing RTCM3 through the autopilot or not is inconsequential. It has plenty of processing power.
But now I get it⌠while I can just drop the GRPSes outside⌠I still have to provide the GPS_POS_⌠settings⌠even for bench testing. The minimum setting to be other than zero would be the Y axis; OK I set this to +0.5 and -0.5mâŚ