husarion docs - robot store | robots | robot parts | robot ... · connected directly to the asus...

13
2/15/2019 ROSbot manual · Husarion Docs https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 1/13 Manuals ROSbot manual Overview ROSbot is an autonomous robot platform based on Husarion CORE2-ROS robot controller available in two version: 2.0 and 2.0 PRO. ROSbot is an affordable robot platform for rapid development of autonomous robots. It can be a base for custom service robots, inspection robots and robots working in swarms. Both version integrates: 4-wheels mobile platform containing DC motors with encoders and an aluminum frame Orbbec Astra RGBD camera ROSbot 2.0 - Autonomous robot development kit ROSbot 2.0 - Autonomous robot development kit ROSbot 2.0 - Autonomous robot development kit Tutorials Manuals Software Downloads Community Log In Husarion Docs

Upload: others

Post on 31-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 1/13

› Manuals

ROSbot manual

OverviewROSbot is an autonomous robot platform based on Husarion CORE2-ROS robot controller availablein two version: 2.0 and 2.0 PRO.

ROSbot is an affordable robot platform for rapid development of autonomous robots. It can be abase for custom service robots, inspection robots and robots working in swarms. Both versionintegrates:

4-wheels mobile platform containing DC motors with encoders and an aluminum frameOrbbec Astra RGBD camera

ROSbot 2.0 - Autonomous robot development kitROSbot 2.0 - Autonomous robot development kitROSbot 2.0 - Autonomous robot development kit

Tutorials Manuals Software Downloads Community Log In

Husarion Docs

Page 2: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 2/13

MPU 9250 inertial sensor (accelerometer + gyro)rear panel providing interfaces for additional modules

In ROSbot 2.0:

CORE2-ROS controller with Asus Tinker BoardRPLIDAR A2 laser scanner

In ROSbot 2.0 PRO:

CORE2-ROS controller with UpBoard UPRPLIDAR A3 laser scanner

You can use your ROSbot offline however we recommend connecting to Husarion Cloud as it givesyou access to a lot of additional functionalities like remote management and firmware updates.

If you do not own ROSbot yet, you can purchase it here.

You can also test the performance of ROSbot using our simulation model in Gazebo environment. Itis available here, at our GitHub page.

Front Back Perspective

Front Back Perspective

Husarion Docs

Page 3: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 3/13

You can find free ROS tutorials dedicated for ROSbot under this link. They will guide you throughdifferent aspects of programming autonomous vehicles in ROS

Hardware guide

Specification

Attribute Description

Dimensions with camera andLiDAR

200 x 235 x 220mm / 7.87 x 9.25 x 8.66in [L x W x H]

Dimensions without LiDAR 200 x 235 x 146mm / 7.87 x 9.25 x 5.74in [L x W x H]

Dimensions without cameraand LiDAR

200 x 235 x 106mm / 7.87 x 9.25 x 4.17in [L x W x H]

Weight2,84kg / 100oz (with camera and LiDAR), 2,45kg / 86oz(without camera and LiDAR)

Husarion Docs

Page 4: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 4/13

Wheel diameter / Clearance /Wheelbase

85mm / 22mm / 105mm

Chassis material Powder-coated aluminum plate, 1.5mm thick

Maximum translationalvelocity

1.25 m/s

Maximum rotational velocity 420 deg/s (7.33 rad/s)

Maximum load capacity 10kg / 352oz

Battery life 1.5h - 5h

Components

Husarion Docs

Page 5: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 5/13

Components description

Component Quantity Description

Infrareddistancesensor

4VL53L0X Time-of-Flight distance sensor with up to 200 cm range,more details.

DC motor 4

Xinhe Motor XH-25D Motor used: RF-370, 6VDC nominal, 5000rpmNo load speed at the output shaft: 165 rpm Stall torque: 2.9 kg*cmStall current: 2.2A Gear ratio: ~34 (exact ratio is 30613/900) Encoder:magnetic, 48ppr, 12 poles

IMU sensor 1Powerful 9-Axis Accel/Gyro/Magnetometer sensor with MPU-9250,more details.

RGBD 1 Orbbec Astra with RGB image size 1280x960 and depth image size

Husarion Docs

Page 6: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 6/13

camera 640x480.

Batteries 3Li-Ion 18650 protected, rechargeable batteries, 3500mAh capacity,3.7V nominal voltage Note: Device may be shipped interchangeably with similar batteries.

Antenna 1Connected directly to the ASUS Tinker Board Wi-Fi module. Uses anRP-SMA(m) <-> I-PEX MHF4 cable to connect the antenna with SBC.

In ROSbot 2.0:

Component Quantity Description

CORE2-ROS 1Advanced version of CORE2 with an ASUS Tinker board computer.CORE2 real-time controller is based on STM32F407 microcontroller.The SBC runs on Ubuntu-based OS, customized to use ROS.

LIDAR 1 RpLidar A2, 360 degree and up to 8m range, more details.

In ROSbot 2.0 PRO:

Component Quantity Description

CORE2-ROS 1Advanced version of CORE2 with an Up Board computer. CORE2real-time controller is based on STM32F407 microcontroller. TheSBC runs on Ubuntu-based OS, customized to use ROS.

LIDAR 1 RpLidar A3, 360 degree and up to 25m range, more details.

Rear panel description

.

Component Quantity Description

Husarion Docs

Page 7: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 7/13

Antennaconnector

1 Wi-Fi antenna RP-SMA socket. Required for Wi-Fi connectivity.

USB 2 USB 2.0 host ports from SBC.

HDMI 1 HDMI output from SBC.

Powerswitch

1 Turns ROSbot completely ON or OFF.

LEDs 6LR1(yellow), LR2(blue), L1(red), L2(green), L3(green), PWR(red), moredetails here.

resetbutton

1 Button used for reset CORE2.

hCfg button 1Button used for connecting ROSbot to [Husarion Cloud](https://cloud.husarion.com/).

hBtn 2 hBtn1, hBtn2 - programmable buttons.

Outputs forservo

6 Servo output with PWM, more details here.

USB serial 1USB serial port used for debugging the firmware on CORE2-ROScontroller.

Chargingconnector

1 6-pin connector for charging internal Li-Ion batteries.

DC powerinput

1DC for working with external 12V power supply. Use the powersupply included with charger or any 12V, min. 5A power supply with5.5/2.5mm plug (center-positive).

Time-of-Flightdistancesensor

2VL53L0X Time-of-Flight distance sensor with up to 200 cm range,more details here.

hExt 1 12xGPIO, 7x ADC, SPI, I2C, UART, more details here.

hSens 1 4 xGPIO, ADC, UART, more details here.

Power supply

Husarion Docs

Page 8: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 8/13

ROSbot is powered from an internal, rechargeable Li-Ion battery pack that contains 3 Li-Ion cells,connected in series. This type of connection is called “3S”. The schematic below explains how thecells are wired together and with the charging connector (on ROSbot side).

The BAT+ and BAT- are the power connections and the “bal Bxx” wires are used to monitor thevoltage on each cell. It is strongly recommended to keep equal voltages on each cell during thecharging process. The charger included with ROSbot can charge batteries in the described way and,thanks to that, the long life of the battery set is possible.

The nominal voltage of each cell is 3.7V but the useful range is 3.2V to 4.2V.

Important - discharge indicator If only the right firmware is preloaded to the internal controller(CORE2), the LED1 is programmed to indicate the power status:

the LED1 is on when the robot is turned onthe LED1 is blinking when battery is low – please charge immediately!

Please make sure that the user firmware always contains the function that monitors the supplyvoltage level. Deep discharging of batteries may decrease their lifecycle. Discharging to the voltagelower than 3.0V/cell can also trigger the over discharge protection. If the voltage is too low, turnROSbot off and charge batteries as soon as possible.

Charging ROSbot

Husarion Docs

Page 9: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 9/13

The ROSbot kit contains the Redox Beta charger. It is an universal charger, suitable for chargingNiCd, NiMH, Li-Po, Li-Fe, Li-Ion and Pb (AGM, VRLA) batteries. ROSbot shall be charged using anincluded charger and cable.

Charger kit includes:

Redox Beta chargerAC/DC power adapter 100...240V to 12V 5A with 5.5/2.5mm plug on the 12V sidea cable to connect charger with ROSbot charging port

Quick charging guide:

1. Connect the power adapter to the charger and the output cable between charger and ROSbot(2 connectors on charger side, 1 black connector to ROSbot charging port).

2. Use red and blue buttons to select “LiPo BATT” mode and press [Start].3. Use arrows to select “LiPo CHARGE” mode.4. Press [Start] - the current value should start blinking. Use arrows to set the current to 1.5A.5. Press [Start] again - the voltage value should start blinking. Select “11.1V(3S)” using arrows. The

picture below shows the desired result.6. Press and hold [Start] for 2 seconds. The charger should now ask for confirmation. Press [Start]

again. The charging process should begin now.7. When the charging will be finished (after about 3 hours), the charger will generate a loud “beep”

sound and will finish charging at the same time.

Husarion Docs

Page 10: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 10/13

If you need more information about charging, please read the Charging manual for ROSbot in PDFformat.

Notes

You can change charging current to maximum 3A. Please note that a regular charging with themaximum current can shorten the battery life.If you are going to use ROSbot stationary for a long time, you can use ROSbot with chargerconnected (and charging) all the time. It will increase the batteries lifetime. Align the chargingcurrent to keep the voltage at about 11.1V-12V.In case you need to replace batteries, use only 18650 Li-Ion batteries, with the capacity in arange of 1800...3500mAh and with a protection circuit! Using unprotected batteries may resultin serious injuries or fire.Unplug charging connectors carefully. You shall not unplug the charger connectors holding thewires. The balancer connection on ROSbot side has a latching tab (see photo below) that mustbe pressed before unplugging. On the charger side there is no latching tab but you should alsounplug this connector holding the white plug.

SoftwareSoftware for ROSbot can be divided into 2 parts:

A firmware that works on the real-time controller (CORE2) and can be developed and uploadedfrom Husarion Cloud with WebIDE. It can also be developed offline using Visual Studio CodeIDE.

Husarion Docs

Page 11: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 11/13

OS based on Ubuntu 16.04, which runs on the SBC (ASUS Tinker Board) and contains allcomponents needed to start working with ROS immediately. The microSD card with OS isincluded with each ROSbot. The OS has been modified to make the file system insensitive tosudden power cuts.

In some cases you will need to flash the OS image to the microSD card once again:

in case of accidential damage of the system,to update the OS (it can be udpated remotely, but flashing the microSD card can be easiersometimes),to clear all user changes and restore factory settings. To do that, you have to disassembly thetop cover, unscrew the 4 screws on the CORE2 corners and carefully carry up CORE2 with SBC.Then you can change the microSD card and flash the OS. You can find the image and flashmanual here. If you want to replace the included card, remember that you need to use at least16 GB capacity and 10 speed class micro SD card.

First steps

Connection to Husarion CloudThings you need: the ROSbot, any Android device with Wi-Fi connectivity and with hConfig appinstalled (available on Google Play and App Store), any PC computer to work with ROSbot, theWi-Fi network.Login or register on cloud.husarion.com.Register your ROSbot on your cloud account by clicking “Add new device”.Launch the hConfig application and follow the instructions. Note: The app will ask you to holdhCfg button on CORE2 and to watch LR1, LR2 LEDs – they are all available on the rear panel.Now you should see your ROSbot online and you can start with ROSbot tutorial.

ROS tutorialsROS (Robot Operating System) provides libraries and tools to help software developers create robotapplications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing,package management, and more. It's very powerful and functional tool dedicated to design robots.We created the set of ROS tutorials dedicated for this platform to make it easier to familiarizeyourself with these frameworks.

Husarion Docs

Page 12: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 12/13

Configuring ROSbot to work with 5GHz WiFi.By default ROSbot supports WiFi in 2.4GHz band, this is sufficent for most cases. If you encounterproblems with data transfers e.g. due to processing large amounts of data or noise from othernetworks you can try to use connection in 5GHz band.

To do this, you will need a USB 5GHz WiFi card (any device based on rtl8812au should be fine, testedmodels are TP-Link Archer T4U and D-Link DWA-172)

If you have recent image version you can skip update and kernel instal, otherwise do:

sudo apt-get update

This will update packages list.

Then do:

sudo apt-get install tinkerboard-kernel

This will install the newest available kernel version, that supports 5GHz WiFi.

Load kernel module:

modprobe rtl8812au

Type ifconfig to list network interfaces. You should see now new interface named wlan1

Now, You can list all available newtworks:

sudo iwlist wlan1 scanning | grep ESSID

You can connect to your WiFi with:

nmcli d wifi connect <ESSID> password <pass> iface wlan1

Remember to replace ESSID and pass with name and passowrd of chosen network.

ROSbot will try to connect to this network each time it boots.

Husarion Docs

Page 13: Husarion Docs - Robot Store | Robots | Robot Parts | Robot ... · Connected directly to the ASUS Tinker Board Wi-Fi module. Uses an RP-SMA(m)  I-PEX MHF4 cable to connect

2/15/2019 ROSbot manual · Husarion Docs

https://husarion.com/manuals/rosbot-manual/#rosbot-manual-overview 13/13

← TELEPRESENCE ROBOT KIT MANUAL HUSARION ADD-ONS →

Docs and linksAll helpful documents and links in one place:

ROSbot Safety Instructions - important!Charging manual for ROSbotROS tutorials for ROSbotROSbot on ROS webpageROSbot on ROS WikiURDF model of ROSbot - for Gazebo integrated with ROSROSbot project on hackaday.ioROSbot project on instructables.com

Company

About Us

Contact

Blog

Terms of service

Developers

Documentation

Husarion Cloud

Community forum

Downloads

Home Page

Social

Facebook

Twitter

GitHub

Copyright © 2019 Husarion sp. z o.o.

Husarion Docs