- Robot related messages and services for control and management
cd src
lcm-gen -p ../lcmtypes/*.lcm
mkdir -p include/lcmtypes
cd include/lcmtypes
lcm-gen -x ../../lcmtypes/*.lcm --cpp-std=c++11
This is for consistent include style. Note that not only is include/
listed in the include dir, but also include/lcmtypes
.
cd src
python3 setup.py sdist bdist_wheel
This will create a file:
src/dist/robot_msgs-0.1.tar.gz
That can be pip3 installed without any other catkin dependencies.
drake
comes with several bundles of lcmtypes. The headers can be found in /opt/drake/include/lcmtypes
; the python class definitions can be found in e.g.
/opt/drake/lib/python3.6/site-packages/drake/lcmt_viewer_draw.py
/opt/drake/lib/python3.6/site-packages/robotlocomotion/pose_t.py