repo_id stringlengths 19 138 | file_path stringlengths 32 200 | content stringlengths 1 12.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/features/principal_curvatures.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/features/feature.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/features/normal_3d_omp.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/surface/moving_least_squares.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/surface/surface.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros | apollo_public_repos/apollo-platform/ros/perception_pcl/pcl_ros/src/pcl_ros/surface/convex_hull.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/angles/CMakeLists.txt | cmake_minimum_required(VERSION 2.8)
project(angles)
find_package(catkin REQUIRED)
catkin_package(INCLUDE_DIRS include)
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h")
include_directories(include)
if(CATKIN_ENABLE_TESTING)
a... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/angles/package.xml | <package>
<name>angles</name>
<version>1.9.10</version>
<description>This package provides a set of simple math utilities to work
with angles. The utilities cover simple things like
normalizing an angle and conversion between degrees and
radians. But even if you're trying to calculate thin... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/angles/.tar | {!!python/unicode 'url': 'https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/indigo/angles/1.9.10-0.tar.gz',
!!python/unicode 'version': geometry_angles_utils-release-release-indigo-angles-1.9.10-0}
| 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/angles/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package angles
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.9.10 (2014-12-29)
-------------------
* Export architecture_independent flag in package.xml
* Simply and improve performance of shortest_angular_distance(). adding two unit test cases
* check for CATKIN_ENABLE_TESTING
* Contributo... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/angles/doc.dox | /**
@mainpage
@htmlinclude manifest.html
The Angles contains the following methods:
\li Angular conversions: angles::from_degrees, angles::to_degrees
\li Angular manipulations: angles::normalize_angle_positive, angles::normalize_angle
\li Angular distance: angles::shortest_angular_distance, angles::shortest_angula... | 0 |
apollo_public_repos/apollo-platform/ros/angles | apollo_public_repos/apollo-platform/ros/angles/test/CMakeLists.txt | catkin_add_gtest(utest utest.cpp)
| 0 |
apollo_public_repos/apollo-platform/ros/angles | apollo_public_repos/apollo-platform/ros/angles/test/utest.cpp | #include "angles/angles.h"
#include <gtest/gtest.h>
using namespace angles;
TEST(Angles, shortestDistanceWithLimits){
double shortest_angle;
bool result = angles::shortest_angular_distance_with_limits(-0.5, 0.5,-0.25,0.25,shortest_angle);
EXPECT_FALSE(result);
result = angles::shortest_angular_distance_with_... | 0 |
apollo_public_repos/apollo-platform/ros/angles/include | apollo_public_repos/apollo-platform/ros/angles/include/angles/angles.h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/pb_msgs/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(pb_msgs)
find_package(catkin REQUIRED COMPONENTS genmsg gencpp genpy)
# catkin_python_setup()
add_proto_files(
DIRECTORY proto
FILES
time.proto
)
generate_messages()
catkin_package(
# INCLUDE_DIRS include
LIBRARIES pb_msgs_proto
# CATKIN_DEPENDS other_c... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/pb_msgs/package.xml | <package>
<name>pb_msgs</name>
<version>1.0.0</version>
<description>
Protobuf messages for adu common proto.
</description>
<maintainer email="info@apollo.auto">Apollo Authors</maintainer>
<license>BSD</license>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roscpp</build_depend>
<build_... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/pb_msgs/setup.py | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['pb_msgs'],
package_dir={'': 'src'},
)
setup(**d)
| 0 |
apollo_public_repos/apollo-platform/ros/pb_msgs | apollo_public_repos/apollo-platform/ros/pb_msgs/proto/time.proto | syntax = "proto2";
package pb_msgs;
message Time {
required int64 sec = 1;
required int64 nsec = 2;
} | 0 |
apollo_public_repos/apollo-platform/ros/pb_msgs | apollo_public_repos/apollo-platform/ros/pb_msgs/msg/__init__.py | import pkgutil
__path__ = pkgutil.extend_path(__path__, "modules")
for importer, modname, ispkg in pkgutil.walk_packages(path=__path__, prefix=__name__+'.'):
if modname.endswith("pb2"):
try:
exec("from %s import *" % modname)
except:
pass
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(audio_common_msgs)
find_package(catkin REQUIRED COMPONENTS message_generation)
add_message_files(DIRECTORY msg FILES AudioData.msg)
generate_messages()
catkin_package(CATKIN_DEPENDS message_runtime)
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs/package.xml | <package>
<name>audio_common_msgs</name>
<version>0.2.12</version>
<description>
Messages for transmitting audio via ROS
</description>
<maintainer email="namniart@gmail.com">Austin Hendrix</maintainer>
<author>Nate Koenig</author>
<license>BSD</license>
<url type="website">http://ros.org/... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs/mainpage.dox | /**
\mainpage
\htmlinclude manifest.html
\b audio_common_msgs contain messages for transimitting audio via ROS.
\section codeapi Code API
*/
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package audio_common_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.12 (2016-02-29)
-------------------
0.2.11 (2016-02-16)
-------------------
0.2.10 (2016-01-21)
-------------------
0.2.9 (2015-12-02)
------------------
0.2.8 (2015-10-02)
------------------... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs | apollo_public_repos/apollo-platform/ros/audio_common/audio_common_msgs/msg/AudioData.msg | uint8[] data
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(audio_capture)
find_package(catkin REQUIRED COMPONENTS roscpp audio_common_msgs)
find_package(PkgConfig)
pkg_check_modules(GST gstreamer-0.10 REQUIRED)
find_package(Boost REQUIRED COMPONENTS thread)
include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${GST... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/package.xml | <package>
<name>audio_capture</name>
<version>0.2.12</version>
<description>
Transports audio from a source to a destination. Audio sources can come
from a microphone or file. The destination can play the audio or save it
to an mp3 file.
</description>
<maintainer email="namniart@gmail.... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/mainpage.dox | /**
\mainpage
\htmlinclude manifest.html
\b audio_capture is a package that records audio from a microphone and makes it available to other ROS nodes.
\section codeapi Code API
<!--
Provide links to specific auto-generated API documentation within your
package that is of particular interest to a reader. Doxygen will... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package audio_capture
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.12 (2016-02-29)
-------------------
0.2.11 (2016-02-16)
-------------------
0.2.10 (2016-01-21)
-------------------
0.2.9 (2015-12-02)
------------------
* [audio_capture] add error handler
* [audio_captu... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_capture | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/launch/capture_wave.launch | <launch>
<!-- publish audio data as wav format -->
<node name="audio_capture" pkg="audio_capture" type="audio_capture" output="screen">
<param name="format" value="wave" />
<param name="channels" value="1" />
<param name="depth" value="16" />
<param name="sample_rate" value="16000" />
</node>
</la... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_capture | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/launch/capture.launch | <launch>
<node name="audio_capture" pkg="audio_capture" type="audio_capture" output="screen">
<param name="bitrate" value="128"/>
</node>
</launch>
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_capture | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/launch/capture_to_file.launch | <launch>
<node name="audio_capture" pkg="audio_capture" type="audio_capture" output="screen">
<param name="bitrate" value="128"/>
<param name="dst" value="output.mp3"/>
</node>
</launch>
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_capture | apollo_public_repos/apollo-platform/ros/audio_common/audio_capture/src/audio_capture.cpp | #include <stdio.h>
#include <gst/gst.h>
#include <gst/app/gstappsink.h>
#include <boost/thread.hpp>
#include <ros/ros.h>
#include "audio_common_msgs/AudioData.h"
namespace audio_transport
{
class RosGstCapture
{
public:
RosGstCapture()
{
_bitrate = 192;
std::string dst_type;
... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(sound_play)
find_package(catkin REQUIRED COMPONENTS message_generation roscpp actionlib_msgs)
add_action_files(DIRECTORY action FILES SoundRequest.action)
add_message_files(DIRECTORY msg FILES SoundRequest.msg)
include_directories(include ${catkin_INCLUDE_DIRS})
catkin... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/package.xml | <package>
<name>sound_play</name>
<version>0.2.12</version>
<description>
sound_play provides a ROS node that translates commands on a ROS topic (<tt>robotsound</tt>) into sounds. The node supports built-in sounds, playing OGG/WAV files, and doing speech synthesis via festival. C++ and Python bindings al... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/mainpage.dox | /**
\mainpage
\htmlinclude manifest.html
The \b sound_play package provides a way to say strings,
play WAV or OGG files and to play builtin sounds. Documentation for the
package can be found here at http://www.ros.org/wiki/sound_play
Multiple sounds can be played concurrently (up to 4 currently because of
limitatio... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/README | Dependencies
------------
python-pygame
festival
festvox-don
alsa-base
alsa-tools
Checking that the speaker/sound card is recognized by the kernel
----------------------------------------------------------------
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the
card, it ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/setup.py | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['sound_play'],
package_dir={'': 'src'}
)
setup(**d)
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package sound_play
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.12 (2016-02-29)
-------------------
* remove chance of uninitialised variable being called in a subscriber callback.
* Contributors: Daniel Stonier
0.2.11 (2016-02-16)
-------------------
* Fix bug in say.py. Fixes ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/test.launch | <!--
This launch file runs the sound_play node and a test script that excersises
most of its functionality.
-->
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py"/>
<node name="sound_test" pkg="sound_play" type="test.py"/>
</launch>
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/soundplay_node.launch | <!--
This launch file starts soundplay_node.py, which is the node that plays
sounds based on messages on the robotsound topic.
-->
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py"/>
</launch>
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/test/CMakeLists.txt | add_executable(test_sound_play test.cpp)
target_link_libraries(test_sound_play ${catkin_LIBRARIES})
add_dependencies(test_sound_play sound_play_gencpp)
set_target_properties(test_sound_play PROPERTIES OUTPUT_NAME test)
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/test/test.cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/msg/SoundRequest.msg | # IMPORTANT: You should never have to generate this message yourself.
# Use the sound_play::SoundClient C++ helper or the
# sound_play.libsoundplay.SoundClient Python helper.
# Sounds
int8 BACKINGUP = 1
int8 NEEDS_UNPLUGGING = 2
int8 NEEDS_PLUGGING = 3
int8 NEEDS_UNPLUGGING_BADLY = 4
int8 NEEDS_PLUGGING_BADLY = 5
# S... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play/include | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/include/sound_play/sound_play.h | /*
***********************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/action/SoundRequest.action | SoundRequest sound_request
---
bool playing
time stamp
---
bool playing
time stamp | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/test_actionlib_client.py | #! /usr/bin/env python
import roslib; roslib.load_manifest('sound_play')
import rospy
import actionlib
from sound_play.msg import SoundRequest, SoundRequestAction, SoundRequestGoal
import os
def sound_play_client():
client = actionlib.SimpleActionClient('sound_play', SoundRequestAction)
client.wait_for_serv... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/playpackage.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/say.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/test.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/play.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/soundclient_example.py | #!/usr/bin/env python
"""
Simple example showing how to use the SoundClient provided by libsoundplay,
in blocking, non-blocking, and explicit usage.
"""
import rospy
from sound_play.libsoundplay import SoundClient
from sound_play.msg import SoundRequest
def play_explicit():
rospy.loginfo('Example: SoundClient p... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/soundplay_node.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/shutup.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/playbuiltin.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/scripts/test/test_sound_client.py | #!/usr/bin/env python
import unittest
import rospy
import rostest
from sound_play.libsoundplay import SoundClient
class TestCase(unittest.TestCase):
def test_soundclient_constructor(self):
s = SoundClient()
self.assertIsNotNone(s)
if __name__ == '__main__':
rostest.rosrun('sound_play', 'test... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play/src | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/src/sound_play/libsoundplay.py | #!/usr/bin/env python
#***********************************************************
#* Software License Agreement (BSD License)
#*
#* Copyright (c) 2009, Willow Garage, Inc.
#* All rights reserved.
#*
#* Redistribution and use in source and binary forms, with or without
#* modification, are permitted provided that ... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/sound_play/src | apollo_public_repos/apollo-platform/ros/audio_common/sound_play/src/sound_play/__init__.py | # Software License Agreement (BSD License)
#
# Copyright (c) 2013, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(audio_play)
find_package(catkin REQUIRED COMPONENTS roscpp audio_common_msgs)
find_package(PkgConfig)
pkg_check_modules(GST gstreamer-0.10 REQUIRED)
find_package(Boost REQUIRED COMPONENTS thread)
include_directories(${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${GST_IN... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/package.xml | <package>
<name>audio_play</name>
<version>0.2.12</version>
<description>
Outputs audio to a speaker from a source node.
</description>
<maintainer email="namniart@gmail.com">Austin Hendrix</maintainer>
<author>Nate Koenig</author>
<license>BSD</license>
<url type="website">http://ros.org/... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/mainpage.dox | /**
\mainpage
\htmlinclude manifest.html
\b audio_play is a package that listens to a node that produces audio_msgs, and plays them through a connected speaker.
\section codeapi Code API
<!--
Provide links to specific auto-generated API documentation within your
package that is of particular interest to a reader. D... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package audio_play
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.12 (2016-02-29)
-------------------
0.2.11 (2016-02-16)
-------------------
0.2.10 (2016-01-21)
-------------------
0.2.9 (2015-12-02)
------------------
0.2.8 (2015-10-02)
------------------
* Changed message le... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_play | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/launch/play.launch | <launch>
<node name="audio_play" pkg="audio_play" type="audio_play" output="screen">
<param name="dst" value="alsasink"/>
</node>
</launch>
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common/audio_play | apollo_public_repos/apollo-platform/ros/audio_common/audio_play/src/audio_play.cpp | #include <gst/gst.h>
#include <gst/gst.h>
#include <gst/app/gstappsrc.h>
#include <ros/ros.h>
#include <boost/thread.hpp>
#include "audio_common_msgs/AudioData.h"
namespace audio_transport
{
class RosGstPlay
{
public:
RosGstPlay()
{
GstPad *audiopad;
std::string dst_type;
... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(audio_common)
find_package(catkin REQUIRED)
catkin_metapackage()
| 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common/package.xml | <package>
<name>audio_common</name>
<version>0.2.12</version>
<description>
Common code for working with audio in ROS
</description>
<maintainer email="namniart@gmail.com">Austin Hendrix</maintainer>
<author>Blaise Gassend</author>
<license>BSD</license>
<url type="website">http://ros.or... | 0 |
apollo_public_repos/apollo-platform/ros/audio_common | apollo_public_repos/apollo-platform/ros/audio_common/audio_common/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package audio_common
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.12 (2016-02-29)
-------------------
0.2.11 (2016-02-16)
-------------------
0.2.10 (2016-01-21)
-------------------
0.2.9 (2015-12-02)
------------------
0.2.8 (2015-10-02)
------------------
* Update maint... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/CMakeLists.txt | cmake_minimum_required(VERSION 2.8.3)
project(gencpp)
find_package(catkin REQUIRED COMPONENTS genmsg)
catkin_package(
CATKIN_DEPENDS genmsg
CFG_EXTRAS gencpp-extras.cmake
)
add_subdirectory(scripts)
file(WRITE ${CATKIN_DEVEL_PREFIX}/${GENMSG_LANGS_DESTINATION}/gencpp "C++")
install(FILES ${CATKIN_DEVEL_PREFIX}/$... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/package.xml | <?xml version="1.0"?>
<package>
<name>gencpp</name>
<version>0.5.5</version>
<description>C++ ROS message and service generators.</description>
<maintainer email="dthomas@osrfoundation.org">Dirk Thomas</maintainer>
<license>BSD</license>
<url type="bugtracker">https://github.com/ros/gencpp/issues</url>
<... | 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/rosdoc.yaml | - builder: sphinx
sphinx_root_dir: doc
| 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/setup.py | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['gencpp'],
package_dir={'': 'src'},
requires=['genmsg']
)
setup(**d)
| 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/.tar | {!!python/unicode 'url': 'https://github.com/ros-gbp/gencpp-release/archive/release/indigo/gencpp/0.5.5-0.tar.gz',
!!python/unicode 'version': gencpp-release-release-indigo-gencpp-0.5.5-0}
| 0 |
apollo_public_repos/apollo-platform/ros | apollo_public_repos/apollo-platform/ros/gencpp/CHANGELOG.rst | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package gencpp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.5.5 (2016-06-27)
------------------
* fix extra semicolon warning (`#26 <https://github.com/ros/gencpp/issues/26>`_)
0.5.4 (2016-03-14)
------------------
* fix unused parameter warning (`#24 <https://github.com/ros/gencpp/issues... | 0 |
apollo_public_repos/apollo-platform/ros/gencpp | apollo_public_repos/apollo-platform/ros/gencpp/cmake/gencpp-extras.cmake.em | @[if DEVELSPACE]@
# bin and template dir variables in develspace
set(GENCPP_BIN "@(CMAKE_CURRENT_SOURCE_DIR)/scripts/gen_cpp.py")
set(GENCPP_TEMPLATE_DIR "@(CMAKE_CURRENT_SOURCE_DIR)/scripts")
@[else]@
# bin and template dir variables in installspace
set(GENCPP_BIN "${gencpp_DIR}/../../../@(CATKIN_PACKAGE_BIN_DESTINATI... | 0 |
apollo_public_repos/apollo-platform/ros/gencpp | apollo_public_repos/apollo-platform/ros/gencpp/scripts/srv.h.template | @###############################################
@#
@# ROS message source code generation for C++
@#
@# EmPy template for generating <msg>.h files
@#
@###############################################
@# Start of Template
@#
@# Context:
@# - file_name_in (String) Source .srv file
@# - spec (msggen.SrvSpec) Parsed speci... | 0 |
apollo_public_repos/apollo-platform/ros/gencpp | apollo_public_repos/apollo-platform/ros/gencpp/scripts/gen_cpp.py | #!/usr/bin/env python
# Software License Agreement (BSD License)
#
# Copyright (c) 2009, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code... | 0 |
apollo_public_repos/apollo-platform/ros/gencpp | apollo_public_repos/apollo-platform/ros/gencpp/scripts/CMakeLists.txt | install(
FILES msg.h.template srv.h.template
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
catkin_install_python(
PROGRAMS gen_cpp.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
| 0 |
apollo_public_repos/apollo-platform/ros/gencpp | apollo_public_repos/apollo-platform/ros/gencpp/scripts/msg.h.template | @###############################################
@#
@# ROS message source code generation for C++
@#
@# EmPy template for generating <msg>.h files
@#
@###############################################
@# Start of Template
@#
@# Context:
@# - file_name_in (String) Source file
@# - spec (msggen.MsgSpec) Parsed specificat... | 0 |
apollo_public_repos/apollo-platform/ros/gencpp/src | apollo_public_repos/apollo-platform/ros/gencpp/src/gencpp/__init__.py | # Software License Agreement (BSD License)
#
# Copyright (c) 2011, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above ... | 0 |
apollo_public_repos | apollo_public_repos/apollo-kernel/AUTHORS.md | | Github account | name |
|---|---|
| apollo-jingaowang | Jingao Wang |
| jmtao | Jiaming Tao |
| bjtulynn | Liming Xia |
| Capri2014 | Qi Luo |
| chinasunlei07 | Lei Sun |
| fengqikai1414 | Kaiwen Feng |
| GoLancer | Wei He |
| henryhu6 | Sen Hu |
| hillbrook | Lei Zhang |
| jinghaomiao | Jinghao Miao |
| joaospi... | 0 |
apollo_public_repos | apollo_public_repos/apollo-kernel/README.md | # Apollo Kernel
The Apollo Kernel provides the necessary kernel level support to run Apollo software stack.
In the first release, we add the most popular solution, Linux Kernel, under the linux directory.
## Linux Kernel
Apollo Linux Kernel is based on official [Linux Kernel 4.4.32](https://www.kernel.org/pub/linux/... | 0 |
apollo_public_repos/apollo-kernel | apollo_public_repos/apollo-kernel/linux/install-nvidia.sh | #!/bin/bash
BUILD_BASE=`pwd`
NV_FILE="NVIDIA-Linux-x86_64-460.32.03.run"
NV_URL="https://us.download.nvidia.cn/XFree86/Linux-x86_64/460.32.03/${NV_FILE}"
NEED_TO_COMPILE_NV_KO=1
function clean_env() {
[ -d ./${NV_DIR} ] && rm -rf ./${NV_DIR}
}
function check_env() {
# check if in apollo kernel
unam... | 0 |
apollo_public_repos/apollo-kernel | apollo_public_repos/apollo-kernel/linux/install_kernel.sh | #!/bin/bash
vmname=`basename vmlinuz*`
kver=${vmname:8}
if [ -z ${kver} ]; then
echo "failed! kernel version is empty."
exit 0
fi
cp -f vmlinuz* System.map* config* /boot/
[ -d /lib/modules/${kver} ] && rm -rf /lib/modules/${kver}
[ -d /usr/src/linux-headers-${kver} ] && rm -rf /usr/src/linux-headers-${kver}
cp -a m... | 0 |
apollo_public_repos/apollo-kernel | apollo_public_repos/apollo-kernel/linux/Install_nvidia_driver_on_ubuntu_18.04.md | # Install NVIDIA driver on Ubuntu 18.04
If you want to install Apollo-Kernel on Ubuntu 18.04, please follow the steps below to install Apollo-Kernel and NVIDIA driver.
## Install Apollo Kernel
Follow the steps in [Apollo Software Installation Guide](https://github.com/ApolloAuto/apollo/tree/master/docs/quickstart/apo... | 0 |
apollo_public_repos/apollo-kernel | apollo_public_repos/apollo-kernel/linux/build.sh | #!/bin/bash
#=================================================
# Utils
#=================================================
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${DIR}"
#get original linux kernel
function get_kernel() {
kernel_version="4.4.32"
loadkernel_address="http://cdn... | 0 |
apollo_public_repos/apollo-kernel | apollo_public_repos/apollo-kernel/linux/ESDCAN-README.md | ## ESD CAN Driver (Kernel Driver)
In the first release of Apollo software, ESD PCIe CAN is used for CAN communications with the vehicle -- please refer to *Apollo 1.0 Hardware and System Installation Guide* for more information. You MUST obtain ESD CAN driver (kernel module) software from ESD Electronics, and compile ... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/esdcan.patch | diff -Naur linux-4.4.32/drivers/esdcan/Kconfig.esd linux-patched/drivers/esdcan/Kconfig.esd
--- linux-4.4.32/drivers/esdcan/Kconfig.esd 1970-01-01 08:00:00.000000000 +0800
+++ linux-patched/drivers/esdcan/Kconfig.esd 2017-07-11 14:02:17.779698197 +0800
@@ -0,0 +1,6 @@
+
+config ESDCAN
+ tristate "ESD CAN-driver"
+ ... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/e1000e.patch | diff -Naur kernel/drivers/net/ethernet/intel/e1000e/defines.h kernel-e1000e/drivers/net/ethernet/intel/e1000e/defines.h
--- kernel/drivers/net/ethernet/intel/e1000e/defines.h 2016-11-15 14:47:35.000000000 +0800
+++ kernel-e1000e/drivers/net/ethernet/intel/e1000e/defines.h 2017-06-07 16:18:23.370547530 +0800
@@ -441,12 ... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/patch-4.4.32-rt43.patch | diff --git a/Documentation/hwlat_detector.txt b/Documentation/hwlat_detector.txt
new file mode 100644
index 000000000000..cb61516483d3
--- /dev/null
+++ b/Documentation/hwlat_detector.txt
@@ -0,0 +1,64 @@
+Introduction:
+-------------
+
+The module hwlat_detector is a special purpose kernel module that is used to
+dete... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/nvidia-hung-semaphore-completion.patch | diff -Naur kernel-2/kernel/sched/completion.c kernel-1/kernel/sched/completion.c
--- kernel-2/kernel/sched/completion.c 2016-11-30 14:08:59.717818598 +0800
+++ kernel-1/kernel/sched/completion.c 2016-11-30 14:11:09.798822760 +0800
@@ -61,11 +61,19 @@
do_wait_for_common(struct completion *x,
long (*action)(long),... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/inet_csk_clone_lock_double_free.patch | diff -Naur linux/net/ipv4/inet_connection_sock.c linux-patch/net/ipv4/inet_connection_sock.c
--- linux/net/ipv4/inet_connection_sock.c 2017-06-16 10:35:30.669374877 +0800
+++ linux-patch/net/ipv4/inet_connection_sock.c 2017-06-16 10:52:51.678992506 +0800
@@ -669,6 +669,8 @@
inet_sk(newsk)->inet_sport = htons(inet_rs... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/pre_rt.patch | diff -Naur linux-4.4.32/kernel/locking/rtmutex.c linux-patched/kernel/locking/rtmutex.c
--- linux-4.4.32/kernel/locking/rtmutex.c 2016-11-15 14:47:35.000000000 +0800
+++ linux-patched/kernel/locking/rtmutex.c 2017-07-11 14:13:23.827680605 +0800
@@ -1520,7 +1520,7 @@
#endif
}
-EXPORT_SYMBOL_GPL(rt_mutex_destroy);
+E... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/patches/cve_security.patch | diff -Naur linux/crypto/ahash.c linux-patched/crypto/ahash.c
--- linux/crypto/ahash.c 2017-06-20 21:46:49.351150151 +0800
+++ linux-patched/crypto/ahash.c 2017-06-20 22:20:43.959020589 +0800
@@ -31,6 +31,7 @@
crypto_completion_t complete;
void *data;
u8 *result;
+ u32 flags;
void *ubuf[] CRYPTO_MINALIGN_ATTR... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/configs/config.4.4.32.rt | #
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.4.32-apollo-2-RT Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUP... | 0 |
apollo_public_repos/apollo-kernel/linux | apollo_public_repos/apollo-kernel/linux/configs/config.4.4.32 | #
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.4.32-apollo-1 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPOR... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.