A basic library for implementing robot part resource management.
roscd resource_management; cd ../..
mkdir led_manager; cd led_manager
python3 ../resource_management/resource_management/manager_generator/generate_msgs.py --package-name led_manager_msgs --target-types Color,float32,float OnOff,bool,bool --reactive-topics emotion tagada switch
python3 ../resource_management/resource_management/manager_generator/generate.py --package-name led_manager --target-types Color,float32,float OnOff,bool,bool --reactive-topics emotion tagada switch
cd ../..
catkin_make
4 | 3 | 2 | 1 | 0 | -1 | ||
---|---|---|---|---|---|---|---|
Msg\Buffer | ATOMIC | PRIORITIZE | NORMAL | SECONDARY | BACKGROUND | INHIBIT | |
4 | VITAL | 24 | 23 | 22 | 21 | 20 | ❌ |
3 | URGENT | 19 | 15 | 14 | 13 | 12 | ❌ |
2 | HIGH | 18 | 11 | 10 | 9 | 8 | ❌ |
1 | STANDARD | 17 | 7 | 6 | 5 | 4 | ❌ |
0 | LOW | 16 | 3 | 2 | 1 | 0 | ❌ |
-1 | VOID | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
roscd resource_synchronizer; cd ../..
python3 resource_management/resource_synchronizer/synchronizer_generator/generate_synchronizer.py led_resource_synchronizer led_manager:led_R led_manager:led_G led_manager:led_B
cd ..
catkin_make