configuration run.sh depends on PIONIER_ID

This commit is contained in:
Jakub Delicat 2021-11-10 12:58:36 +01:00
parent 1c4e57c0ac
commit a6ccbde491
2 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,6 @@ ROS package to handle Pioneer robot features L1.5.
## Enable autostart ## Enable autostart
On Ubuntu 12 copy file 'ros.desktop' to `~/.config/autostart/` On Ubuntu 12 copy file 'ros.desktop' to `~/.config/autostart/`
`cp ros.desktop ~/.config/autostart/` `cp ros.desktop ~/.config/autostart/`

2
run.sh
View File

@ -9,6 +9,6 @@ export ROS_NAMESPACE=/PIONIER${PIONIER_ID}
#rosrun rosaria RosAria _port:=/dev/ttyS0 & >/dev/null 2>&1 #rosrun rosaria RosAria _port:=/dev/ttyS0 & >/dev/null 2>&1
rosrun rosaria RosAria _port:=/dev/ttyS0 _tf_prefix:=/PIONIER${PIONIER_ID} & rosrun rosaria RosAria _port:=/dev/ttyS0 _tf_prefix:=/PIONIER${PIONIER_ID} &
#rosrun safety cloud_reader 0.7 & #rosrun safety cloud_reader 0.7 &
rosrun hokuyo_node hokuyo_node _frame_id:="laser${PIONIER_ID}" & rosrun hokuyo_node hokuyo_node _frame_id:="PIONIER${PIONIER_ID}/laser${PIONIER_ID}" &
#rosrun videostream videostream & #rosrun videostream videostream &
#cvlc v4l2:///dev/video0 :v4l2-standard= :sout='#transcode{vcodec=FLV1,vb=0,scale=0,acodec=none}:http{mux=ffmpeg{mux=flv},dst=:8080/}' :sout-keep :live-caching=300 & #cvlc v4l2:///dev/video0 :v4l2-standard= :sout='#transcode{vcodec=FLV1,vb=0,scale=0,acodec=none}:http{mux=ffmpeg{mux=flv},dst=:8080/}' :sout-keep :live-caching=300 &