Connecting to and Communication Setup for Raw Ubiquity


The Ubiquity defaults to providing a WiFi Access Point (AP) to allow for easy initial communication. Usually, this should be changed so that the Ubiquity logs onto one of your personal networks.

https://learn.ubiquityrobotics.com/connecting

Logging on in AP Mode

The Ubiquity’s AP will appear in your computer’s WiFi list as ubiquityrobot**** where **** will vary from bot to bot.

Connect your computer’s WiFi to ubiquityrobot****. Your computer may ask “Enter the PIN from the router label”…click “Connect using a security key instead”…the default key is “robotseverywhere”.

Open PuTTY, connect to 10.42.0.1

You may see:

The authenticity of host ‘10.42.0.1 (10.42.0.1)’ can’t be established. ECDSA key fingerprint is SHA256:sDDeGZzL8FPY3kMmvhwjPC9wH+mGsAxJL/dNXpoYnsc.
Are you sure you want to continue connecting (yes/no)?

Answer yes

Failed to add the host to the list of known hosts (/somepath/.ssh/known_hosts).

Ignore that. 

login as: ubuntu
password: ubuntu

Connecting to Your Network

First, change the hostname so you can recognize the bot on the network:

sudo pifi set-hostname SPUD
sudo reboot

Now the robot’s AP name will now appear as SPUD**** instead of ubiquityrobot****. You will have to connect your laptop to the new name and supply the password again.

Running Some Fun Stuff from PuTTY

move the bot using the keyboard:

rosrun teleop_twist_keyboard teleop_twist_keyboard.py

all diagnostics:

rostopic echo /diagnostics

monitor specific topics by using grep to filter the desired data:

rostopic echo /diagnostics | grep -A 1 'Battery'
rostopic echo /diagnostics | grep -A 1 'MotorPower'
rostopic echo /diagnostics | grep -A 1 'FirmwareVersion'
rostopic echo /diagnostics | grep -A 1 'FirmwareDate'
rostopic echo /diagnostics | grep -A 1 'FirmwareOptions'

  • BatteryVoltage key shows the battery level in DC volts
  • MotorPower key is True when the ESTOP is enabling wheel power
  • FirmwareVersion shows the main board firmware version
  • FirmwareDate shows the date for the firmware
  • FirmwareOptions shows hardware options if enabled

start some navigation routines:

roslaunch magni_demos simple_navigation.launch

,

Leave a Reply

Your email address will not be published. Required fields are marked *