Plug-in Based Software Architecture for Roboticsplugin architecture. Required functionality ● Given start and end robot state, create a motion plan 11Core System contains the Interface class #pragma once #include#include ~IMotionPlanner() = default; virtual bool initialize() = 0; virtual std::vector plan (RobotState start, RobotState goal) = O; }; } This is an abstract class 12Core System contains ~IMotionPlanner() = default; virtual bool initialize() = 0; virtual std::vector plan (RobotState start, RobotState goal) = O; }; } The Robot State comprises of the joint names 0 码力 | 75 页 | 2.40 MB | 6 月前3
Cooperative C++ Evolutionmetafunctions, … Simplification through generalization Compatibility for C++ Why • What kind • What plan3 green-field language invent new idioms/styles new modules new ecosystem/packagers compatibility metafunctions, … Simplification through generalization Compatibility for C++ Why • What kind • What plan10 Simplicity Efficiency Safety These are not always in tension Judicious abstraction directly metafunctions, … Simplification through generalization Compatibility for C++ Why • What kind • What plan45 I do believe that there is real value in pursuing functional programming, but it would be irresponsible0 码力 | 85 页 | 5.73 MB | 6 月前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Codeand Partial Applications ● Here is more code that shows closures and partial applications Path plan(Position const& start, Position const& goal, Map const& map) { /* Variable setup */ auto is_occupied goal){ return plan(start, goal, map); }; auto const plan = planner(Position{0, 0}, Position{2, 2}); /* More implementation code */ }Closures and Partial Applications Path plan(Position const& auto const planner = [map](auto const& start, auto const& goal){ return plan(start, goal, map); }; auto const plan = planner(Position{0, 0}, Position{2, 2}); /* More implementation code */ }0 码力 | 200 页 | 1.77 MB | 6 月前3
Many Ways to Kill an Orc (or a Hero)have a plan 42We need a plan…We need a plan… • By adding features and moving members around somewhat blindly, we’re « fixing » problems but creating others • Writing code without a plan is a perilous perilous venture, even for such a simple problem 44We need a plan… • What do we want? • We want heroes to be able to hit monsters (Orcs in particular) • We want monsters to be able to hit heroes (otherwise things fun, let’s suppose heroes can wear armor, which potentially gives them an edge 45We need a plan… • We have implementation considerations • Let’s make it so all characters will have a name, and0 码力 | 202 页 | 1.26 MB | 6 月前3
Things Happening in SG14the various requests gain traction 37A word on P2000 and P0592 How P2966 fits in the « overall plan for C++… » 38A word on P2000 and P0592 • To help focus C++ evolution efforts, two notable papers contributors plan to write papers that will help these requests lead to adoption of corresponding features in the C++ language or its standard library 63Actions • SG14 contributors plan to write papers contributors will try to help bring these other papers to fruition 64Actions • SG14 contributors plan to write papers that will help these requests lead to adoption of corresponding features in the0 码力 | 148 页 | 1009.97 KB | 6 月前3
Improving Our Safety With a Quantities and Units Librarylibrary ISO C++ papers 21• P1935: A C++ Approach to Physical Units • P2980: A motivation, scope, and plan for a physical quantities and units library CppCon 2024: Improving our safety with a quantities and library ISO C++ papers 21• P1935: A C++ Approach to Physical Units • P2980: A motivation, scope, and plan for a physical quantities and units library • P3045: Quantities and units library CppCon 2024: Improving library ISO C++ papers 21• P1935: A C++ Approach to Physical Units • P2980: A motivation, scope, and plan for a physical quantities and units library • P3045: Quantities and units library • P3003: The design0 码力 | 207 页 | 6.93 MB | 6 月前3
C++26 Previewit is an immutable property of committee process 'train model' - what is ready ships there is a plan: much committee work has gone virtual subgroup meetings on going every week 3 virtual plenary sessions it is an immutable property of committee process 'train model' - what is ready ships there is a plan: much committee work has gone virtual subgroup meetings on going every week 3 virtual plenary sessions views::slice views::take_exactly views::drop_exactly Adaptor compositions views::upto …much more… A Plan for C++26 Ranges 61in dra� implementation P2542 views::concat https://github.com/huixie90/cpp_0 码力 | 118 页 | 2.02 MB | 6 月前3
cppcon 2021 safety guidelines for C parallel and concurrencysenders and receivers? • C++26 executors networking?, concurrency TS2? Conclusion and Future plan • 2021: plan to integrate with MISRA 202X NEXT release • 17 rules to MISRA C++ NEXT • 17 rules to C++CG •0 码力 | 52 页 | 3.14 MB | 6 月前3
Libraries: A First Step Toward Standard C++ Dependency Managementhttps://youtu.be/VCrLAmJWZFQVerdict: Somebody needs to work on this!! 20Hey… we’re somebody! 21The Plan 22Disclaimer: Not at 1.0 yet! ● Might need to pivot ● Subject to discussion and changes ● Please files ● Explore use case inside Bloomberg for interop between .pc and .cps ● Develop a transition plan that supports gradual transition from.cmake to .cpsNot brain surgery or rocket science 78 Image licensed0 码力 | 82 页 | 4.21 MB | 6 月前3
Applicative: The Forgotten Functional Patternabout an or or fold to fold to get the error? get the error? Plan: invert the sense and then write a fold expression to extract the error. Plan: invert the sense and then write a fold expression to extract0 码力 | 141 页 | 11.33 MB | 6 月前3
共 96 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
相关搜索词
PluginBasedSoftwareArchitectureforRoboticsCooperativeC++EvolutionLeveragingFunctionalApproachMoreTestableandMaintainableROSCodeManyWaystoKillanOrcorHeroThingsHappeningSG14ImprovingOurSafetyWithQuantitiesUnitsLibrary26Previewcppcon2021safetyguidelinesparallelconcurrencyLibrariesFirstStepTowardStandardDependencyManagementApplicativeTheForgottenPattern













