The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/ns: Fix informational message about example configs

v1 and v2 example configs are now in an exampleconfigs subdir.

+9 -19
+9 -19
src/xrt/drivers/north_star/ns_hmd.c
··· 379 379 // that value seems to unexpectedly 380 380 // change during init process. 381 381 NS_INFO(ns, 382 - "Just so you know, you can add tunable FoV " 383 - "parameters to your v2 json file. There's an " 384 - "example in " 385 - "src/xrt/drivers/north_star/" 386 - "v2_example_config.json.\n"); 382 + "Just so you know, you can add tunable FoV parameters to your v2 json file. There are " 383 + "examples in src/xrt/drivers/north_star/exampleconfigs.\n"); 387 384 said_first_thing = true; 388 385 ns->eye_configs_v2[0].fov.angle_left = -0.8; 389 386 ns->eye_configs_v2[0].fov.angle_right = 0.8; ··· 426 423 if (offset == NULL) { 427 424 if (said_first_thing) { 428 425 NS_INFO(ns, 429 - "Also, you should put an offset parameter " 430 - "into the json file to transform your head " 431 - "pose from the realsense to your nose " 432 - "bridge. There are some examples in " 433 - "src/xrt/drivers/north_star/" 434 - "example_configs/ .\n"); 426 + "Also, you should put an offset parameter into the json file to transform your " 427 + "head pose from the realsense to your nose bridge. There are some examples in " 428 + "src/xrt/drivers/north_star/exampleconfigs/"); 435 429 } else { 436 430 NS_INFO(ns, 437 - "You should put an offset parameter into " 438 - "the json file to transform your head pose " 439 - "from the realsense to your nose bridge. " 440 - "There are some examples in " 441 - "src/xrt/drivers/north_star/" 442 - "example_configs/ .\n"); 431 + "You should put an offset parameter into the json file to transform your head " 432 + "pose from the realsense to your nose bridge. There are some examples in " 433 + "src/xrt/drivers/north_star/exampleconfigs/."); 443 434 } 444 435 } else { 445 436 struct cJSON *translation_meters = ··· 477 468 } else { 478 469 NS_ERROR(ns, 479 470 "Bad config file. There are examples of v1 and v2 files in " 480 - "src/xrt/drivers/north_star - if those don't work, " 481 - "something's really wrong."); 471 + "src/xrt/drivers/north_star/exampleconfigs - if those don't work, something's really wrong."); 482 472 } 483 473 484 474 cJSON_Delete(config_json);