Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.11 KB

File metadata and controls

17 lines (12 loc) · 1.11 KB

DisplayRT Example for LCM

DisplayRT Example with LCM

This is an example CMake project for DisplayRT with Lightweight Communications and Marshalling (LCM). The program is multithreaded with one thread publishing multiple messages on different topics through LCM and the other thread subscribing to the topics and plotting online the received message data.

Dependencies

In addition to the packages for DisplayRT, you need to install LCM through apt or building from source. To do so, follow the instructions from the official tutorial or run setup_LCM.sh

Compilation

The easiest way is to run setup.sh in the current project folder. It will generate LCM message headers and compile the project.
You can also manually compile it as a normal CMake project after running generate_lcm_msg_types.sh to generate message header files.