Commit 46c34b7b authored by Damien SIX's avatar Damien SIX
Browse files

New ros_bridge node for simulation

parent d3e35b4a
......@@ -48,7 +48,7 @@ function px4_instance() {
if [[ $MODEL == *"rtps" ]];
then
'gnome-terminal' -t "RTPSAgent$N" -- micrortps_agent -t UDP -r $((2020+${N}*2)) -s $((2019+${N}*2)) -n "Drone$((1+${N}))"
'gnome-terminal' -t "RTPSAgent$((1+${N}))" -- ros2 run ls2n_px4_ros_com micrortps_agent --ros-args -r __ns:=/Drone$((1+${N})) -p transport:=UDP -p receive_port:=$((2020+${N}*2)) -p send_port:=$((2019+${N}*2))
fi
working_dir="$build_path/instance_$n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment