Using the heartbeat sender item

View previous topic View next topic Go down

Using the heartbeat sender item

Post by Admin on Tue Mar 08, 2016 8:45 am

Using the heartbeat sender item

A heartbeat sender is used to periodically send a signal to the remote device.
https://en.wikipedia.org/wiki/Heartbeat_%28computing%29

Here is how to use a heartbeat sender:
- select menu -> edit ui
- click on blank space where you want to add the heartbeat sender
- select heartbeat sender
- the heartbeat sender will appear in the interface
- move it by dragging the top left corner
- resize it by dragging the bottom right corner
- edit its options by clicking on it

set id:
The string that will be sent periodically. Default is empty string (heartbeat disabled).

set label:
The string that will appear under the heartbeat item (it is not sent)

set repeat period:
The repeating period, in milliseconds. Default is 1000.

The heartbeat item is useful when you want you robot / RC car to stop when you lose signal. In this case, you configure the heartbeat to send some string every 200ms. Then you program the robot to stop the motors if it did not receive that string for 500ms.

Admin
Admin

Posts : 111
Join date : 2016-03-08

View user profile http://roboremo.makeforum.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum