Skip to content

Commit

Permalink
add ros setup to .bashrc in docker and fix airframe printer for vtol …
Browse files Browse the repository at this point in the history
…octoplane coaxial
  • Loading branch information
PonomarevDA committed Dec 10, 2023
1 parent 0471c46 commit 6f78aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ COPY uav_dynamics/inno_vtol_dynamics/catkin_test.sh uav_dynamics/inno_vtol_d
COPY scripts/ scripts/
COPY communicators/cyphal_communicator/ communicators/cyphal_communicator/

RUN echo source scripts/run_sim.sh ros >> ~/.bashrc

CMD echo "main process has been started" && \
source /opt/ros/$ROS_DISTRO/setup.bash && source /catkin_ws/devel/setup.bash && \
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_sim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ cyphal_standard_vtol() {
cyphal_vtol_8_motors() {
setup_ros
setup_cyphal_hitl
$SCRIPT_DIR/airframe_printer.sh 13000
$SCRIPT_DIR/airframe_printer.sh 13050
roslaunch innopolis_vtol_dynamics hitl.launch \
run_cyphal_communicator:=true \
logging_type:=vtol_8_motors_logger \
Expand Down

0 comments on commit 6f78aea

Please sign in to comment.