Skip to content

A basic library for implementing robot part resource management.

Notifications You must be signed in to change notification settings

RIS-WITH/resource_management

Repository files navigation

resource_management

Release

Matser : Build Status Dev : Build Status

A basic library for implementing robot part resource management.

Create your own manager

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

Messages and buffers priorities

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

Create a synchronizer

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

About

A basic library for implementing robot part resource management.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •