mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Fixup: Correct typo in controller
This commit is contained in:
parent
afd4495c96
commit
2e7028b2e8
@ -51,7 +51,7 @@ public class Controller extends ObjectManagerActivity {
|
|||||||
void onOPConnected() {
|
void onOPConnected() {
|
||||||
Log.d(TAG, "onOPConnected()");
|
Log.d(TAG, "onOPConnected()");
|
||||||
|
|
||||||
// Subsribe to updates from ManualControlCommand and show the values for crude feedback
|
// Subscribe to updates from ManualControlCommand and show the values for crude feedback
|
||||||
UAVDataObject manualControl = (UAVDataObject) objMngr.getObject("ManualControlCommand");
|
UAVDataObject manualControl = (UAVDataObject) objMngr.getObject("ManualControlCommand");
|
||||||
if(manualControl != null) {
|
if(manualControl != null) {
|
||||||
manualControl.addUpdatedObserver(updatedObserver);
|
manualControl.addUpdatedObserver(updatedObserver);
|
||||||
@ -63,9 +63,7 @@ public class Controller extends ObjectManagerActivity {
|
|||||||
public void run() {
|
public void run() {
|
||||||
uavobjHandler.post(new Runnable() {
|
uavobjHandler.post(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
//DualJoystickView joystick = (DualJoystickView) findViewById(R.id.dualjoystickView);
|
|
||||||
|
|
||||||
UAVObject gcsReceiver = objMngr.getObject("GCSReceiver");
|
UAVObject gcsReceiver = objMngr.getObject("GCSReceiver");
|
||||||
if (gcsReceiver == null) {
|
if (gcsReceiver == null) {
|
||||||
Log.e(TAG, "No GCS Receiver object found");
|
Log.e(TAG, "No GCS Receiver object found");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user