Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • liuhomewreckers/liu-home-wreckers
  • tdde19-2021-5/tdde-19-group-5-pepper
2 results
Show changes
Commits on Source (65)
Showing
with 33 additions and 76 deletions
*rosbag2* filter=lfs diff=lfs merge=lfs -text
...@@ -220,6 +220,4 @@ __pycache__/ ...@@ -220,6 +220,4 @@ __pycache__/
#!src/lhw_gui/install/ #!src/lhw_gui/install/
#!src/lhw_gui/build/ #!src/lhw_gui/build/
!src/lhw_gui/bin/ !src/lhw_gui/bin/
!src/lhw_gui/lib/ !src/lhw_gui/lib/
\ No newline at end of file
*rosbag2*
\ No newline at end of file
#!/bin/bash
echo "Starting Intelligence"
docker-compse run lhw_intelligence zsh
source install/setup.zsh && ros2 run lhw_intelligence py_tree
echo "Status 200 - Intelligence"
\ No newline at end of file
#!/bin/bash
echo "Starting dialogflow"
docker-compse run lhw_nlp zsh
source install/setup.zsh && ros2 run lhw_nlp dialogflow
echo "Status 200 - dialogflow"
\ No newline at end of file
#!/bin/bash
echo "Starting qi"
docker-compose run lhw_qi zsh
colcon build --symlink-install && source $SOURCE_FILE && echo "Motion" && ros2 run lhw_qi motion -i $PEPPER_IP & \
echo "Animated speech" && ros2 run lhw_qi animated_speech -i $PEPPER_IP & \
echo "Microphone" && ros2 run lhw_qi microphone -i $PEPPER_IP & \
echo "Camera" && ros2 run lhw_qi camera -i $PEPPER_IP & \
echo "Tablet" && ros2 run lhw_qi tablet -i $PEPPER_IP & \
echo "Depth laser" && ros2 launch lhw_qi depth_laser.launch.py & \
echo "Simple listener" && ros2 run lhw_qi speech_recognition -i $PEPPER_IP
echo "Status 200 - qi"
\ No newline at end of file
#!/bin/bash
echo "Starting ros1 bridge"
docker-compse up lhw_ros1_bridge
source /opt/ros/noetic/setup.zsh && source /opt/ros/foxy/setup.zsh && source /ros1_bridge_ws/install/setup.zsh && sleep 5 && ros2 run ros1_bridge parameter_bridge
echo "Status 200 - ros1 bridge"
#!/bin/bash
docker-compose stop
#!/bin/bash
echo "Starting tablet"
docker-compose run lhw_tablet zsh
source /install/setup.zsh && ros2 run lhw_tablet action_server
echo "Status 200 - tablet"
\ No newline at end of file
#!/bin/bash
echo "Starting Visage server and visage_analysis node"
docker-compose run lhw_visage zsh
./build/lhw_visage/visage_server & \
ros2 run lhw_visage visage_analysis
echo "Status 200 - Visage server and visage_analysis node"
\ No newline at end of file
#!/bin/bash
echo "Starting depth_node"
docker-compose run lhw_vision zsh
ros2 run lhw_vision depth_node
echo "Status 200 - depth_nodes"
\ No newline at end of file
ssh-keyscan $PEPPER_IP > /root/.ssh/known_hosts && ssh -i /id_rsa nao@$PEPPER_IP 'qicli call ALAudioDevice.setOutputVolume 100 && qicli call ALTextToSpeech.say "Hello Axel from Docker"'
\ No newline at end of file
...@@ -17,6 +17,7 @@ services: ...@@ -17,6 +17,7 @@ services:
- ./waiter:/workspace/liu-home-wreckers/waiter - ./waiter:/workspace/liu-home-wreckers/waiter
- ./build:/workspace/liu-home-wreckers/build - ./build:/workspace/liu-home-wreckers/build
- ./install:/workspace/liu-home-wreckers/install - ./install:/workspace/liu-home-wreckers/install
- ./rosbags:/workspace/liu-home-wreckers/rosbags
environment: environment:
- DISPLAY=$DISPLAY - DISPLAY=$DISPLAY
......
...@@ -53,7 +53,7 @@ class Launch: ...@@ -53,7 +53,7 @@ class Launch:
for child in children: for child in children:
child.wait() child.wait()
except KeyboardInterrupt: except:
for container in reversed(created): for container in reversed(created):
res = subprocess.run([GET_PID_STR.format(container)], shell=True, stdout = subprocess.PIPE) res = subprocess.run([GET_PID_STR.format(container)], shell=True, stdout = subprocess.PIPE)
for pid in reversed(res.stdout.decode("utf-8").split("\n")): for pid in reversed(res.stdout.decode("utf-8").split("\n")):
......
...@@ -56,4 +56,4 @@ ...@@ -56,4 +56,4 @@
} }
} }
\ No newline at end of file
File added
File added
rosbag2_bagfile_information:
version: 4
storage_identifier: sqlite3
relative_file_paths:
- rosbag2_2022_11_27-20_28_44_0.db3
duration:
nanoseconds: 5005300330
starting_time:
nanoseconds_since_epoch: 1669580927087629842
message_count: 2
topics_with_message_count:
- topic_metadata:
name: /microphone_buffer
type: lhw_interfaces/msg/Audio
serialization_format: cdr
offered_qos_profiles: ""
message_count: 2
compression_format: ""
compression_mode: ""
\ No newline at end of file