diff --git a/hokuyo/entrypoint.sh b/hokuyo/entrypoint.sh index 4d305eb..f87da86 100755 --- a/hokuyo/entrypoint.sh +++ b/hokuyo/entrypoint.sh @@ -2,5 +2,6 @@ source /opt/ros/noetic/setup.bash 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 \ No newline at end of file diff --git a/install.sh b/install.sh index 032571f..73df666 100755 --- a/install.sh +++ b/install.sh @@ -25,4 +25,4 @@ chmod g+w /etc/systemd/system/rosaria-docker.service systemctl daemon-reload systemctl enable rosaria-docker.service -systemctl start rosaria-docker.service +systemctl restart rosaria-docker.service diff --git a/radio-lap/entrypoint.sh b/radio-lap/entrypoint.sh index 85510e4..baac232 100755 --- a/radio-lap/entrypoint.sh +++ b/radio-lap/entrypoint.sh @@ -3,5 +3,6 @@ source /opt/ros/noetic/setup.bash source /ws/devel/setup.bash set -x +export ROS_NAMESPACE=/PIONIER${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 \ No newline at end of file