Skip to content

Plugin to update some parameters of a robot model live or from configuration

Notifications You must be signed in to change notification settings

Hugo-L3174/mc_robot_model_update

 
 

Repository files navigation

mc_rtc new plugin template

This project is a template for a new plugin wihtin mc_rtc

It comes with:

  • a CMake project that can build a plugin for mc_rtc, the project can be put within mc_rtc source-tree for easier updates
  • clang-format files
  • automated GitHub Actions builds on three major platforms

Quick start

  1. Renaming the controller from NewPlugin to MyPlugin. In a shell (Git Bash on Windows, replace sed with gsed on macOS):
sed -i -e's/NewPlugin/RobotModelUpdate/g' `find src etc tests -type f`
git mv src/NewPlugin.cpp src/RobotModelUpdate.cpp
git mv src/NewPlugin.h src/RobotModelUpdate.h
git mv etc/NewPlugin.in.yaml etc/RobotModelUpdate.in.yaml
  1. You can customize the project name in vcpkg.json as well, note that this must follow vcpkg manifest rules

  2. Build and install the project

  3. Run using your mc_rtc interface of choice, add MyPlugin to the Plugins configuration entry or enable the autoload option

About

Plugin to update some parameters of a robot model live or from configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.0%
  • CMake 5.0%