diff --git a/README.md b/README.md index 92c0adc326dd861596bc82438165f1e83972791d..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 --- a/README.md +++ b/README.md @@ -1,22 +1 @@ -Is the signal server just a server for active signals. - -But oneshot means the signal cam be triggered or? - -Is the trigger in the signal server? - -We can signal a TST node or signal a ROS node. So low battery reaction -can be triggered on the ground. - -Also signal a TST node so we can do the dupication of the mission. - -The TST moitor node should trigger on a signal that it registers in the signal server. - -The moitor takes a list of signals... - -Maye if the monitor mode register the signal "low_battery" then the -signal server need to know how to generate that. - -If "battery_becomes_low" is active then oneshot, new call to activate will do oneshot. - -Service call to signal server to activate signal. \ No newline at end of file diff --git a/srv/ActivateSignal.srv b/srv/ActivateSignal.srv index 0480b3754ac02c90cb0657bc188d878b6616ac90..d2c80174f3d333a91d2f764a52c649cf7eba8000 100644 --- a/srv/ActivateSignal.srv +++ b/srv/ActivateSignal.srv @@ -2,7 +2,7 @@ # call to signal server to activate a named signal. Can by an external detector or a TST node detector. # -string signal # Signal to avtivate +string signal # Signal to activate --- bool success # The call was OK int32 error diff --git a/srv/RegisterNodeToSignal.srv b/srv/RegisterNodeToSignal.srv index 3a435eb425c41c860e3f4caa6a0491cd38536705..40630029bf16a4944b21b5c11a9a32447c3c950b 100644 --- a/srv/RegisterNodeToSignal.srv +++ b/srv/RegisterNodeToSignal.srv @@ -1,8 +1,8 @@ string uuid # uuid for reciever of signal, can be a TST node or a ROS node. string signal # Signal to send -time duration # If oneshot false, send signal regularly with perion duration. +float64 duration # If oneshot false, send signal regularly with period duration (given in seconds). bool oneshot # if true send signal only once -bool remove # If true remove the registration +bool remove # If true remove the registration with uuid --- bool success # The call was OK int32 error