-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Developments for TMR
- Loading branch information
Showing
22 changed files
with
1,801 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ build | |
devel | ||
terminator-config | ||
.catkin_workspace | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
version: '2.25' | ||
|
||
services: | ||
rosmaster: | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile.main | ||
container_name: rosmaster | ||
hostname: rosmaster | ||
networks: | ||
- rosdocker | ||
ports: | ||
- "11311:11311" | ||
command: roscore | ||
|
||
main: | ||
build: | ||
context: . | ||
dockerfile: docker/Dockerfile.main | ||
container_name: task_manager | ||
hostname: task_manager | ||
volumes: | ||
- ./ws:/workspace | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- /dev:/dev | ||
networks: | ||
- rosdocker | ||
privileged: true | ||
devices: | ||
- /dev/video0:/dev/video0 | ||
environment: | ||
- "ROS_HOSTNAME=task_manager" | ||
- "ROS_MASTER_URI=http://rosmaster:11311" | ||
- DISPLAY=${DISPLAY} | ||
- LOCAL_USER_ID=id -u ${USER} | ||
- LOCAL_GROUP_ID=id -g ${USER} | ||
- LOCAL_GROUP_NAME=id -gn ${USER} | ||
command: bash -c "source /ws/devel/setup.bash && rosrun frida_task_manager receptionist_task_manager.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Create pulse audio socket to share with docker container | ||
|
||
# Ref: https://github.com/mviereck/x11docker/wiki/Container-sound:-ALSA-or-Pulseaudio | ||
|
||
# Remove files if they exist | ||
sudo rm -rf /tmp/pulseaudio.socket | ||
sudo rm -rf /tmp/pulseaudio.client.conf | ||
|
||
# Create pulseaudio socket. | ||
pactl load-module module-native-protocol-unix socket=/tmp/pulseaudio.socket | ||
|
||
# Create pulseaudio clients config. | ||
echo 'default-server = unix:/tmp/pulseaudio.socket | ||
# Prevent a server running in the container | ||
autospawn = yes | ||
daemon-binary = /bin/true | ||
# Prevent the use of shared memory | ||
enable-shm = false' > /tmp/pulseaudio.client.conf |
Submodule manipulation
updated
243 files
Submodule navigation
updated
434 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
project(frida_task_manager) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
actionlib | ||
geometry_msgs | ||
roscpp | ||
rospy | ||
std_msgs | ||
move_base_msgs | ||
) | ||
|
||
## Generate messages in the 'msg' folder | ||
# add_message_files( | ||
# FILES | ||
# Message1.msg | ||
# Message2.msg | ||
# ) | ||
|
||
## Generate services in the 'srv' folder | ||
# add_service_files( | ||
# FILES | ||
# Service1.srv | ||
# Service2.srv | ||
# ) | ||
|
||
## Generate actions in the 'action' folder | ||
# add_action_files( | ||
# FILES | ||
# Action1.action | ||
# Action2.action | ||
# ) | ||
|
||
## Generate added messages and services with any dependencies listed here | ||
# generate_messages( | ||
# DEPENDENCIES | ||
# geometry_msgs# std_msgs | ||
# ) | ||
|
||
catkin_package( | ||
# INCLUDE_DIRS include | ||
# LIBRARIES frida_task_manager | ||
# CATKIN_DEPENDS actionlib geometry_msgs roscpp rospy std_msgs | ||
# DEPENDS system_lib | ||
) | ||
|
||
include_directories( | ||
# include | ||
${catkin_INCLUDE_DIRS} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>frida_task_manager</name> | ||
<version>0.0.0</version> | ||
<description>The frida_task_manager package</description> | ||
|
||
<maintainer email="[email protected]">rbrgs</maintainer> | ||
|
||
<license>GPLv3</license> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>actionlib</build_depend> | ||
<build_depend>geometry_msgs</build_depend> | ||
<build_depend>roscpp</build_depend> | ||
<build_depend>rospy</build_depend> | ||
<build_depend>std_msgs</build_depend> | ||
<build_depend>move_base_msgs</build_depend> | ||
<build_export_depend>actionlib</build_export_depend> | ||
<build_export_depend>geometry_msgs</build_export_depend> | ||
<build_export_depend>roscpp</build_export_depend> | ||
<build_export_depend>rospy</build_export_depend> | ||
<build_export_depend>std_msgs</build_export_depend> | ||
<build_export_depend>move_base_msgs</build_export_depend> | ||
<exec_depend>actionlib</exec_depend> | ||
<exec_depend>geometry_msgs</exec_depend> | ||
<exec_depend>roscpp</exec_depend> | ||
<exec_depend>rospy</exec_depend> | ||
<exec_depend>std_msgs</exec_depend> | ||
<exec_depend>move_base_msgs</exec_depend> | ||
|
||
|
||
<!-- The export tag contains other, unspecified, tags --> | ||
<export> | ||
<!-- Other tools can request additional information be placed here --> | ||
|
||
</export> | ||
</package> |
Oops, something went wrong.