Skip to content

Instantly share code, notes, and snippets.

repositories:
demonstrations/rmf_demos:
type: git
url: git@github.com:open-rmf/rmf_demos
version: c24dbb0f65059cd651a85449ba9154f091585e8e
rmf-web:
type: git
url: https://github.com/open-rmf/rmf-web.git
version: 78f5e0b140bdbe9b577a99d4ba76d92d3dd79a31
smart_cart_api_server:
repositories:
demonstrations/rmf_demos:
type: git
url: https://github.com/open-rmf/rmf_demos.git
version: wait_until_action
rmf-web:
type: git
url: https://github.com/open-rmf/rmf-web.git
version: hammer/generic-alerts
rmf/ament_cmake_catch2:
@aaronchongth
aaronchongth / gist:7481bac63c018de0c9bcf71d720b633f
Created August 5, 2021 02:56
rmf_fleet_adapter tsan output
This file has been truncated, but you can view the full file.
aaron@biryani:~/workspaces/g_rmf$ ./build/rmf_fleet_adapter/test_rmf_fleet_adapter
[WARN] [1628132092.019045226] [rclcpp]: logging was initialized more than once
1628132092.021933 [47] test_rmf_f: using network interface wlp39s0 (udp/192.168.1.125) selected arbitrarily from: wlp39s0, docker0
==================
WARNING: ThreadSanitizer: data race (pid=103718)
Write of size 8 at 0x7b100002db00 by thread T25 (mutexes: write M2004):
#0 free <null> (test_rmf_fleet_adapter+0x500ce8)
#1 <null> <null> (libddsc.so.0+0x56215)
Previous read of size 8 at 0x7b100002db00 by thread T7 (mutexes: write M1445):
Starting >>> rmf_utils
--- output: rmf_utils
[0.014s] Not searching for unused variables given on the command line.
[2.198s] -- The C compiler identification is Clang 10.0.0
[2.355s] -- The CXX compiler identification is Clang 10.0.0
[2.371s] -- Detecting C compiler ABI info
[2.454s] -- Detecting C compiler ABI info - done
[2.465s] -- Check for working C compiler: /usr/bin/clang - skipped
[2.466s] -- Detecting C compile features
[2.468s] -- Detecting C compile features - done
aaron@biryani:~/workspaces/rmf$ ./build/rmf_task/test_rmf_task
==================
WARNING: ThreadSanitizer: data race (pid=233936)
Write of size 4 at 0x559a94a322e8 by thread T1:
#0 thread_fn() /home/aaron/workspaces/rmf/src/rmf/rmf_task/rmf_task/test/unit/agv/test_Race.cpp:8 (test_rmf_task+0xdc49c)
#1 void std::__invoke_impl<void, void (*&)()>(std::__invoke_other, void (*&)()) /usr/include/c++/9/bits/invoke.h:60 (test_rmf_task+0xdc612)
#2 std::__invoke_result<void (*&)()>::type std::__invoke<void (*&)()>(void (*&)()) /usr/include/c++/9/bits/invoke.h:95 (test_rmf_task+0xdc612)
#3 void std::_Bind<void (*())()>::__call<void>(std::tuple<>&&, std::_Index_tuple<>) /usr/include/c++/9/functional:400 (test_rmf_task+0xdc612)
#4 void std::_Bind<void (*())()>::operator()<, void>() /usr/include/c++/9/functional:484 (test_rmf_task+0xdc612)
#5 void std::__invoke_impl<void, std::_Bind<void (*())()>>(std::__invoke_other, std::_Bind<void (*())()>&&) /usr/include/c++/9/bits/invoke.h:60 (test_rmf_task
aaron@biryani:~/workspaces/rmf$ ./build/rmf_traffic/test_rmf_traffic
==================
WARNING: ThreadSanitizer: data race (pid=225052)
Read of size 1 at 0x7b080002deb0 by thread T1:
#0 operator() /home/aaron/workspaces/rmf/src/rmf/rmf_traffic/rmf_traffic/src/rmf_traffic/agv/Planner.cpp:240 (librmf_traffic.so+0xe6764)
#1 _M_invoke /usr/include/c++/9/bits/std_function.h:285 (librmf_traffic.so+0xe6764)
#2 std::function<bool ()>::operator()() const /usr/include/c++/9/bits/std_function.h:688 (librmf_traffic.so+0x15e00b)
#3 rmf_traffic::agv::planning::ScheduledDifferentialDriveExpander::quit(std::shared_ptr<rmf_traffic::agv::planning::ScheduledDifferentialDriveExpander::SearchNode> const&, std::priority_queue<std::shared_ptr<rmf_traffic::agv::planning::ScheduledDifferentialDriveExpander::SearchNode>, std::vector<std::shared_ptr<rmf_traffic::agv::planning::ScheduledDifferentialDriveExpander::SearchNode>, std::allocator<std::shared_ptr<rmf_traffic::agv::planning::ScheduledDifferentialDriveExpande
aaron@biryani:~/workspaces/rmf$ ./build/rmf_battery/test_rmf_battery
==================
WARNING: ThreadSanitizer: data race (pid=222783)
Write of size 4 at 0x55eed75ff2f8 by thread T1:
#0 thread_fn() /home/aaron/workspaces/rmf/src/rmf/rmf_battery/rmf_battery/test/unit/agv/test_Race.cpp:8 (test_rmf_battery+0xd70ec)
#1 void std::__invoke_impl<void, void (*&)()>(std::__invoke_other, void (*&)()) /usr/include/c++/9/bits/invoke.h:60 (test_rmf_battery+0xd7262)
#2 std::__invoke_result<void (*&)()>::type std::__invoke<void (*&)()>(void (*&)()) /usr/include/c++/9/bits/invoke.h:95 (test_rmf_battery+0xd7262)
#3 void std::_Bind<void (*())()>::__call<void>(std::tuple<>&&, std::_Index_tuple<>) /usr/include/c++/9/functional:400 (test_rmf_battery+0xd7262)
#4 void std::_Bind<void (*())()>::operator()<, void>() /usr/include/c++/9/functional:484 (test_rmf_battery+0xd7262)
#5 void std::__invoke_impl<void, std::_Bind<void (*())()>>(std::__invoke_other, std::_Bind<void (*())()>&&) /usr/include/c++/9/bits
@aaronchongth
aaronchongth / gist:74c9641202dbdc4e60142a8547449a1f
Created April 7, 2021 01:52
Output of modified parser_TEST.cc
aaron@biryani:~/workspaces/sdf$ ./build/sdformat11/src/UNIT_parser_TEST
[==========] Running 12 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 11 tests from Parser
[ RUN ] Parser.initStringTrim
[ OK ] Parser.initStringTrim (0 ms)
[ RUN ] Parser.CustomUnknownElements
[ OK ] Parser.CustomUnknownElements (25 ms)
[ RUN ] Parser.ReusedSDFVersion
Warning [Utils.cc:110] SDF Element[initial_position] is deprecated
@aaronchongth
aaronchongth / gist:2a905b28ecd79503c54be0dd5d5f99dc
Created May 26, 2020 04:23
Running `pit_crew` `usage_examples.py`
aaron@ws:~/workspaces/pitcrew_ws/src/traffic_editor/building_map_tools/pit_crew$ python3 usage_examples.py
Welcome to
( ( (
)⧹ ))⧹ ) . ) ( )⧹ ) ( (
(()/(()/` ) /( )⧹ (()/(( )⧹))( .
/(_)/(_)( )(_)) (((_) /(_))⧹ ((_)()⧹ )
(_))(_))(_(_()) )⧹___(_))((_)_(())⧹_)()
| _ |_ _|_ _| (/ __| _ | __⧹ ⧹((_)/ /
| _/| | | | | (__| | _| ⧹ ⧹/⧹/ /
aaron@ws:~/rmf_demos_ws$ source install/setup.bash
aaron@ws:~/rmf_demos_ws$ ros2 launch demos office.launch.xml
[INFO] [launch]: All log files can be found below /home/aaron/.ros/log/2020-04-01-01-25-13-948663-ws-28733
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [rmf_traffic_schedule-1]: process started with pid [28751]
[INFO] [building_map_server-2]: process started with pid [28752]
[INFO] [rviz2-3]: process started with pid [28753]
[INFO] [fleet_state_visualizer-4]: process started with pid [28754]
[INFO] [rviz2-5]: process started with pid [28755]
[INFO] [door_supervisor-6]: process started with pid [28759]