1
00:00:00,500 --> 00:00:03,365
Carter imported from URDF has no sensors.

2
00:00:03,365 --> 00:00:09,303
In this lesson you add a camera and a lidar, applying what you learned in module one.

3
00:00:10,203 --> 00:00:14,271
Both sensors go directly under chassis link, the chassis body.

4
00:00:14,271 --> 00:00:18,469
That follows the six point one rule from lesson one point three.

5
00:00:18,469 --> 00:00:20,306
The camera feeds a viewport.

6
00:00:20,306 --> 00:00:27,653
The lidar sees every rendered obstacle, and you can stream it to RViz with the graph from lesson one point four.

7
00:00:28,553 --> 00:00:30,227
Start with the camera.

8
00:00:30,227 --> 00:00:35,171
Create a camera and drag it under carter, Geometry, chassis link.

9
00:00:35,171 --> 00:00:39,355
Rename it R G B sensor, translate it to zero point one,

10
00:00:39,355 --> 00:00:44,756
zero, zero point three three, and rotate it ninety, minus ninety, zero.

11
00:00:44,756 --> 00:00:48,255
Look through it from the viewport camera menu.

12
00:00:48,255 --> 00:00:49,853
Press play and drive.

13
00:00:49,853 --> 00:00:51,907
The view moves with Carter.

14
00:00:52,807 --> 00:00:53,922
Then the lidar.

15
00:00:53,922 --> 00:00:58,680
Select chassis link and create the example rotary 2 D RTX lidar.

16
00:00:58,680 --> 00:01:03,885
Translate it to minus zero point zero five, zero, zero point four two.

17
00:01:03,885 --> 00:01:06,562
Add a few obstacles around the grid.

18
00:01:06,562 --> 00:01:09,982
Give them colliders so Carter bumps into them.

19
00:01:09,982 --> 00:01:16,154
Unlike the course's PhysX lidar, the RTX lidar does not need colliders to see them.

20
00:01:16,154 --> 00:01:21,358
Remember to switch the viewport back to perspective before navigating.

