BehaviorTree.CPP: Task Planning for Robots and Virtual Agentsan extensible Domain Specific LanguageBehavior Trees as a DSL bool FetchBeer() { if( GoTo("kitchen") && OpenFridge() && Grasp("beer") && CloseFridge() ) { return true;0 码力 | 59 页 | 7.97 MB | 6 月前3
Evolution of a Median AlgorithmExecPolicy&& execPolicy, Range&& rg, Comparison comp = {}, Projection proj = {}) { // TODO }The Kitchen Sink 33 template0 码力 | 46 页 | 1.06 MB | 6 月前3
The Roles of Symmetry And Orthogonality In Design• Helical symmetry • Scale symmetry • Glide reflection symmetry • Rotoreflection symmetry “Kitchen kaleidoscope quilt block” Symmetric: • …is “similar” • …is NOT “sameness”Charley Bay - charleyb1230 码力 | 151 页 | 3.20 MB | 6 月前3
Performance Mattersstruct itimerval timer; timer.it_value.tv_sec = (msec - msec % 1000) / 1000; timer.it_value.tv_usec = 1000 * (msec % 1000); timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec tv_usec = 0; setitimer(ITIMER_REAL, &timer, 0); } A Typical performance evaluation static void flush_icache(void* begin, size_t size) { uintptr_t p = (uintptr_t)begin & ~15UL; for struct itimerval timer; timer.it_value.tv_sec = (msec - msec % 1000) / 1000; timer.it_value.tv_usec = 1000 * (msec % 1000); timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec0 码力 | 197 页 | 11.90 MB | 6 月前3
Rethinking Task Based Concurrency and Parallelism for Low Latency C++(!stop){auto t = tasks.pop(); t(); tasks.push(t);}}); start_timer(); std::this_thread::sleep_for(test_duration); stop_timer(); calculate_result(); } templatevoid (!stop){auto t = tasks.pop(); t(); tasks.push(t);}}); start_timer(); std::this_thread::sleep_for(test_duration); stop_timer(); calculate_result(); } template void (!stop){auto t = tasks.pop(); t(); tasks.push(t);}}); start_timer(); std::this_thread::sleep_for(test_duration); stop_timer(); calculate_result(); } template void 0 码力 | 142 页 | 2.80 MB | 6 月前3
Conan 1.3 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4 Getting started 15 4.1 A Timer using POCO libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.3 Building the timer example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 Inspecting use CMake. Keep in mind that Conan works with any build system and does not depend on CMake. 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.4 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4 Getting started 15 4.1 A Timer using POCO libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.3 Building the timer example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 Inspecting use CMake. Keep in mind that Conan works with any build system and does not depend on CMake. 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer0 码力 | 421 页 | 2.84 MB | 1 年前3
Conan 1.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4 Getting started 15 4.1 A Timer using POCO libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.3 Building the timer example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.4 Inspecting use CMake. Keep in mind that Conan works with any build system and does not depend on CMake. 4.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer0 码力 | 422 页 | 2.85 MB | 1 年前3
Conan 1.6 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 Getting started 11 3.1 A Timer using POCO libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 Building the timer example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.4 Inspecting use CMake. Keep in mind that Conan works with any build system and does not depend on CMake. 3.1 A Timer using POCO libraries First, let’s create a folder for our project: $ mkdir mytimer $ cd mytimer0 码力 | 428 页 | 2.87 MB | 1 年前3
Conan 1.7 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 Getting Started 11 3.1 A Timer Using POCO Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 Building the Timer Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.4 Inspecting system. Keep in mind that Conan works with any build system and is not limited to using CMake. 3.1 A Timer Using POCO Libraries 1. Let’s create a folder for our project: $ mkdir mytimer $ cd mytimer Note:0 码力 | 433 页 | 2.95 MB | 1 年前3
共 83 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













