Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build the app in android studio 2.3? #64

Open
DavidHan008 opened this issue Aug 6, 2017 · 3 comments
Open

how to build the app in android studio 2.3? #64

DavidHan008 opened this issue Aug 6, 2017 · 3 comments

Comments

@DavidHan008
Copy link

HI the app is very cool ,but I do not know how to build in android studio 2.3 ?
can you help me thx

@DavidHan008
Copy link
Author

I open the code in android 2.3 but i meet some errors.
public void testRobotInfo() throws Exception{

    RobotInfo robot1 = new RobotInfo();
    assertEquals(robot1.getName(), "Robot" + (RobotInfo.getRobotCount() - 1));
    assertEquals(robot1.getMasterUri(), "http://localhost:11311");
    assertEquals(robot1.getJoystickTopic(), "/joy_teleop/cmd_vel");
    assertEquals(robot1.getCameraTopic(), "/image_raw/compressed");
    assertEquals(robot1.getLaserTopic(), "/scan");
    RobotInfo robot2 = new RobotInfo(null, "robot2", "http://localhost:11311", null, null, null, null, null, null);
     assertEquals(robot2.getMasterUri(), robot1.getMasterUri());
}

}

Error:(40, 28) error: no suitable constructor found for RobotInfo(,String,String,,,,,,)
constructor RobotInfo.RobotInfo() is not applicable
(actual and formal argument lists differ in length)
constructor RobotInfo.RobotInfo(UUID,String,String,String,String,String,String,String,String,boolean,boolean,boolean,boolean) is not applicable
(actual and formal argument lists differ in length)

do you know what up?

@lichunlei4
Copy link

哪有红线就注释掉。。。反正也没个卵用

@qxf323
Copy link

qxf323 commented Aug 28, 2019

com/robotca/ControlApp/Fragments/HUDFragment.java
错误: 程序包org.ros.message不存在
错误: 找不到符号
符号: 类 MessageListener
错误: 找不到符号
符号: 类 Odometry
位置: 类 HUDFragment
错误: 程序包org.ros.message不存在
错误: 程序包geometry_msgs不存在
错误: 程序包geometry_msgs不存在
错误: 找不到符号
符号: 类 Twist
位置: 类 RobotController
错误: 找不到符号
符号: 类 Odometry
位置: 类 RobotController
错误: 找不到符号
符号: 类 Pose
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 类 Point
位置: 类 RobotController
错误: 找不到符号
符号: 类 Quaternion
位置: 类 RobotController
错误: 找不到符号
符号: 类 Odometry
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 类 Odometry
位置: 类 RobotController
错误: 找不到符号
符号: 类 Pose
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 变量 Twist
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 变量 Pose
位置: 类 RobotController
错误: 找不到符号
符号: 类 Pose
位置: 类 RobotController
错误: 无法访问Message
找不到org.ros.internal.message.Message的类文件
错误: 找不到符号
符号: 类 MessageListener
位置: 类 RobotController
错误: 找不到符号
符号: 类 Odometry
位置: 类 RobotController
com/robotca/ControlApp/Core/WarningSystem.java
错误: 程序包org.ros.message不存在
com/robotca/ControlApp/Views/JoystickView.java
错误: 找不到符号
符号: 类 MessageListener
错误: 方法不会覆盖或实现超类型的方法
com/robotca/ControlApp/Core/Plans/RobotPlan.java
com/robotca/ControlApp/Core/RobotStorage.java
com/robotca/ControlApp/Layers/LaserScanRenderer.java
错误: 找不到符号
符号: 类 MessageListener
com/robotca/ControlApp/Fragments/CameraViewFragment.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants