SlideShare a Scribd company logo
CSE5037 Robotics-II
- 1 -
Getting Started with Robonova
Important information:
You should have the setup file with you in form of the complete folder provided in the CD.
I am going to refer to the folder G:Robonova CD for all future setup locations.
Installing VMware:
The first step is to install VMware workstation to install a virtual machine on your PC.
Go to the Tools folder G:Robonova CDTools and then G:Robonova CDToolsVMwarePlayer to get
the installation file.
Install the file and run VMware for non-professional use and it will not require any license.
You can also use the latest edition of VMware available on the internet.
The GUI will look like this on successful installation.
Here, I have already installed a virtual machine Ubuntu 64 bit. You can install multiple virtual machines
using this workstation.
CSE5037 Robotics-II
- 2 -
Installing Ubuntu:
Hanback has already given a setup of custom made Ubuntu 10 with preinstalled packages required for code
compilations. The setup is available at G:Robonova CDimagesVM_Ubuntu .
Double click on VM_Ubuntu.exe and run the program.
You can change the installation location and then press the first button which was already highlighted.
The setup will complete the installation in a few minutes and close. Keep the VMware workstation closed
while installing Ubuntu. This step has installed a virtual machine having Ubuntu 10 and all the packages
on our given location.
Now, open VMware workstation and click on Open a virtual machine. I had installed my virtual machine
to the location C:Users6DocumentsVirtual Machines and now you should browse to
C:Users6DocumentsVirtual MachinesVM_Ubuntu and select Ubuntu.vmx file to open the virtual
machine. The VMware workstation will have the following look now.
CSE5037 Robotics-II
- 3 -
Then you should click on Play virtual machine and the OS will start loading. While loading, if asked for
Click on I copied it. On successful booting, you’ll find the login screen.
We suggest you to select other user and login with the following credentials:
User name: root
Password: hanback
Even if you use VM_Ubuntu, then also the password is hanback.
CSE5037 Robotics-II
- 4 -
Running the first code:
Connect a USB drive containing the folder Book_Exam from the location G:Robonova CD and connect
to your PC. Then you should select connect to a virtual machine option to connect your USB drive to the
virtual machine.
And copy the folder to the Desktop location of the virtual machine.
CSE5037 Robotics-II
- 5 -
Now, open terminal and browse to the folder 5.2
The folder contains already compiled code with object file Hello already created.
Before we can compile our own code, we need to setup the cross compiler.
Setup Cross Compiler.
The codes will be compiled with arm-linux-gcc compiler.
The instructions are given on page 62 of the book as well.
First of all, we need to know the version of our arm compiler.
Type the command ls /usr/local/arm
And it will show that the version is arm-209q3
Then we need to edit the .bash_profile file of our profile to set the PATH.
Type command vi ~/.bash_profile
And then in the file write
export PATH=/usr/local/arm/arm-2009q3/bin:$PATH
and save and exit the file.
Then to set the PATH in the current session type:
source ~/.bash_profile
Now we are ready to compile our codes.
To compile the code, we have to type the command make.
If there is no change in the exisiting codes then you will get the following message.
To compile again, delete Hello file and make again.
CSE5037 Robotics-II
- 6 -
Now we can run the code with the command ./Hello
These files will not run in Ubuntu here and need to be transferred to the Robonova robot where these can
be executed.
Setup minicom for Robonova connection.
minicom is used to connect Robonova with Ubuntu through serial port communication of the Bluetooth
device. Connect your Bluetooth dongle to the PC and then connect it to the virtual machine. To check the
devices connected to the machine we use the command
ls /dev/tty*
This will show ttyUSB0 only when we connect the Bluetooth dongle.
And after connecting the dongle.
Now, first of all, we need to configure the serial port communication of minicom with command
sudo minicom –s
CSE5037 Robotics-II
- 7 -
Select Serial port setup and make sure that you have the following configurations.
Now exit the configuration and you’ll be connected to the Robonova robot. If the screen doesn’t show
anything, then restart the robot. The Robot will ask for the login credential and enter root when asked for.
Then you’ll get the welcome screen.
We can now transfer our compiled executable files to Robonova and run those using this terminal. I have
created a directory Testcodes to transfer such codes and run them.
To transfer a file from VM_Ubuntu 10 to Robonova, use the command lrz
After that press ctrl+a and then s (press z for all the options). Then select zmodem option and press enter.
CSE5037 Robotics-II
- 8 -
Using space and enter buttons select the file to be transferred and press enter to transfer. Remember, that if
your current folder already has the same file name, then it will not transfer. Therefor you should first delete
the existing file and then transfer.
The folder contains the uploaded file now. We can see that using the command ls. And run the executable
file with ./Hello
So, the Robonova terminal will print Hello World.
This way we can compile other programs in VM_Ubuntu using make command and then bring them to
Robonova using lrz and run on Robonova.

More Related Content

PPTX
Command-Line 101
PDF
Command line for the beginner - Using the command line in developing for the...
DOCX
Adding System Call to Kernel
PDF
PPTX
Batch FIles
PDF
Putty
DOC
Dos lesson 11
PDF
BeagleBone_Black
Command-Line 101
Command line for the beginner - Using the command line in developing for the...
Adding System Call to Kernel
Batch FIles
Putty
Dos lesson 11
BeagleBone_Black

What's hot (18)

PDF
linux-commandline-magic-Joomla-World-Conference-2014
PPT
Batch file programming
PDF
2.Accessing the Pi
PPTX
Terminal commands ubuntu 2
PDF
Ms dos boot process
PPT
Writing a Simple OS for Fun
PPTX
ppt on cmd cammand
PPTX
Batch programming and Viruses
ODP
Ubuntu Terminal
PPTX
Linux Basic commands and VI Editor
DOC
6 stages of linux boot process
PPT
Divya
PPT
Divya
DOCX
الفصل الثاني حاسبات
linux-commandline-magic-Joomla-World-Conference-2014
Batch file programming
2.Accessing the Pi
Terminal commands ubuntu 2
Ms dos boot process
Writing a Simple OS for Fun
ppt on cmd cammand
Batch programming and Viruses
Ubuntu Terminal
Linux Basic commands and VI Editor
6 stages of linux boot process
Divya
Divya
الفصل الثاني حاسبات
Ad

Similar to Getting started with robonova in ubuntu (20)

ODP
The Deck by Phil Polstra GrrCON2012
PDF
Hacking and Forensics on the Go - 44CON 2012
PDF
Polstra 44con2012
ODP
Os Grossupdated
PPTX
Getting started with coding for Jolla Sailfish OS. 29 Mar 2014, Tampere, Finland
PDF
BeagleBone Black: Platform Bring-Up with Upstream Components
PDF
Medooze MCU Video Multiconference Server Installation and configuration guide...
PDF
Instructions for Use of the Renesas C Compiler for the Robo Interface
PDF
C&C Botnet Factory
PDF
ROS2 on WebOS - Brian Shin(LG)
PPT
Introduction to robotics part 1 (Lego NXT
PPTX
Embedded C programming session10
PDF
G017534144
PDF
C programming session10
PPTX
Final project CEIS 106
PDF
Building Embedded Systems With Embedded Linux Roronoa Hatake
PDF
maXbox Starter 45 Robotics
ODT
Howtoinstallarchlinuxtousb final-120610172253-phpapp01
PDF
Module 4 Embedded Linux
PDF
Building a Remote Control Robot with Automotive Grade Linux
The Deck by Phil Polstra GrrCON2012
Hacking and Forensics on the Go - 44CON 2012
Polstra 44con2012
Os Grossupdated
Getting started with coding for Jolla Sailfish OS. 29 Mar 2014, Tampere, Finland
BeagleBone Black: Platform Bring-Up with Upstream Components
Medooze MCU Video Multiconference Server Installation and configuration guide...
Instructions for Use of the Renesas C Compiler for the Robo Interface
C&C Botnet Factory
ROS2 on WebOS - Brian Shin(LG)
Introduction to robotics part 1 (Lego NXT
Embedded C programming session10
G017534144
C programming session10
Final project CEIS 106
Building Embedded Systems With Embedded Linux Roronoa Hatake
maXbox Starter 45 Robotics
Howtoinstallarchlinuxtousb final-120610172253-phpapp01
Module 4 Embedded Linux
Building a Remote Control Robot with Automotive Grade Linux
Ad

Recently uploaded (20)

PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Computing-Curriculum for Schools in Ghana
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Introduction to Building Materials
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
HVAC Specification 2024 according to central public works department
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Trump Administration's workforce development strategy
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
AI-driven educational solutions for real-life interventions in the Philippine...
Computing-Curriculum for Schools in Ghana
Practical Manual AGRO-233 Principles and Practices of Natural Farming
What if we spent less time fighting change, and more time building what’s rig...
Introduction to Building Materials
Paper A Mock Exam 9_ Attempt review.pdf.
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
HVAC Specification 2024 according to central public works department
Introduction to pro and eukaryotes and differences.pptx
Weekly quiz Compilation Jan -July 25.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Virtual and Augmented Reality in Current Scenario
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Trump Administration's workforce development strategy
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Hazard Identification & Risk Assessment .pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf

Getting started with robonova in ubuntu

  • 1. CSE5037 Robotics-II - 1 - Getting Started with Robonova Important information: You should have the setup file with you in form of the complete folder provided in the CD. I am going to refer to the folder G:Robonova CD for all future setup locations. Installing VMware: The first step is to install VMware workstation to install a virtual machine on your PC. Go to the Tools folder G:Robonova CDTools and then G:Robonova CDToolsVMwarePlayer to get the installation file. Install the file and run VMware for non-professional use and it will not require any license. You can also use the latest edition of VMware available on the internet. The GUI will look like this on successful installation. Here, I have already installed a virtual machine Ubuntu 64 bit. You can install multiple virtual machines using this workstation.
  • 2. CSE5037 Robotics-II - 2 - Installing Ubuntu: Hanback has already given a setup of custom made Ubuntu 10 with preinstalled packages required for code compilations. The setup is available at G:Robonova CDimagesVM_Ubuntu . Double click on VM_Ubuntu.exe and run the program. You can change the installation location and then press the first button which was already highlighted. The setup will complete the installation in a few minutes and close. Keep the VMware workstation closed while installing Ubuntu. This step has installed a virtual machine having Ubuntu 10 and all the packages on our given location. Now, open VMware workstation and click on Open a virtual machine. I had installed my virtual machine to the location C:Users6DocumentsVirtual Machines and now you should browse to C:Users6DocumentsVirtual MachinesVM_Ubuntu and select Ubuntu.vmx file to open the virtual machine. The VMware workstation will have the following look now.
  • 3. CSE5037 Robotics-II - 3 - Then you should click on Play virtual machine and the OS will start loading. While loading, if asked for Click on I copied it. On successful booting, you’ll find the login screen. We suggest you to select other user and login with the following credentials: User name: root Password: hanback Even if you use VM_Ubuntu, then also the password is hanback.
  • 4. CSE5037 Robotics-II - 4 - Running the first code: Connect a USB drive containing the folder Book_Exam from the location G:Robonova CD and connect to your PC. Then you should select connect to a virtual machine option to connect your USB drive to the virtual machine. And copy the folder to the Desktop location of the virtual machine.
  • 5. CSE5037 Robotics-II - 5 - Now, open terminal and browse to the folder 5.2 The folder contains already compiled code with object file Hello already created. Before we can compile our own code, we need to setup the cross compiler. Setup Cross Compiler. The codes will be compiled with arm-linux-gcc compiler. The instructions are given on page 62 of the book as well. First of all, we need to know the version of our arm compiler. Type the command ls /usr/local/arm And it will show that the version is arm-209q3 Then we need to edit the .bash_profile file of our profile to set the PATH. Type command vi ~/.bash_profile And then in the file write export PATH=/usr/local/arm/arm-2009q3/bin:$PATH and save and exit the file. Then to set the PATH in the current session type: source ~/.bash_profile Now we are ready to compile our codes. To compile the code, we have to type the command make. If there is no change in the exisiting codes then you will get the following message. To compile again, delete Hello file and make again.
  • 6. CSE5037 Robotics-II - 6 - Now we can run the code with the command ./Hello These files will not run in Ubuntu here and need to be transferred to the Robonova robot where these can be executed. Setup minicom for Robonova connection. minicom is used to connect Robonova with Ubuntu through serial port communication of the Bluetooth device. Connect your Bluetooth dongle to the PC and then connect it to the virtual machine. To check the devices connected to the machine we use the command ls /dev/tty* This will show ttyUSB0 only when we connect the Bluetooth dongle. And after connecting the dongle. Now, first of all, we need to configure the serial port communication of minicom with command sudo minicom –s
  • 7. CSE5037 Robotics-II - 7 - Select Serial port setup and make sure that you have the following configurations. Now exit the configuration and you’ll be connected to the Robonova robot. If the screen doesn’t show anything, then restart the robot. The Robot will ask for the login credential and enter root when asked for. Then you’ll get the welcome screen. We can now transfer our compiled executable files to Robonova and run those using this terminal. I have created a directory Testcodes to transfer such codes and run them. To transfer a file from VM_Ubuntu 10 to Robonova, use the command lrz After that press ctrl+a and then s (press z for all the options). Then select zmodem option and press enter.
  • 8. CSE5037 Robotics-II - 8 - Using space and enter buttons select the file to be transferred and press enter to transfer. Remember, that if your current folder already has the same file name, then it will not transfer. Therefor you should first delete the existing file and then transfer. The folder contains the uploaded file now. We can see that using the command ls. And run the executable file with ./Hello So, the Robonova terminal will print Hello World. This way we can compile other programs in VM_Ubuntu using make command and then bring them to Robonova using lrz and run on Robonova.