Skip to content

Commit ff2334a

Browse files
committed
Renamed CommonMavLinkDrone to GenericMavLinkDrone to better reflect the mavlink spec.
1 parent 4a72b40 commit ff2334a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ServiceApp/src/org/droidplanner/services/android/core/drone/autopilot/apm/ArduPilot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
import org.droidplanner.services.android.core.drone.DroneInterfaces;
5858
import org.droidplanner.services.android.core.drone.LogMessageListener;
5959
import org.droidplanner.services.android.core.drone.Preferences;
60-
import org.droidplanner.services.android.core.drone.autopilot.generic.CommonMavLinkDrone;
60+
import org.droidplanner.services.android.core.drone.autopilot.generic.GenericMavLinkDrone;
6161
import org.droidplanner.services.android.core.drone.profiles.Parameters;
6262
import org.droidplanner.services.android.core.drone.profiles.VehicleProfile;
6363
import org.droidplanner.services.android.core.drone.variables.ApmModes;
@@ -80,7 +80,7 @@
8080
/**
8181
* Base class for the ArduPilot autopilots
8282
*/
83-
public abstract class ArduPilot extends CommonMavLinkDrone {
83+
public abstract class ArduPilot extends GenericMavLinkDrone {
8484

8585
public static final int AUTOPILOT_COMPONENT_ID = 1;
8686
public static final int ARTOO_COMPONENT_ID = 0;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
*
4545
* Created by Fredia Huya-Kouadio on 9/10/15.
4646
*/
47-
public abstract class CommonMavLinkDrone implements MavLinkDrone {
47+
public abstract class GenericMavLinkDrone implements MavLinkDrone {
4848

4949
private final MAVLinkStreams.MAVLinkOutputStream MavClient;
5050

@@ -62,7 +62,7 @@ public abstract class CommonMavLinkDrone implements MavLinkDrone {
6262
protected final Attitude attitude = new Attitude();
6363
protected final Vibration vibration = new Vibration();
6464

65-
protected CommonMavLinkDrone(DroneInterfaces.Handler handler, MAVLinkStreams.MAVLinkOutputStream mavClient, AutopilotWarningParser warningParser, DroneInterfaces.AttributeEventListener listener) {
65+
protected GenericMavLinkDrone(DroneInterfaces.Handler handler, MAVLinkStreams.MAVLinkOutputStream mavClient, AutopilotWarningParser warningParser, DroneInterfaces.AttributeEventListener listener) {
6666
this.MavClient = mavClient;
6767

6868
events = new DroneEvents(this, handler);

ServiceApp/src/org/droidplanner/services/android/core/drone/autopilot/px4/Px4Native.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.droidplanner.services.android.core.MAVLink.WaypointManager;
55
import org.droidplanner.services.android.core.drone.DroneInterfaces;
66
import org.droidplanner.services.android.core.drone.Preferences;
7-
import org.droidplanner.services.android.core.drone.autopilot.generic.CommonMavLinkDrone;
7+
import org.droidplanner.services.android.core.drone.autopilot.generic.GenericMavLinkDrone;
88
import org.droidplanner.services.android.core.drone.profiles.Parameters;
99
import org.droidplanner.services.android.core.drone.profiles.VehicleProfile;
1010
import org.droidplanner.services.android.core.drone.variables.Camera;
@@ -22,7 +22,7 @@
2222
/**
2323
* Created by Fredia Huya-Kouadio on 9/10/15.
2424
*/
25-
public class Px4Native extends CommonMavLinkDrone {
25+
public class Px4Native extends GenericMavLinkDrone {
2626

2727
public Px4Native(DroneInterfaces.Handler handler, MAVLinkStreams.MAVLinkOutputStream mavClient, AutopilotWarningParser warningParser, DroneInterfaces.AttributeEventListener listener) {
2828
super(handler, mavClient, warningParser, listener);

0 commit comments

Comments
 (0)