read and log Actuators ,IMU, contact sensors data made for robotic lab.
files related to reading sensors with rasp GPIO and serial -> contact -imu
to read the lcm logs from sensors:
python:
python read_log_sensors.py -h #for more info about the command
to compile the cpp version:
g++ read_log_sensors.cpp -llcm -o read_log_sensors
./read_log_sensors
there are some simple examples to work with lcm in communication_examples.
to add new datatypes, add the lcm types to lcm_types and use lcm-gen to generate them.
to setup UDP multicast on your device run these commands:
sudo ifconfig "interface_name" multicast
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev "interface_name"