ICube-Robotics / mosek_vendor_ros2

Vendor package to use the solver MOSEK in ROS2 applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mosek_vendor_ros2

Vendor package to use the solver MOSEK in ROS2 applications.

Mosek version: 10.1.16.

Tested with a Humble ROS distribution only (Ubuntu 22.04 LTS)

Build tests

Installation

  1. Install the package
cd <ros_ws>/src
git clone <this_repos>
cd ..
colcon build
  1. Get a license

Note that a license is mandatory to run MOSEK. See the website for the detailed procedure.

The file mosek.lic you will obtain has to be copied to your personal home folder in ~/mosek/mosek.lic.

Usage example

package.xml :

...
<depend>mosek_vendor_ros2</depend>
...

CMakeLists.txt :

...
find_package(mosek_vendor_ros2)
...
ament_target_dependencies(<the_target> <type> mosek_vendor_ros2)
...

xxx.cpp :

#include <mosek_vendor_ros2/fusion.h>

About

Vendor package to use the solver MOSEK in ROS2 applications.

License:Apache License 2.0


Languages

Language:CMake 100.0%