getting_started:deploy:deploy_cb20
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:deploy:deploy_cb20 [2021/03/29 17:52] – [Running your Application] ursgraf | getting_started:deploy:deploy_cb20 [2023/04/13 11:21] (current) – [Deploying] ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Preparations ===== | ===== Preparations ===== | ||
+ | |||
+ | Fetch the [[https:// | ||
+ | $ git clone https:// | ||
+ | $ cd eeros-build-scripts | ||
+ | $ git checkout sdk_cb20 | ||
+ | </ | ||
The file '' | The file '' | ||
< | < | ||
- | target_IP_address=es140.ntb.ch // use appropriate ip number or name | + | target_IP_address=146.136.100.8 // use appropriate ip number or name |
target_username=ost | target_username=ost | ||
target_application_folder=/ | target_application_folder=/ | ||
Line 15: | Line 21: | ||
Next, edit '' | Next, edit '' | ||
< | < | ||
- | build-armhf/ | + | ../ |
- | build-armhf/ | + | ../ |
</ | </ | ||
If you wrote your own [[getting_started: | If you wrote your own [[getting_started: | ||
< | < | ||
- | build-armhf/hello/helloworld | + | ../hello/build-armhf/ |
</ | </ | ||
Line 32: | Line 38: | ||
$ ssh ost@es140.ntb.ch | $ ssh ost@es140.ntb.ch | ||
</ | </ | ||
- | For credentials see [[https:// | + | For credentials see [[https:// |
Change into your target application folder and run the example < | Change into your target application folder and run the example < | ||
Line 41: | Line 47: | ||
</ | </ | ||
+ | ===== Running your Application which is a ROS Node ===== | ||
+ | Be sure to setup your network settings according to [[getting_started: | ||
+ | export ROS_MASTER_URI=http:// | ||
+ | </ | ||
+ | Add the following line to your ''/ | ||
+ | 192.168.7.2 | ||
+ | </ | ||
+ | Run your application with < | ||
+ | $ sudo -E ./ | ||
+ | </ | ||
+ | ===== Running the Built-in Examples of EEROS ===== | ||
- | The flink utilities are only used for testing | + | Running |
- | If you did not include the application [[https:// | + | $ sudo /usr/examples/ |
- | < | + | |
- | install-armhf/lib/libeeros.so.1.2.0.0 | + | |
- | + | ||
- | build-armhf/helloworld | + | |
</ | </ | ||
- | Obviously, this application does not make use of a hardware configuration file. | ||
- | Finally, load them onto the target with | ||
- | < | ||
- | $ ./deploy.sh | ||
- | </ | ||
- | ===== CANopen | + | ===== flink ===== |
- | If you have configured you EEROS project with CANopen, the library will have been fetched and compiled automatically. It will have been statically linked to your appplication and there is no need to transfer is to the target. | + | |
+ | The flink utilities can be used for testing the experimental setup as given in [[getting_started: | ||
- | ===== Set Library Links ===== | + | ===== CANopen |
- | The system must find the eeros and hardware wrapper libraries to dynamically load them. The following symbolic links must be created once. | + | Make sure to fetch the CANopen library, see [[https:// |
- | < | ||
- | ntb@cb20:$ cd /usr/lib/ | ||
- | ntb@cb20:$ sudo ln -s / | ||
- | ntb@cb20:$ sudo ln -s / | ||
- | ntb@cb20:$ sudo ln -s libflinkeeros.so.1.0.0.0 libflinkeeros.so | ||
- | ntb@cb20:$ sudo ln -s / | ||
- | ntb@cb20:$ sudo ln -s libeeros.so.1.2.0.0 libeeros.so | ||
- | </ | ||
- | IMPORTANT Make sure the version information (....so.1.2.0.0) is not outdated! If you use newer versions of the libraries as given in '' | ||
getting_started/deploy/deploy_cb20.1617033147.txt.gz · Last modified: 2021/03/29 17:52 by ursgraf