added namespace

This commit is contained in:
Jakub Delicat 2023-01-24 16:23:40 +01:00
parent 18ee097492
commit b597b777b6
3 changed files with 4 additions and 2 deletions

View File

@ -2,5 +2,6 @@
source /opt/ros/noetic/setup.bash source /opt/ros/noetic/setup.bash
set -x set -x
rosrun urg_node urg_node _frame_id:="PIONIER${PIONIER_ID}/laser" _serial_port:="/dev/hokuyo" scan:=PIONIER${PIONIER_ID}/scan & export ROS_NAMESPACE=/PIONIER${PIONIER_ID}
rosrun urg_node urg_node _frame_id:="PIONIER${PIONIER_ID}/laser" _serial_port:="/dev/hokuyo" &
rosrun tf static_transform_publisher 0.149 0 0.269 0 0 0 PIONIER${PIONIER_ID}/base_link PIONIER${PIONIER_ID}/laser 100 rosrun tf static_transform_publisher 0.149 0 0.269 0 0 0 PIONIER${PIONIER_ID}/base_link PIONIER${PIONIER_ID}/laser 100

View File

@ -25,4 +25,4 @@ chmod g+w /etc/systemd/system/rosaria-docker.service
systemctl daemon-reload systemctl daemon-reload
systemctl enable rosaria-docker.service systemctl enable rosaria-docker.service
systemctl start rosaria-docker.service systemctl restart rosaria-docker.service

View File

@ -3,5 +3,6 @@
source /opt/ros/noetic/setup.bash source /opt/ros/noetic/setup.bash
source /ws/devel/setup.bash source /ws/devel/setup.bash
set -x set -x
export ROS_NAMESPACE=/PIONIER${PIONIER_ID}
roslaunch ros_decawave decawave_driver.launch pionier_id:=${PIONIER_ID} & roslaunch ros_decawave decawave_driver.launch pionier_id:=${PIONIER_ID} &
rosrun tf static_transform_publisher 0 0 0.2 0 0 0 /PIONIER${PIONIER_ID}/base_link /PIONIER${PIONIER_ID}/tag 100 rosrun tf static_transform_publisher 0 0 0.2 0 0 0 /PIONIER${PIONIER_ID}/base_link /PIONIER${PIONIER_ID}/tag 100