Using the heartbeat sender item

Go down

Using the heartbeat sender item Empty 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.

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.


Posts : 112
Join date : 2016-03-08

View user profile

Back to top Go down

Back to top

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