@@ -28,31 +28,28 @@ std::vector<GeometryConfig> fake_geometries() {
2828
2929std::vector<ResourceConfig> fake_discovered_resources () {
3030 return {
31- ResourceConfig (
32- " camera" ,
33- " mycam" ,
34- " rdk" ,
35- {{" width" , 640 }, {" height" , 480 }, {" format" , " mjpeg" }},
36- " rdk:component:camera" ,
37- " rdk:builtin:webcam" ),
38- ResourceConfig (
39- " motor" ,
40- " arm_motor" ,
41- " rand" ,
42- {
43- {" pins" , {{" pwm" , 18 }, {" dir" , 23 }}},
44- {" max_rpm" , 100 },
45- {" encoder_steps" , 200 },
46- },
47- " rdk:component:motor" ,
48- " rand:cool:motor" ),
49- ResourceConfig (
50- " sensor" ,
51- " temp_sensor" ,
52- " viam" ,
53- {{" type" , " temperature" }, {" unit" , " celsius" }, {" poll_rate" , 1000 }},
54- " rdk:component:sensor" ,
55- " viam:temp:sensor1" ),
31+ ResourceConfig ( " camera" ,
32+ " mycam" ,
33+ " rdk" ,
34+ {{" width" , 640 }, {" height" , 480 }, {" format" , " mjpeg" }},
35+ " rdk:component:camera" ,
36+ " rdk:builtin:webcam" ),
37+ ResourceConfig ( " motor" ,
38+ " arm_motor" ,
39+ " rand" ,
40+ {
41+ {" pins" , {{" pwm" , 18 }, {" dir" , 23 }}},
42+ {" max_rpm" , 100 },
43+ {" encoder_steps" , 200 },
44+ },
45+ " rdk:component:motor" ,
46+ " rand:cool:motor" ),
47+ ResourceConfig ( " sensor" ,
48+ " temp_sensor" ,
49+ " viam" ,
50+ {{" type" , " temperature" }, {" unit" , " celsius" }, {" poll_rate" , 1000 }},
51+ " rdk:component:sensor" ,
52+ " viam:temp:sensor1" ),
5653 };
5754}
5855
0 commit comments