diff --git a/crowdbotsim/.vscode/c_cpp_properties.json b/crowdbotsim/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000000000000000000000000000000000..8f852a25842a985b88d4f590e4f44b9491e7c83f --- /dev/null +++ b/crowdbotsim/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "browse": { + "databaseFilename": "", + "limitSymbolsToIncludedHeaders": true + }, + "includePath": [ + "/home/fabien/git/cb_catkin/devel/include", + "/home/fabien/git/virtual-real-pepper/catkin_ws/devel/include", + "/opt/ros/kinetic/include", + "/usr/include" + ], + "name": "Linux" + } + ] +} \ No newline at end of file diff --git a/crowdbotsim/.vscode/settings.json b/crowdbotsim/.vscode/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..88a8320e9dbf4427d4e4cdcd2828d17ba025afe0 --- /dev/null +++ b/crowdbotsim/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "python.autoComplete.extraPaths": [ + "/home/fabien/git/cb_catkin/devel/lib/python2.7/dist-packages", + "/home/fabien/git/virtual-real-pepper/catkin_ws/devel/lib/python2.7/dist-packages", + "/home/fabien/git/catkin_ws/devel/lib/python2.7/dist-packages", + "/opt/ros/kinetic/lib/python2.7/dist-packages", + "/home/fabien/NaoqiSDK/pynaoqi-python2.7-2.4.3.28-linux64" + ] +} \ No newline at end of file diff --git a/crowdbotsim/scripts/clock_publisher.py b/crowdbotsim/scripts/clock_publisher.py index c0b8ec772e80bc341d9753ad63194812ee291f75..f36658ce603ae3c06166cb39ea810bb08e5060c3 100755 --- a/crowdbotsim/scripts/clock_publisher.py +++ b/crowdbotsim/scripts/clock_publisher.py @@ -17,7 +17,6 @@ def publish_clock(): ### Set up clock publisher clock_pub = rospy.Publisher('clock', Clock, queue_size = 1) - clock_pub2 = rospy.Publisher('myclock', Clock, queue_size = 1) msg = Clock() msg.clock = rospy.Time() @@ -30,7 +29,6 @@ def publish_clock(): nsecs = 1e9 * (current_time - secs) msg.clock = rospy.Time(secs,nsecs) clock_pub.publish(msg) - clock_pub2.publish(msg) current_time += delta_time sleep(sleep_time)