config.sh.in contains entries for the destination of deploying.
target_IP_address=es140.ntb.ch // use appropriate ip number or name target_username=ost target_application_folder=/home/ost/
deploy.txt on the host in your project directory and enter the application program you want to transfer together with the necessary hardware configuration file, e.g.
If you wrote your own Say Hello with EEROS the file would look like
Finally, load them onto the target with
ssh into the board with
$ ssh email@example.com
For credentials see cb20.
Change into your target application folder and run the example
$ cd bin $ ./helloworld or $ sudo ./simpleMotorControl -c HwConfigBBBlue.json
Be sure to setup your network settings according to Network Setup. Set the environment variable
ROS_MASTER_URI in your shell with
Add the following line to your
/etc/hosts file (under Ubuntu)
Run your application with
$ sudo -E ./application
Running the built-in examples of EEROS as given in the tutorial pages in Tutorials is quite simple, e.g.
$ sudo /usr/examples/rtTest/rtTest
The flink utilities can be used for testing the experimental setup as given in Experimental Setup with a cb20 Board.
Make sure to fetch the CANopen library, see https://github.com/eeros-project/eeros-build-scripts. The library has to be compiled and linked statically to your application. There is no need to transfer is to the target separately.