Skip to content

Commit

Permalink
Merge iron into jazzy
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Landini <[email protected]>
  • Loading branch information
elandini84 committed Dec 17, 2024
2 parents 52ef847 + 790ff7b commit 7ece881
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 11 deletions.
17 changes: 17 additions & 0 deletions app/navigation2/conf/cyclone_dds_sim_settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<CycloneDDS>
<Domain>
<General>
<AllowMulticast>false</AllowMulticast>
<Interfaces>
<NetworkInterface address="127.0.0.1" priority="default"/>
</Interfaces>
</General>
<Discovery>
<MaxAutoParticipantIndex>30</MaxAutoParticipantIndex>
<ParticipantIndex>auto</ParticipantIndex>
<Peers>
<Peer address="localhost"/>
</Peers>
</Discovery>
</Domain>
</CycloneDDS>
12 changes: 6 additions & 6 deletions app/navigation2/scripts/Navigation_ROS2_R1_SIM_office.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<module>
<name>ros2_launch.sh</name>
<parameters>robot_state_publisher.launch.py use_sim_time:=true</parameters>
<workdir>/home/user1/tour-guide-robot/app/navigation2/launch/</workdir>
<workdir>$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/launch/</workdir>
<node>console</node>
</module>

Expand All @@ -21,7 +21,7 @@
<module>
<name>./set_navigation_position_sim.sh</name>
<parameters></parameters>
<workdir>/home/user1/tour-guide-robot/app/navigation2/scripts/</workdir>
<workdir>$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/scripts/</workdir>
<node>console</node>
</module>

Expand All @@ -46,7 +46,7 @@
<module>
<name>ros2_launch.sh</name>
<parameters>amcl.launch.py use_sim_time:=true</parameters>
<workdir>/home/user1/tour-guide-robot/app/navigation2/launch/</workdir>
<workdir>$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/launch/</workdir>
<node>console</node>
</module>

Expand All @@ -58,8 +58,8 @@

<module>
<name>ros2_launch.sh</name>
<parameters>navigation.launch.py use_sim_time:=true params_file:=/home/user1/tour-guide-robot/app/navigation2/conf/nav2_params.yaml</parameters>
<workdir>/home/user1/tour-guide-robot/app/navigation2/launch/</workdir>
<parameters>navigation.launch.py use_sim_time:=true params_file:=$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/conf/nav2_params.yaml</parameters>
<workdir>$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/launch/</workdir>
<node>console</node>
</module>

Expand All @@ -78,7 +78,7 @@
<module>
<name>rviz2</name>
<parameters>-d r1_visualizer.rviz --ros-args --remap use_sim_time:=true</parameters>
<workdir>/home/user1/tour-guide-robot/app/navigation2/conf/</workdir>
<workdir>$ENV{ROBOT_CODE}/tour-guide-robot/app/navigation2/conf/</workdir>
<node>console</node>
</module>

Expand Down
2 changes: 1 addition & 1 deletion app/navigation2/scripts/start_sim_madama.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
yarpserver &
sleep 1;
ros2 launch gazebo_ros gazebo.launch.py extra_gazebo_args:=-slibgazebo_yarp_clock.so world:=/home/user1/tour-guide-robot/app/maps/SIM_MADAMA/madama.world &
ros2 launch gazebo_ros gazebo.launch.py extra_gazebo_args:=-slibgazebo_yarp_clock.so world:=/usr/local/src/robot/tour-guide-robot/app/maps/SIM_MADAMA/madama.world &
sleep 1;
yarprun --server /console --log &
sleep 1;
Expand Down
2 changes: 1 addition & 1 deletion app/speechPipeline/conf/robotInterface/audioTranscribe.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<robot name="test" build="2" portprefix="test" xmlns:xi="http://www.w3.org/2001/XInclude">
<devices>
<device name="dev1" type="whisperSpeechTranscription" >
<param extern-name="model" name="model"> /home/user1/yarp-device-speechTranscription-whisper/build/share/WhisperTranscribe/contexts/whisperTranscribe_demo/ggml-base.en.bin/ggml-base.en.bin </param>
<param extern-name="model" name="model"> /usr/local/src/robot/yarp-device-speechTranscription-whisper/build/share/WhisperTranscribe/contexts/whisperTranscribe_demo/ggml-base.en.bin/ggml-base.en.bin </param>
</device>

<device name="dev2" type="speechTranscription_nws_yarp">
Expand Down
4 changes: 2 additions & 2 deletions docker_stuff/docker_sim2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL maintainer="Ettore Landini"
ARG ros_distro
ARG yarp_branch="master"
ARG ros2_dev_remote="robotology"
ARG ros2_dev_branch=${ros_distro}
ARG ros2_dev_branch=${yarp_branch}
ARG gazebo_pkg=ros-${ros_distro}-ros-gz

# Non-interactive installation mode
Expand Down Expand Up @@ -175,7 +175,7 @@ ENV GazeboYARPPlugins_DIR=${robotology_install_folder}/gazebo-yarp-plugins/build
# CER
USER ${robotology_install_user}
WORKDIR ${robotology_install_folder}
RUN git clone https://github.com/elandini84/cer.git -b fix/compatibility/yarp_master
RUN git clone https://github.com/robotology/cer.git
RUN cd cer && mkdir build && cd build && cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_cermod_cerDoubleLidar=ON \
Expand Down
2 changes: 1 addition & 1 deletion docker_stuff/docker_tourCore2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ RUN sudo ln -s /usr/local/share/bash-completion/completions/yarp /usr/share/bash
# Build icub-firmware-shared
USER ${robotology_install_user}
WORKDIR ${robotology_install_folder}
RUN git clone https://github.com/robotology/icub-firmware-shared -b devel
RUN git clone https://github.com/robotology/icub-firmware-shared -b master
RUN cd icub-firmware-shared && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j11
ENV icub_firmware_shared_ROOT=${robotology_install_folder}/icub-firmware-shared
ENV icub_firmware_shared_DIR=${robotology_install_folder}/icub-firmware-shared/build
Expand Down

0 comments on commit 7ece881

Please sign in to comment.