This is about building this branch so a simulated config (one without
the araisrobo USB/FPGA hardware) can be run.
Prerequisites
- Install packages for Ubuntu 12.04 (Precise Pangolin)
- sudo apt-get -y install git-core git-doc gitk build-essential autoconf automake libtool libglib2.0-dev eclipse-cdt python-scipy alien fakeroot manpages-dev glibc-doc libx11-dev bison python-dev libusb-1.0-0 python-scipy libpth-dev lyx texlive-extra-utils texlive-latex-recommended texlive-fonts-recommended ghostscript imagemagick texlive-lang-french g++ make libc6-dev tcl8.5-dev tk8.5-dev bwidget cpio libxaw7-dev libncurses5-dev libreadline6-dev xsltproc groff dvipng xsltproc texlive-font-utils python python-dev python-tk libglu1-mesa-dev libgl1-mesa-dev libgtk2.0-dev libgnomeprintui2.2-dev gettext vorbis-tools libusb-1.0-0-dev libboost-python-dev glade-gnome python-gtkglext1 python-gtksourceview2 python-vte python-xlib libmodbus5 libmodbus-dev
- Install libftdi-1.0 and libwou:
- cd ..
- git clone https://github.com/araisrobo/libftdi-1.0.git
- cd libftdi-1.0
- ./autogen.sh
- ./configure
- make
- sudo make install
- cd ..
- sudo ldconfig
- mkdir src
- cd src
- git clone https://github.com/araisrobo/libwou.git
- cd libwou
- ./autogen.sh
- ./configure
- make
- sudo make install
- # Add /usr/local/lib to shared library search path
- # You might want to add the following line to ~/.bashrc
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- git clone https://github.com/araisrobo/linuxcnc.git linuxcnc-araisrobo
- cd linuxcnc-araisrobo
- git checkout develop # current development branch (2013-11-10)
- cd src
- ./autogen.sh
- ./configure --enable-simulator --enable-build-documentation=no
- make -j`getconf _NPROCESSORS_ONLN`
Run the axis_mm.ini with simulation mode :
- . ../scripts/rip-environment
- cd ../configs/sim/axis
- linuxcnc axis_mm.ini
Run the rigid tapping config supplied by [araisrobo]:
- . ../scripts/rip-environment
- cd ../configs/araisrobo/miller
- linuxcnc miller.ini
Notes (by Michael)
I understand this branch is based on joints_axes3.
The branch was pre-rename (emc2 to linuxcnc).
I'm not saying spindle-synchronized moves work - I'm just saying the code compiles.
- Michael