In [7]:
from jupyros import ros3d
v = ros3d.Viewer()
rc = ros3d.ROSConnection()
tf_client = ros3d.TFClient(ros=rc, fixed_frame='/base_link')
In [8]:
display(v)
In [9]:
laser_view = ros3d.LaserScan(topic="/scan", ros=rc, tf_client=tf_client)
In [10]:
g = ros3d.GridModel()
In [11]:
v.objects = [g,laser_view]
In [12]:
g.color = '#CCC'
In [13]:
laser_view.point_size = 0.5
In [14]:
v.layout.height= '1000px'
In [ ]: