We provide tutorials to learn applying and using the SmartMDSD Toolchain for GoPiGo3 Robot. We recommend to go through the material in the listed order. Some basic tutorials are referred for details.
In addition, note our list of HowTo's that provide very precise and short descriptions of a specific task in the SmartMDSD Toolchain.
In this lesson one, we guide you through first examples of running SmartMDSD on GoPiGo3 Robot. GoPiGo3 Kit comes with basic hardware and components, few sensors would need to order seperately. Please follow the GoPiGo3 Site description for Assembly of GoPiGo3 :
As you would coding the GoPiGo3, you would be needing Raspbian for Robots And setup instructions can be found at :
A mentioned link has the link for step by step installation of the Operating System.
https://www.dexterindustries.com/howto/install-raspbian-for-robots-image-on-an-sd-card/
The link for Operating system image (summarizing again)( Sourceforge ) :
https://sourceforge.net/projects/dexterindustriesraspbianflavor/
As per the given instruction, you will need to install Etcher to burn the image on the SD card.
Expectation : you have Operating System image flashed on SD card and You have inserted the SD card in Raspberry pi.
Follow the Tutorial for installing SmartMDSD Toolchain As GoPiGo3 is using Raspberry pi, installation is identical.
clone the repository on the computer :
git clone pi@10.36.32.131:/home/pi/SOFTWARE/MyBackups
OR clone the repository on the computer :
git clone XYXYXY/home/pi/SOFTWARE/MyBackups
Either you can create a repository on Gopigo and clone it on your computer OR You can create a repository on Computer and clone it on Gopigo
Create a repository on Gopigo itself which would help in sharing and Compiling of Components
git init --bare --shared=group git add . git commit -m "msg" git push
Home/SOFTWARE/smartsoft/ ./startSmartSoftNamingService Home/SOFTWARE/GoPiGo_repository/ComponentGoPiGoBase/smartsoft/build rm -rf * cmake .. make ./ComponentGoPiGoBase
If GoPiGo3 is moving, You are ready add your own customized code in Components.
Home/SOFTWARE/smartsoft/ ./startSmartSoftNamingService Home/SOFTWARE/GoPiGo_repository/ComponentGoPiGoBase/smartsoft/build rm -rf * cmake .. make ./ComponentGoPiGoBase
External Library Dependencies : Gopigo.h - according to version GoPiGo.h can be included.
https://github.com/DexterInd/GoPiGo3
git clone https://github.com/DexterInd/GoPiGo3
I have used following commands to enable disable the usb RFID (this will prevent the printing of RFID tag on console)
$ xinput --list | grep -- "Barcode" | grep -oP 'id[^[:blank:]]*' | sed 's/[^0-9]*//g' $ xinput set-int-prop 6 "Device Enabled" 8 0
rm -rf * cmake .. make
But do not start the run.
Once you compile the Domain Models and Components, you would need to copy the binaries.