ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros::WallTime for cpp

asked 2012-09-17 08:59:09 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

how can i add a ros::wallTime stamp in my ros massage?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-09-17 22:50:48 -0600

Lorenz gravatar image

my_message_instance.header.stamp = ros::WalTime::now();

edit flag offensive delete link more

Comments

but i found a error in "rosmake My_package". its showing that----- Call Stack (most recent call first): /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack) CMakeLists.txt:12 (rosbuild_init)

-- Configuring incomplete, errors occurred!

muin028 gravatar image muin028  ( 2012-09-18 01:52:59 -0600 )edit

Question Tools

Stats

Asked: 2012-09-17 08:59:09 -0600

Seen: 293 times

Last updated: Sep 17 '12