background image

                                                                                                                                               

深圳市璞数技术有限公司

 

PAGE  11  OF  16   

        2.2.5 Install a joystick driver when necessary. (Optional part).   
                        If you want to drive your robot from joystick (for example, when you run 

gmapping function), please insert the joystick receiver USB part into the robot 
computer USB port. 

Please note, it your joystick is not the ROS official website recommended   

model, please install the joystick ROS driver package firstly. 
 
 

 

§2.3 YZ-01 ROS demo instruction:   

 

2.3.1    Do gmapping SLAM to generate a map of your office: 

                  1

Preparing work:

 

Your  desktop  PC  is ready: 

Please  make  sure  your  desktop or  laptop PC 

was  installed  ROS  KINETIC.  Otherwise,  please  install  ROS  on  your  PC 
firstly.  Then  copy  the  rbx1_nav  source  folder  from  robot  PC  to  your 
desktop PC ROS work space src folder, and then on your desktop PC run 
catkin_make command to compile this rbx1_nav package; 

YDLIDAR is connected; 
Joystick is connected; 

                  2

Run gmapping command on your robot PC

Use  SSH  command  to  open  a  SSH  terminal  (password  is  1)  from  your 
desktop PC to remote login robot PC, and then launch: 

$ roslaunch stm32_connect start_basecontrol.launch 

                   

    $ roslaunch rbx1_nav yz_gmapping_by_ydlidar.launch 

                            You can look over the gmapping_

 by_ydlidar.launch

 file and learn more 

details about this launch command. 

                  3

Run RVIZ on your desktop PC ternimal 

                        Due  the  running  robot  has  not  a  monitor  and  SSH  can  not  provide 

graphical remote login, so we need run RVIZ on your desktop PC instead. 
Before  run  RVIZ,  please  let  your  desktop  PC

s  ROS  MASTER  redirect  to 

robot PC ROS core: 

                       

  $ export ROS_MASTER_URI=http://robot IP:11311     

                         

$ rosrun rviz rviz -d `rospack find rbx1_nav`/gmapping.rviz

   

                            If everything OK, you can see some map pixel on the screen. 
                  4)   

Drive robot moving and save map data on your robot PC

 

                          Use  joystick  to  drive  robot  slowly  walking  around  your  office,  until  all 

roads are covered. Then stop robot. 

                            Use SSH to remote login robot PC from your desktop PC, then   
                       

    $ rospackcd rbx1_nav/maps 

                         

  $ rosrun map_server map_saver -f my_map 

                               

my_map

  the  name  of  this  new  map.  You  can  find  this  new  map 

files in rbx1_nav/maps folder. 

Summary of Contents for ROSYZ-01B

Page 1: ...PAGE 1 OF 16 ROSYZ 01B Robot Platform USER MANUAL Rev 2 0 Dec 2019 SHENZHEN YZ ROBOT CO LTD...

Page 2: ...In order to facilitate developers to do in depth research the ROS platform motion control board and DCDC power board circuit diagram and detailed interface drawings we also provide This YZ 01B ROS pl...

Page 3: ...rs Power status RED for POWER ON Operating status RED solid Charging now GREEN flashing normal working RED flashing low battery Emergency Stop Hidden I O cover VGA USB port Portable charger port Auto...

Page 4: ...E 4 OF 16 1 3 ROSYZ 01B Control Board connectors definition CON13 29 32 12 21 11 10 20 15 18 17 8 9 14 25 35 REST RS232 CON27 CON5 28 22 7 GPIO JP4 CON1 CON19 CON16 JP5 CON30 33 31 24 23 2 3 6 4 USB1...

Page 5: ...17 12V output CON8 12V output CON9 12V output CON14 12V output CON25 12V output CON26 12V output isolated CON28 5V output CON22 5V output isolated Communication and others RS232 UART port CON27 Front...

Page 6: ...PAGE 6 OF 16 JP6 GND JP8 VCC JP7 PF7 power on signal PF8 NA PF9 PF10 Auto charging guide signal PE0 PE1 NA PA4 PA5 NA PWM1 PWM2 NA PWM3 NA PWM4 NA...

Page 7: ...ide Please put this charging dock against a flat wall make sure the front of charging dock is empty enough 2 0 meters 120 without any obstacle in this area AC power input port Charging guide sensor Po...

Page 8: ...ssage 3 3 YDLIDAR Optional LIDAR package from EAI 3 4 MIIBOO_IMU Optional IMU package from Miiboo 3 5 RBX1_NAV SLAM and navigation demo 1 6 ROSYZ 01B sensors installed ROSYZ 01B pre installed sensors...

Page 9: ...1 set No battery and decks User decks 1 pc Support pole 4 pc Battery Charger 1 pc P N L200CM 24F8 AC power cord 1 pc Europe type plug M4 Screw 5 pc Screwdriver 1 pc For M4 M6 screw DCDC cable 1 set 8...

Page 10: ...switch is on the back side of top cover see Page 2 After turn on it the power LED will be RED solid then push the ON OFF button the operating status LED will be flashing GREEN If the power LED is not...

Page 11: ...command to open a SSH terminal password is 1 from your desktop PC to remote login robot PC and then launch roslaunch stm32_connect start_basecontrol launch roslaunch rbx1_nav yz_gmapping_by_ydlidar l...

Page 12: ...nch the following command roslaunch rbx1_nav yz_demo_move launch map my_map yaml You can look over the yz_demo_move launch file and learn more details about this launch command 3 Run RVIZ on your desk...

Page 13: ...the power supply interface The wrong wiring will damage the interface board or other devices Make sure that the maximum current used by the device does not exceed the limited current value of the DCD...

Page 14: ...00M 1000M Ethernet Wireless 802 11b g n Combo WLAN BT DCDC provided 5V2A 12V2A 19V4A Move speed 0 1 0 7 m s Maximum load weight 50KG Externa charger 29 4V6A smart charger Auto charging guide Optional...

Page 15: ...remain capacity level 2 3 Topic name Ultrasound_result check ultrasonic obstacle sensor trigger status Topic value cs_obs 0 none obstacle 1 front obstacle 16 rear obstacle 17 front and rear obstacles...

Page 16: ...PAGE 16 OF 16...

Reviews: