Macros | Functions
sim_time.cpp File Reference

Node that publishes simulated time to the /clock topic. More...

#include "ros/ros.h"
#include "rosgraph_msgs/Clock.h"
#include <sys/time.h>
Include dependency graph for sim_time.cpp:

Go to the source code of this file.

Macros

#define SIM_TIME_INCREMENT_US   10000
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Node that publishes simulated time to the /clock topic.

Author
Paul Bouchier
Date
January 27, 2016

License (BSD-3)

Copyright (c) 2016, Paul Bouchier All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file sim_time.cpp.

Macro Definition Documentation

#define SIM_TIME_INCREMENT_US   10000

Definition at line 42 of file sim_time.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 51 of file sim_time.cpp.



pid
Author(s): Andy Zelenak , Paul Bouchier
autogenerated on Sat Jul 4 2020 03:26:04