Tags: abhi1287/alica
Tags
Improve tracing (rapyuta-robotics#180) * WIP * Update trace logs * Release v0.9.2 (rapyuta-robotics#176) * implement planPool * start implementation of tracing * implement IAlicaTrace and IAlicaTraceFactory, add tracing for behaviours init/terminate * replace tracecontext with string, change methods to pure virtual * add getter for traceFactory * replace getter for traceContext with getter for trace * use setLog for init/terminate traces, use factory to create traces * remove amr_interfaces dependency * add default constructor, make create pure virtual * return ptr to traceFactory * return ptr to traceFactory * add trace tag for run methods, check if trace / tracefactory exists before usage * add name to basicPlan, use name for tag * remove member variable and constructors * destroy traces after setting terminate tag * add comment to getTraceFactory method * use setLog, log run once, make getTrace() protected * Fixes in creating traces - Create traces in the execution context during init. - Provide the option to enable/disable tracing * Check if trace factory is setting before using it * Set basicplan name * Bug fixes - check if basic plan exists before accessing the trace context - if no parent is found create a root trace - remove hack to create basic plan * Fix alica engine termination Do the following in order to correctly terminate the engine: 1. Stop the plan base thread. This prevents any more changes to the running plan. 2. Deactivate the running plan in plan base stop(). This ensures the plans/behaviours are scheduled for termination in the correct order. 3. Stop all behaviours & plans that may be running. There should not be any since (2) ensures this taken care of 4. Execute all pending non repeatable jobs in the scheduler thread. This ensures the plan/behaviour init/terminates are actually executed. 5. Stop the scheduler thread Add a trace log that indicates if the trace is for a behaviour or a plan. Note: the master plan trace is not reported because the master plan does not have a corresponding basic plan attached to it. This is a bug & the reason for it is because there is no ConfAbstractPlanWrapper for the master plan due to which it is not in the plan pool. This has to be fixed in a separate PR. * Bring back scheduler null check in engine terminate * Avoid unused variable warning * Create BasicPlan object for the master plan There is no ConfAbstractPlanWrapper corresponding to the master plan. Therefore get the master plan details by calling getPlans() on the PlanRepository which includes the master plan details. * Fix ci Co-authored-by: bjoernschroeder <[email protected]> * Revert "Merge branch 'rr-devel' into vsk_improve_tracing" This reverts commit deab530, reversing changes made to 29616d2. * Remove misleading comment * No need for optional when returning the trace * Reset the trace after terminate * Pass a const ptr to the trace context getter * Add ability to create root custom trace By making the context returned from custom tracing optional the app can choose to create a root trace in cases where no suitable context is available. This can happen when the environment changes before the trace context is retreived but after the behaviour/plan is scheduled to start * Use upper case for alica tag names * Add comments Co-authored-by: bjoernschroeder <[email protected]>
Merge pull request rapyuta-robotics#133 from rapyuta-robotics/fix_par… …sing_quantifiers replace "ALL" with "all"
Push to Master (rapyuta-robotics#41) * - initila commit for robotid * something is compiling omg * - refactored alica from (int, short, long)-IDs to IRobotID - deleted unused old role assignment * - started to fix ros alica proxy - todo: create methods for creating id stuff * handle robot ids convert ros robotid - alica robotid * - initial commit for team manager * - further adaption to new IRobotID and TeamManager * - further adaption to new IRobotID and TeamManager * - further adaption * - first compiling commit * ros_proxy compiles again * refactoring robotid * - refactored robot_id into agent_id in supplementary * - refactored from Robot ID to Agent ID * alica test refactoring and bug fixing * added const * add teammanager init call * fix * bug fixes * fixed wrong calculation from vec uint8 to int * trying to fix successmarks left couts in for further debugging * fixed id comparison fixed find fixed map fixed default uitlity assignment set local agent to active * added missing iterator assignment after erase on list * wrong iterator * - introduced the agentIDmanager * hmpf * - current status * changed hacsh and equals in unordered set replaced factory by manager * refactor some interface bullshit * - refactor sync module * - some fixes * couts * fix teammanager bug * changed ae constructor * moved alica messages to extra package in supplementary * - removed msgs (now in alica_msgs under supplementary repository * - refactored to general agentid * fixed ros proxy regarding alica_msgs dependency and common agent_id * - removed msl_robot_id dependencies * - made tests compile again (but some fail) * - changed availTime type to AlicaTime * - improved output * - adapted to new supplementary subfolder * removed old style * - fixed code style * - modified a lot of debug output - refactored for better code style * disable debug outpur * - fix c++ style * at first version of coding guidelines. * fix typo * fix typo * fix typos * fix build error on unit test * travis config, initial * add dependency file * fix rosinstall syntax * remove apt cache lock * remove bad dependency * Fix Authority unit test and multi-agent unittest (rapyuta-robotics#1) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Various fixes (rapyuta-robotics#2) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clang formatter * clang5 formatter changes * Alica engine static abort (rapyuta-robotics#5) * change alica engine abort to static * remove alica engine from IRoleAssignment * remove alica engine from Quantifier * removed alica engine from PlanParser constructor * address PR comments * Some improvements (rapyuta-robotics#6) * clean up * formatting changes * first simplification iteration on RunningPlan * fix shared_ptr initialization with make_shared to prevent writing to null_ptr (rapyuta-robotics#7) * make alica engine a protected member in BasicBehaviour (rapyuta-robotics#9) * Update from Kassel & minor format update (rapyuta-robotics#10) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * added clang format file * moved coding guidelines into style folder * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * Constify model (rapyuta-robotics#11) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * more refactoring * model constification -> engine compiles * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * fix remaining compiler issues in tests * fix comment issue * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * beautification * caps ftw * consistency * review comments * use proper comparison in sorting * address review comments * remove unnecessary setter * Disable auto apt-daily update service * travis wait to help with long build times * Testing docker containerized travis.yaml * travis wait just in case * travis parsing issue * travis parse issues * Refactor AlicaTime and AlicaClock (rapyuta-robotics#12) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * WIP: refactoring AlicaTime and AlicaClock * more refactoring * model constification -> engine compiles * constexpr AlicaTime and improved AlicaClock * keep non-trivial constructor private * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * AlicaClock: simplify engine setup, add a const * fix remaining compiler issues in tests * fix comment issue * Begin to clean up all code involving AlicaTime * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * Continued refactoring of AlicaTime * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * More refactoring * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * More refactoring * Get rid of merge conflict artifact * Refactor updates * Refactoring * Refactor AlicaTime * Add operators, unit test, fixes to timings * Update CMakeLists.txt * Update Alica_Base.md * Update Alica_Base.md * Update AlicaEngine.cpp * Update AlicaEngine.cpp * Update test_alica_authority.cpp * Update test_alica_behaviourtrigger.cpp * Update test_alica_condition_plan.cpp * Update test_alica_condition_plan.cpp * Update test_alica_condition_plantype.cpp * Update test_alica_engine_behavior_pool_init.cpp * Update test_alica_engine_plan_parser.cpp * Update test_alica_gsolver_plan.cpp * Update test_alica_init_shutdown.cpp * Update test_alica_multi_agent_plan.cpp * Update test_alica_problem_composition.cpp * Update test_alica_ros_proxy.cpp * Update test_alica_simple_plan.cpp * Update test_alica_sync_transition.cpp * Update test_success_spam.cpp * Update test_alica_condition_plantype.cpp * fix error in test with setting clock to wrong AlicaEngine instance * Test fractional time input, got rid of dependence on thread timing * Testing * Tests * Test * Tests * Tests * changes * Improved Solver Interface Pass rapyuta-robotics#1 (rapyuta-robotics#13) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * more refactoring * model constification -> engine compiles * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * fix remaining compiler issues in tests * fix comment issue * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * wip * fix extra endif * beautification * caps ftw * consistency * review comments * wip * use proper comparison in sorting * Initial integration of Variant * fix typo * address review comments * some fixes * remove unnecessary setter * - Refactored the way solvers are addressed - Made Query work with the new solver interface - Clean AlicaEngine.h somewhat * simplifications * add blackboard and hash function * fixes & use new interface in tests * raise warning level * test compile * fix test * minor fix * Variant tests * add blackboard test * test for variable syncing, clean up and additional static assert * const override * improve BBIdent comparison operators * review comments * Incorporate coverity into travis CI * Python version fix * bash condition test fix * More changes to conditional * Another try * test * wstool merge confirm all * test * use travis_build_dir path * experimenting with travis_build_dir * Set Up Travis CI With Coverity (rapyuta-robotics#14) * Disable auto apt-daily update service * travis wait to help with long build times * Testing docker containerized travis.yaml * travis wait just in case * travis parsing issue * travis parse issues * Testing * Tests * Test * Tests * Tests * changes * Incorporate coverity into travis CI * Python version fix * Final Changes * More environment variables, remove debug statement * --all and --verbose flags to catkin_test_results * Test wstool merge * Testing * Test * Test * fix wstool merge bug, add coverity project variable * Remove --all and --verbose flags * Add License, Travis CI, and Coverity badges to README (rapyuta-robotics#18) * Add travis and coverity badges with links * fix formatting of badges * Replace installation sentence with header * Change installation header to h2 * Add MIT license badge * Fix travis.yml (rapyuta-robotics#17) * Print statements * Fix quotation escaping * test wstool up, not wstool merge * try -a instead of -k * place rr-devel in environment variable * Improve Alica Tests (rapyuta-robotics#16) * Add signal handler, change assert to expect, use step engine for synchs * Revert assert changes and have signal handler catch sigsegv * Start with no signal handling for now. * Remove unnecessary tab * Fix formatting * Deduplicate code * Have individual tests fail in the event of SIGSEGV * Simple one-line addition to tests for SIGSEGV handling * Test issue with travis.yml * Try -a instead of -k * Revert "Try -a instead of -k" This reverts commit 794837d. * Revert "Test issue with travis.yml" This reverts commit 07d6000. * Print statements * Fix quotation escaping * test wstool up, not wstool merge * try -a instead of -k * catch SIGABRTs from failed asserts * Address first round of pull request comments * Use macro to replace setjmp command * Improve query API (rapyuta-robotics#15) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * more refactoring * model constification -> engine compiles * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * fix remaining compiler issues in tests * fix comment issue * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * wip * fix extra endif * beautification * caps ftw * consistency * review comments * wip * use proper comparison in sorting * Initial integration of Variant * fix typo * address review comments * some fixes * remove unnecessary setter * - Refactored the way solvers are addressed - Made Query work with the new solver interface - Clean AlicaEngine.h somewhat * simplifications * add blackboard and hash function * fixes & use new interface in tests * raise warning level * test compile * fix test * minor fix * Variant tests * add blackboard test * test for variable syncing, clean up and additional static assert * const override * improve BBIdent comparison operators * review comments * Update SuccessMarks.h makes no sense * refactoring query algorithm, WIP checkin * cleaning * align clang format * rename Sets to Grps * update types.h * fix rename * fix issues with clang format file * WIP * Fix compiler errors * rename * fix range accessors * fix unit tests * fix renaming * fix bad merge * clean assignment & fix bug in forallagents * Query API should only use const RunningPlan * remove unused functions * generalize getVariableByName * fix missing sovlervars incase no problempart is involved * fix wrong id check * bug fixes * add variable handling test * remove warnings * make sure agents know each other in the test first * fix condition * fix crash bug in synchronization * give verbose info * increase test timeout * minor fixes and give more time to behavior trigger test * address PR comments * quick fix * Fix minor bugs found with coverity (rapyuta-robotics#19) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * more refactoring * model constification -> engine compiles * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * fix remaining compiler issues in tests * fix comment issue * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * wip * fix extra endif * beautification * caps ftw * consistency * review comments * wip * use proper comparison in sorting * Initial integration of Variant * fix typo * address review comments * some fixes * remove unnecessary setter * - Refactored the way solvers are addressed - Made Query work with the new solver interface - Clean AlicaEngine.h somewhat * simplifications * add blackboard and hash function * fixes & use new interface in tests * raise warning level * test compile * fix test * minor fix * Variant tests * add blackboard test * test for variable syncing, clean up and additional static assert * const override * improve BBIdent comparison operators * review comments * Update SuccessMarks.h makes no sense * refactoring query algorithm, WIP checkin * cleaning * align clang format * rename Sets to Grps * update types.h * fix rename * fix issues with clang format file * WIP * Fix compiler errors * rename * fix range accessors * fix unit tests * fix renaming * fix bad merge * clean assignment & fix bug in forallagents * Query API should only use const RunningPlan * remove unused functions * generalize getVariableByName * fix missing sovlervars incase no problempart is involved * fix wrong id check * bug fixes * add variable handling test * remove warnings * make sure agents know each other in the test first * fix condition * fix crash bug in synchronization * give verbose info * increase test timeout * minor fixes and give more time to behavior trigger test * Prevent buffer overflow * address PR comments * remove redundant code, switch to editRbots in assignment * adress coverity #274754 * add shutdown call to dtor if needed (coverity #274751) * coverity #24799 * coverity #274743 * coverity #274797 * fix branch selection for coverity build trigger * Add a common config package (rapyuta-robotics#21) * add common compiler configs * add dependencies to common config * formatting * Fixes warnings & coverity issue on UtilityFunction (rapyuta-robotics#22) * remove warnings & fix memory leak * nousing namespace * get rid of questionable and unused hash function * Some fixes (rapyuta-robotics#24) * remove unused warnings * initialize members * Better Autodiff and separated solver interface (rapyuta-robotics#23) * add common compiler configs * add dependencies to common config * formatting * separate solver interface from main engine, use solvercontext object, relinquish ownership on solvervariables * unify representation of intervals * fix one memory leak (coverity 274744) * remove warnings & fix memory leak * nousing namespace * get rid of questionable and unused hash function * rework SolverVariable treatment * update tests * Cleaning & updating tests * fix missing initialization * additional sanity check * fixes for query algorithm with new solvervariable * warnings as errors & remove debug output * fix domain variable to solver variable mapping & unit test * remove unused variable * clean up + add simple solvercontext * move interval to solver interface * get rid of separate range representation in problemdescriptor, tie it to autodiff variables * Update ProblemDescriptor.h add missing const * move max interval to autodiff * additional features for Interval * review comments * add a unit tests for intervals * rename interval methods * fix unittest * add back constexpr compatible assert * Coverity fixes & removal of namespace usings in headers (rapyuta-robotics#25) * add common compiler configs * add dependencies to common config * formatting * separate solver interface from main engine, use solvercontext object, relinquish ownership on solvervariables * unify representation of intervals * fix one memory leak (coverity 274744) * remove warnings & fix memory leak * nousing namespace * get rid of questionable and unused hash function * rework SolverVariable treatment * update tests * Cleaning & updating tests * fix missing initialization * additional sanity check * fixes for query algorithm with new solvervariable * warnings as errors & remove debug output * fix domain variable to solver variable mapping & unit test * remove unused variable * clean up + add simple solvercontext * move interval to solver interface * get rid of separate range representation in problemdescriptor, tie it to autodiff variables * Update ProblemDescriptor.h add missing const * move max interval to autodiff * additional features for Interval * removal of using namespace std, some coverity fixes * header cleaning & coverity fix * coverity fixes * remove namespace std from headers * remove redundant indirection * add necessary usings for autogenerated code * more const * review comments * fix bad merge * review comments * Changes from Upstream (rapyuta-robotics#26) * - test * Delete LICENSE For Hendrik ;-) * - renamed alica_test to alica_tests - fixed task_assignment test although it does not really do anything - fixed some output errors of the alica logger (now ID instead of ID's address is written into log file) * style update Planbase, add acessor to find out if planbase is waiting for steppong signal * factor out unit test main * fix wrong compare * Fix authority system and unit test * avoid unnecessary dereferencing of entypoints * address review comments * Fix local agent wrongly indicating a team updat * log robotids, not their adress * remove unneeded accessor * add some constness to agent * improve robotID debug output * Do not clear success marks of the local agent all the time. * prevent doubling of success marks... * minor improvements * change tests to rostests, dependency is there anyway. * address review comments * add rostest dependency * remove long time limit again * Simplify the query interface * Fix test_alica_problem_composition * fix task_assignment test * remove debug flag * fix wrong filter in synctalk * Fix to fast path event + test for success from behavior * fix copy&paste issue * clean up * formatting changes * first simplification iteration on RunningPlan * initial check-in, WIP * added .clang_format file * Update test_alica_authority.cpp That is more obvious. * - removed merge artifacts * copied stuff from old alica_test to alica_tests * Compiler error fixes, simplify ignoring agents (rapyuta-robotics#8) * Compiler error fixes, simplify ignoring agents * remove vscode and add to gitignore * added clang format file * moved coding guidelines into style folder * iteration 2 * Update CodingGuidelines.md Merging the carpe-noctem-cassel coding guide with the one here in alica * Update CodingGuidelines.md update version * Update CodingGuidelines.md moved general things upwards + changes namespace examples * Update CodingGuidelines.md * Update CodingGuidelines.md * Update CodingGuidelines.md * - tryed to fix wrong naming for alica_test(s) - removed old test package * - fixed nameing * Update CodingGuidelines.md - moved pragma once into header section - added remark to relative includes * Update CodingGuidelines.md * more refactoring * model constification -> engine compiles * style update * remove accidental log file * clean up * better whitespaces * fix bad merge * format update * update to compile supplementary and tests * fix remaining compiler issues in tests * fix comment issue * fixing missing return * more errors mkay * test improvement after fixing subvariable bug * fix planwriter issues * clean planningProblem and destinationPath * clean capabilityDefinitionSet * remove unused RoleUsage * cleaning * beautification and removal of unnecessary new * fix missing sort predicate, add test * cleaning & removing some memory allocations * reorder header * wip * fix extra endif * beautification * caps ftw * consistency * review comments * wip * use proper comparison in sorting * Initial integration of Variant * fix typo * address review comments * some fixes * remove unnecessary setter * - Refactored the way solvers are addressed - Made Query work with the new solver interface - Clean AlicaEngine.h somewhat * simplifications * add blackboard and hash function * fixes & use new interface in tests * raise warning level * test compile * fix test * minor fix * Variant tests * add blackboard test * test for variable syncing, clean up and additional static assert * const override * improve BBIdent comparison operators * review comments * Update clang-format alignment of codestyle with rapyuta * Update SuccessMarks.h makes no sense * refactoring query algorithm, WIP checkin * cleaning * align clang format * rename Sets to Grps * update types.h * fix rename * fix issues with clang format file * WIP * Fix compiler errors * rename * fix range accessors * fix unit tests * fix renaming * fix bad merge * clean assignment & fix bug in forallagents * Query API should only use const RunningPlan * remove unused functions * generalize getVariableByName * fix missing sovlervars incase no problempart is involved * fix wrong id check * bug fixes * add variable handling test * remove warnings * make sure agents know each other in the test first * fix condition * fix crash bug in synchronization * give verbose info * increase test timeout * minor fixes and give more time to behavior trigger test * Prevent buffer overflow * address PR comments * remove redundant code, switch to editRbots in assignment * adress coverity #274754 * add shutdown call to dtor if needed (coverity #274751) * coverity #24799 * coverity #274743 * coverity #274797 * quick fix * better debug output (rapyuta-robotics#27) * catch runtime errors (rapyuta-robotics#28) * fix to problems with autogeneration (rapyuta-robotics#31) * add exception handling to PlanParser (rapyuta-robotics#29) * temporary using std::string for generated DomainBehaviour (rapyuta-robotics#32) * Fix issue with state start time (rapyuta-robotics#35) * only limit agents if state has been inhabited for awhile * accidental checkin * accidental checkin * Refactor RunningPlan & Assignment data structures (rapyuta-robotics#30) * WIP * better debug output * WIP 2 * WIP 3 * remove state collection * utility function overhaul * WIP * cleanup * move IAssignment * WIP * rename taskAssignment to reduce name confusion * rename * renaming * WIP * wip more * Remove obsolete assignmentcollection * refactor AgentIDConstPtr * new AgentIDConstPtr * more WIP * fixes * various fixes * compile! * remove obsolete lock * missing ctrl+s * basic lifetime management for running plan, thrad safe interface for behavior code * cleanup in basicbehaviour, properly fix racecondition * clean up * add test * adapt alica ros com * optimization * adapt tests to changed api * fix * fixes * fixes * fixes * adapt unit test to changed api * remove debug output * fixes * fix trigger test: a behavior does not own it's trigger * fixes * fixes * fixes * fixes * fixes * fixes * fix * fix * fixes * polish & removal of race condition * clean * fix allowIdling * clean * clean package xml, add hash to AgentIDConstPtr * check ids * coverity fixes * must take lock to refresh contextInRun pointer, otherwise context is not update upon state transitions to similar states * clean unnecessary parameter, fix deadlock * fix race condition * Test that a behaviour is not locked by switching states repeatedly. * remove rolesetdir from engine constructor, reactivate one unit test * clean up whitespaces * style cleaning * reduce code duplicaiton in tests * more removal of code duplication * Update QueryBehaviour1.h * remove code duplication * simplification * simplification * remove include * convinience method * convinience method * fix * more convenience methods * fix * one more convenience function * clean up * bug fix * adress review comments * address some review comments * remove one lock * fuix due to explicit operator * fix minor issue with operators * add missing includes * missing return * Further simplifications to RunningPlan (rapyuta-robotics#34) * WIP * better debug output * WIP 2 * WIP 3 * remove state collection * utility function overhaul * WIP * cleanup * move IAssignment * WIP * rename taskAssignment to reduce name confusion * rename * renaming * WIP * wip more * Remove obsolete assignmentcollection * refactor AgentIDConstPtr * new AgentIDConstPtr * more WIP * fixes * various fixes * compile! * remove obsolete lock * missing ctrl+s * basic lifetime management for running plan, thrad safe interface for behavior code * cleanup in basicbehaviour, properly fix racecondition * clean up * add test * adapt alica ros com * optimization * adapt tests to changed api * fix * fixes * fixes * fixes * adapt unit test to changed api * remove debug output * fixes * fix trigger test: a behavior does not own it's trigger * fixes * fixes * fixes * fixes * fixes * fixes * fix * fix * fixes * polish & removal of race condition * clean * fix allowIdling * clean * clean package xml, add hash to AgentIDConstPtr * check ids * coverity fixes * must take lock to refresh contextInRun pointer, otherwise context is not update upon state transitions to similar states * clean unnecessary parameter, fix deadlock * fix race condition * Test that a behaviour is not locked by switching states repeatedly. * remove rolesetdir from engine constructor, reactivate one unit test * clean up whitespaces * style cleaning * reduce code duplicaiton in tests * more removal of code duplication * Update QueryBehaviour1.h * remove code duplication * simplification * simplification * remove include * convinience method * convinience method * fix * more convenience methods * fix * one more convenience function * clean up * remove agentsAvailable from RunningPlan and provide view to active agents * more consistent naming and removal of getActiveAgentProperties * clean up * tighten class Agent * tighten CycleManager * minor polish * clean cycleManager * simpify allocationdifference * improve debug output * remove unnecessary virtual * some additional debug values * more debug info * remove engine pointer from successMarks * clean successMarks * add unique ptr * clean duplication of id * rename * cleaning * make sure all status check does not lose meaning before PAlloc * allow access to engine by child behaviors * fix merge * fix merge * remove blank line * more consistent naming & reduce code duplication in tests * Fix runningPlan lifetime issue (rapyuta-robotics#37) * fix issue with all agents iterator * - retired nodes are not part of the plan tree anymore. - fix accidental access of deleted parent * stop plan evaluation on retirement * Hot fixes (rapyuta-robotics#38) * fix output issue * Fix bug in isSuccessful() * no bitwise and... * fix state protection...again * fix recursiveUpdateAssignment * WIP: Fixes from Manipulation Demo (rapyuta-robotics#39) * fix bad usage of longs * more longs * more longs gone * fix long in parser * remove longs * add missing NULL * one more NULL * fix issue with exceeding runtime warning * Hs rework failure handling (rapyuta-robotics#40) * WIP * better debug output * WIP 2 * WIP 3 * remove state collection * utility function overhaul * WIP * cleanup * move IAssignment * WIP * rename taskAssignment to reduce name confusion * rename * renaming * WIP * wip more * Remove obsolete assignmentcollection * refactor AgentIDConstPtr * new AgentIDConstPtr * more WIP * fixes * various fixes * compile! * remove obsolete lock * missing ctrl+s * basic lifetime management for running plan, thrad safe interface for behavior code * cleanup in basicbehaviour, properly fix racecondition * clean up * add test * adapt alica ros com * optimization * adapt tests to changed api * fix * fixes * fixes * fixes * adapt unit test to changed api * remove debug output * fixes * fix trigger test: a behavior does not own it's trigger * fixes * fixes * fixes * fixes * fixes * fixes * fix * fix * fixes * polish & removal of race condition * clean * fix allowIdling * clean * clean package xml, add hash to AgentIDConstPtr * check ids * coverity fixes * must take lock to refresh contextInRun pointer, otherwise context is not update upon state transitions to similar states * clean unnecessary parameter, fix deadlock * fix race condition * Test that a behaviour is not locked by switching states repeatedly. * remove rolesetdir from engine constructor, reactivate one unit test * clean up whitespaces * style cleaning * reduce code duplicaiton in tests * more removal of code duplication * Update QueryBehaviour1.h * remove code duplication * simplification * simplification * remove include * convinience method * convinience method * fix * more convenience methods * fix * one more convenience function * clean up * remove agentsAvailable from RunningPlan and provide view to active agents * more consistent naming and removal of getActiveAgentProperties * clean up * tighten class Agent * tighten CycleManager * minor polish * clean cycleManager * simpify allocationdifference * improve debug output * remove unnecessary virtual * some additional debug values * more debug info * remove engine pointer from successMarks * clean successMarks * add unique ptr * clean duplication of id * rename * cleaning * wip * cache runtime condition result * add missing method, wait for parent plan to react if possible * fix test & add another * fix issue in alica logger not using config logfolder * test behavior failure too * formatting * cppcheck fix * formatting * cppcheck * cpp check * fix bad merge * +const * switch from exception to assert
Coverity fixes & removal of namespace usings in headers (rapyuta-robo… …tics#25) * add common compiler configs * add dependencies to common config * formatting * separate solver interface from main engine, use solvercontext object, relinquish ownership on solvervariables * unify representation of intervals * fix one memory leak (coverity 274744) * remove warnings & fix memory leak * nousing namespace * get rid of questionable and unused hash function * rework SolverVariable treatment * update tests * Cleaning & updating tests * fix missing initialization * additional sanity check * fixes for query algorithm with new solvervariable * warnings as errors & remove debug output * fix domain variable to solver variable mapping & unit test * remove unused variable * clean up + add simple solvercontext * move interval to solver interface * get rid of separate range representation in problemdescriptor, tie it to autodiff variables * Update ProblemDescriptor.h add missing const * move max interval to autodiff * additional features for Interval * removal of using namespace std, some coverity fixes * header cleaning & coverity fix * coverity fixes * remove namespace std from headers * remove redundant indirection * add necessary usings for autogenerated code * more const * review comments * fix bad merge * review comments