Android Open Source - base_controller Base Device

From Project

Back to project page base_controller.


The source code is released under:

Apache License

If you think the Android project base_controller listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

 * Copyright (C) 2013 Creativa77./* w  ww .j a  va  2  s  .  co  m*/
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.

package com.github.c77.base_driver;

 * Created by Lucas Chiesa on 30/09/13.

public interface BaseDevice {

     * initialize the base. This method should is called by the node
     * before sending movement commands.
    void initialize();

     * moves the base. The argument values are the ones
     * transmitted in a twist message.
     * @param linearVelX: linear speed
     * @param angVelZ: rotational speed
    void move(double linearVelX, double angVelZ);

     * @return: The base status updated with the latest base information.
    BaseStatus getBaseStatus();

    OdometryStatus getOdometryStatus();

Java Source Code List