Skip to content

Instantly share code, notes, and snippets.

@kor01
Last active June 26, 2017 13:08
Show Gist options
  • Save kor01/c0e9e4d0eb6fa0fa8509b9326d658c1f to your computer and use it in GitHub Desktop.
Save kor01/c0e9e4d0eb6fa0fa8509b9326d658c1f to your computer and use it in GitHub Desktop.
[ros build] #ros
# Standard metadata for higher-level stamped data types.
# This is generally used to communicate timestamped data
# in a particular coordinate frame.
#
# sequence ID: consecutively increasing ID
uint32 seq
#Two-integer timestamp that is expressed as:
# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
# time-handling sugar is provided by the client library
time stamp
#Frame this data is associated with
# 0: no frame
# 1: global frame
string frame_id
cmake_minimum_required(VERSION 2.6)
include(rosbuild)
rosbuild_init()
rosbuild_genmsg()
# build targets
cd my_workspace
catkin_make [make_targets] [-DCMAKE_VARIABLES=...]
# build from different source
catkin_make --source my_src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment