ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you need to put the ip like this robot_ip:="192.168.1.100".

Here is a bash file that works for me (Ubuntu 18.04, ROS Melodic)

#!/bin/bash

echo "Num args: $#"
echo "Args: $@"

# Needed because first 2 Images have no corresponding features
if [ ! -z "$1" ]; then
    position="$1"
else
    position="front"
fi
if [ ! -z "$2" ]; then
    prefix="$2"
else
    prefix=""
fi
echo "Position: >$position<"
echo "Prefix= >$prefix<"

rostopic echo /prius/stereo_camera_front/left/image_raw -n 2 >/dev/null 2>&1
set -xv
roslaunch prius stereo_mapping.launch position:=$position prefix:="$prefix"