getting_started:compile_eeros_host
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:compile_eeros_host [2021/03/17 14:43] – ursgraf | getting_started:compile_eeros_host [2024/11/15 09:42] (current) – ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compile on the Host ====== | ====== Compile on the Host ====== | ||
- | After having downloaded the code you can now compile EEROS together with necessary libraries. Set the build and install directories to meaningful names. E.g. if you develop | + | Back to [[getting_started: |
+ | |||
+ | Fetch the [[https:// | ||
+ | $ git clone https:// | ||
+ | $ cd eeros-project | ||
+ | $ git checkout host | ||
+ | </ | ||
+ | |||
+ | Edit the '' | ||
< | < | ||
- | install_dir=" | + | use_simulator=true |
- | build_dir=" | + | use_can=false |
+ | use_comedi=false | ||
+ | use_ros=false | ||
+ | use_ros2=false | ||
</ | </ | ||
+ | This will build EEROS without the ROS and CAN examples but together with the simulator. If you have ROS2 installed and want to build the ROS examples, change the '' | ||
+ | < | ||
+ | use_simulator=true | ||
+ | use_can=false | ||
+ | use_comedi=false | ||
+ | use_ros=false | ||
+ | use_ros2=true | ||
+ | |||
+ | ros_setup_script=/ | ||
+ | </ | ||
+ | The last line must point to your ROS installation path. In general this will be ''/ | ||
+ | |||
+ | If you want to use ROS1, change the '' | ||
+ | < | ||
+ | use_simulator=true | ||
+ | use_can=false | ||
+ | use_comedi=false | ||
+ | use_ros=true | ||
+ | use_ros2=false | ||
+ | |||
+ | ros_setup_script=/ | ||
+ | </ | ||
+ | Further, when using ROS1, search for the line < | ||
+ | and change it into < | ||
+ | |||
+ | If you want to use EEROS with a CAN bus change the '' | ||
+ | < | ||
+ | use_simulator=false | ||
+ | use_can=true | ||
+ | use_comedi=false | ||
+ | use_ros=false | ||
+ | use_ros2=false | ||
+ | </ | ||
+ | |||
+ | [[http:// | ||
+ | If you want to use EEROS with [[http:// | ||
+ | < | ||
+ | use_simulator=true | ||
+ | use_can=false | ||
+ | use_comedi=true | ||
+ | use_ros=false | ||
+ | use_ros2=false | ||
+ | </ | ||
+ | |||
+ | Now you can run the '' | ||
+ | < | ||
+ | $ ./clone.sh | ||
+ | </ | ||
+ | |||
+ | |||
+ | After having downloaded the code you can now compile EEROS together with necessary libraries. The build and install directories are set in '' | ||
+ | < | ||
+ | install_dir=" | ||
+ | build_dir=" | ||
+ | </ | ||
+ | Change this setting if you want to choose different build and install directories. | ||
- | If you use ROS you have to make sure to take necessary steps as given in [[getting_started: | ||
After this you proceed with | After this you proceed with | ||
< | < | ||
Line 16: | Line 82: | ||
This will put all the executables into the build directory you have chosen and the compiled libraries together with the header files into the install directory. Please keep in mind that build and install directory are both defined in '' | This will put all the executables into the build directory you have chosen and the compiled libraries together with the header files into the install directory. Please keep in mind that build and install directory are both defined in '' | ||
- | Continue with [[getting_started: | + | Continue with [[getting_started: |
getting_started/compile_eeros_host.1615988584.txt.gz · Last modified: 2021/03/17 14:43 by ursgraf