Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you for your comment.

I checked the connection between linux PC and Android device through ping command bi-directionally. But there was no problem. And this is adb logcat when I ran the Camera tutorial. 143.215.131.136 is linux machine IP and 128.61.23.106 is android device IP. Publisher registered I think.

I/Registrar( 3726): MasterXmlRpcEndpoint URI: http://143.215.131.136:11311/

I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>

I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view] as publisher of [/rosout], [http://143.215.131.136:48368/]>
**I/DefaultPublisher( 3726): Publisher registered:** Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>

I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/image/compressed>>, Topic<TopicIdentifier</camera/image/compressed>, TopicDescription<sensor_msgs/CompressedImage, 8f7a12909da2c9d3332d540a0977563f>>>>

I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/camera_info>>, Topic<TopicIdentifier</camera/camera_info>, TopicDescription<sensor_msgs/CameraInfo, c9a58c1b0b154e0e6da7578cb991d214>>>>

I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view] as publisher of [/camera/image/compressed], [http://143.215.131.136:60766/]>

I/DefaultPublisher( 3726): Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/image/compressed>>, Topic<TopicIdentifier</camera/image/compressed>, TopicDescription<sensor_msgs/CompressedImage, 8f7a12909da2c9d3332d540a0977563f>>>>

D/skia    ( 3726): onFlyCompress

I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view] as publisher of [/camera/camera_info], []>

I/DefaultPublisher( 3726): Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/camera_info>>, Topic<TopicIdentifier</camera/camera_info>, TopicDescription<sensor_msgs/CameraInfo, c9a58c1b0b154e0e6da7578cb991d214>>>>

Thank you for your comment.

I checked found one solution. If I use linux machine and android device on the connection between same local network (e.g. linux PC and Android device through ping command bi-directionally. But there was no problem. And machine: 192.168.0.10, android device: 192.168.0.20), this tutorial is adb logcat working perfectly. However it still doesn't working when I ran the Camera tutorial. 143.215.131.136 is linux machine IP and 128.61.23.106 is android device IP. Publisher registered I think.use different network.

I/Registrar( 3726): MasterXmlRpcEndpoint URI: http://143.215.131.136:11311/

So I want to change my question. How I set my linux PC network setting? For now, e.g.

I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>> I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view]

Linux PC physical IP: 142.153.234.12

  • ROS_IP = 142.153.234.12

  • ROS_HOSTNAME = 142.153.234.12

  • ROS_MASTER_URI = http://localhost:11311/

Android device physical IP: 128.123.24.123 and I entered http://142.153.234.12:11311/ on the camera_tutorial_app as publisher of [/rosout], [http://143.215.131.136:48368/]> **I/DefaultPublisher( 3726): Publisher registered:** Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>> master URI

I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/image/compressed>>, Topic<TopicIdentifier</camera/image/compressed>, TopicDescription<sensor_msgs/CompressedImage, 8f7a12909da2c9d3332d540a0977563f>>>> I/Registrar( 3726): Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/camera_info>>, Topic<TopicIdentifier</camera/camera_info>, TopicDescription<sensor_msgs/CameraInfo, c9a58c1b0b154e0e6da7578cb991d214>>>>

Is that right? thank you.

I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view] as publisher of [/camera/image/compressed], [http://143.215.131.136:60766/]> I/DefaultPublisher( 3726): Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/image/compressed>>, Topic<TopicIdentifier</camera/image/compressed>, TopicDescription<sensor_msgs/CompressedImage, 8f7a12909da2c9d3332d540a0977563f>>>> D/skia ( 3726): onFlyCompress I/Registrar( 3726): Response<Success, Registered [/ros_camera_preview_view] as publisher of [/camera/camera_info], []> I/DefaultPublisher( 3726): Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</ros_camera_preview_view, http://128.61.23.106:49303/>, TopicIdentifier</camera/camera_info>>, Topic<TopicIdentifier</camera/camera_info>, TopicDescription<sensor_msgs/CameraInfo, c9a58c1b0b154e0e6da7578cb991d214>>>>

Thank you for your comment.

I found one solution. If I use linux machine and android device on the same local network (e.g. linux machine: 192.168.0.10, android device: 192.168.0.20), this tutorial is working perfectly. However it still doesn't isn't working when I use different network.

So I want to change my question. How I set my linux PC network setting? For now, e.g.

Linux PC physical IP: 142.153.234.12

  • ROS_IP = 142.153.234.12

  • ROS_HOSTNAME = 142.153.234.12

  • ROS_MASTER_URI = http://localhost:11311/

Android device physical IP: 128.123.24.123 and I entered http://142.153.234.12:11311/ on the camera_tutorial_app as master URI

Is that right? thank you.

Thank you for your comment.

I found one solution. If I use linux machine and android device on the same local network (e.g. linux machine: 192.168.0.10, android device: 192.168.0.20), this tutorial is working perfectly. However it still isn't working when I use both pn different network.

So I want to change my question. How I set my linux PC network setting? For now, e.g.

Linux PC physical IP: 142.153.234.12

  • ROS_IP = 142.153.234.12

  • ROS_HOSTNAME = 142.153.234.12

  • ROS_MASTER_URI = http://localhost:11311/

Android device physical IP: 128.123.24.123 and I entered http://142.153.234.12:11311/ on the camera_tutorial_app as master URI

Is that right? thank you.