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

Tango Ros Streamer For phab 2 pro #383

Open
gizemarik opened this issue Dec 4, 2017 · 8 comments
Open

Tango Ros Streamer For phab 2 pro #383

gizemarik opened this issue Dec 4, 2017 · 8 comments

Comments

@gizemarik
Copy link

hi,i want to show and edit my 3D simulation from Rtab-map on tango device to my desktop.While using my tango device everything is OK. i can create 3D simulation and can see datas and coordinates but i want to connect my device and my computer .i install tango ros streamer and in my devices, i fill the correct master url then ros light turn on green , but tango light is still yellow. i can start rviz and rtabmap in my desktop seperately however how can i connect tango device and my desktop
my tango device is lenovo phab 2 pro , and im using ubuntu 16.04

@PerrineAguiar
Copy link

Hi @gizemarik,
After setting the ROS Master URI you should be able to receive Tango data on your desktop (enable local master should not be checked). Your device should be in the same network as your desktop.
Here are some tutorials that could help:
http://wiki.ros.org/tango_ros_streamer/Visualisation
http://wiki.ros.org/rtabmap_ros/Tutorials/Tango%20ROS%20Streamer
http://wiki.ros.org/ROS/NetworkSetup

@fangxu622
Copy link

fangxu622 commented Dec 21, 2018

@gizemarik @PerrineAguiar ,hi~I get some problem ,my desktop don't connect the tango device ~my device is lenovo phab 2 pro ~~,i install tango-ros-streamer app version 1.3.1

my desktop environment ubuntu 16.04 kinetic~~

my desktop connect phab-2-pro wlan hotspot ,it make them on the same network .like this
image

but on my tango device like this

image

my device info
image

I'm very appreciate for any guidance

@fangxu622
Copy link

@psoetens @smits thanks all

@PerrineAguiar
Copy link

Hi @fangxu622
It seems that TangoRosStreamer does not find the roscore. Did you start a roscore on your desktop?
The TangoRosStreamer app publishes Tango data to the ROS ecosystem, so you need ROS to be installed on your desktop, and a roscore should be running.
The other solution is to run the roscore on the phone by enabling a local master (see app settings).

To know more about ros please check:
http://wiki.ros.org/ROS/StartGuide
For some tutorials about the TangoRosStreamer app please check:
http://wiki.ros.org/tango_ros_streamer
http://wiki.ros.org/tango_ros_streamer/Visualisation

@fangxu622
Copy link

@PerrineAguiar hi .now i'm have two questions~thanks your reply

first .i'm sure start a roscore in my desktop, and which address should be fill in the MASTER_URI of
the phone ,and fill 192.168.43.106/1/255 ,it's incorrect likely~,how solve this ,i want to run master in my desktop1

second. and run the roscore in the phone ,and in my desktop set export $ROS_MASTER_URI=192.168.43.1 $ROS_HOSTNAME=192.168.43.1 ,it run successfully,like this

and why the colorcamera gui display have other thing ,if i want save the color image raw.
2019-01-06 11-21-18

@PerrineAguiar
Copy link

Hi @fangxu622
The master URI to fill in the app should be of the following format: http://<ip_of_your_desktop>:11311.
Concerning the color image display, you are using a Camera display which means 3D objects (e.g. pointcloud) are projected in the image. If you want the color image only, you can use the Image display.

@fangxu622
Copy link

Hi @fangxu622
The master URI to fill in the app should be of the following format: http://<ip_of_your_desktop>:11311.
Concerning the color image display, you are using a Camera display which means 3D objects (e.g. pointcloud) are projected in the image. If you want the color image only, you can use the Image display.

yes ,I ‘m sorry for making a spelling mistake. i fill app in http://192.168.43.106:11311., tango phone and desktop connect same network ,i want to make the desktop as a master,and i fill http://192.168.43.106:11311 in app . it's incorrect ...

you can see this .

@gizemarik @PerrineAguiar ,hi~I get some problem ,my desktop don't connect the tango device ~my device is lenovo phab 2 pro ~~,i install tango-ros-streamer app version 1.3.1

my desktop environment ubuntu 16.04 kinetic~~

my desktop connect phab-2-pro wlan hotspot ,it make them on the same network .like this
image

but on my tango device like this

image

my device info
image

I'm very appreciate for any guidance

@swiss-knight
Copy link

swiss-knight commented Feb 21, 2019

I also cannot connect to the master URI of ros from the smartphone "Tango ROS Streamer" app.
roscore is launched on the laptop and I can successfully ping the laptop's local net IP from the phone terminal.

/!\ But on the computer, ufw is running. I had to explicitly allow for the port used by ROS.
Then, on the app, the ROS light went to green!
But the Tango light stays red...

I'm currently using melodic (1.14.3) on Ubuntu 18.04 64 bits.

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

4 participants