23 #ifndef __TOOLS_CONFIG_EDITOR_NAOSTIFFNESS_CONFIG_PLUGIN_H_ 24 #define __TOOLS_CONFIG_EDITOR_NAOSTIFFNESS_CONFIG_PLUGIN_H_ 26 #include "config_editor_plugin.h" 66 const Glib::RefPtr<Gtk::Builder> &builder);
80 Gtk::SpinButton *__hy;
81 Gtk::SpinButton *__hp;
83 Gtk::SpinButton *__lsp;
84 Gtk::SpinButton *__rsp;
85 Gtk::SpinButton *__lsr;
86 Gtk::SpinButton *__rsr;
87 Gtk::SpinButton *__ley;
88 Gtk::SpinButton *__rey;
89 Gtk::SpinButton *__ler;
90 Gtk::SpinButton *__rer;
92 Gtk::SpinButton *__lhyp;
93 Gtk::SpinButton *__rhyp;
94 Gtk::SpinButton *__lhr;
95 Gtk::SpinButton *__rhr;
96 Gtk::SpinButton *__lhp;
97 Gtk::SpinButton *__rhp;
98 Gtk::SpinButton *__lkp;
99 Gtk::SpinButton *__rkp;
100 Gtk::SpinButton *__lar;
101 Gtk::SpinButton *__rar;
102 Gtk::SpinButton *__lap;
103 Gtk::SpinButton *__rap;
105 Gtk::CheckButton *__def;
106 Gtk::CheckButton *__lck;
107 std::vector<sigc::connection> __connections;
109 Gtk::ComboBox *__bhv;
110 std::string __cur_bhv;
112 sigc::slot<void> __load_vals;
122 virtual void pre_run();
123 virtual void post_run(
int response);
125 virtual Gtk::Dialog* load_dialog();
128 virtual void load_vals();
129 virtual void save_vals();
float rhyp
right hip yaw/pitch
float rkp
right knee pitch
virtual std::string get_cur_behaviour()
Return currently selected behaviour.
Config dialog of the config editor plugin for the nao joint stiffnesses.
virtual ~NaoStiffnessConfigDialog()
Destructor.
float rer
right elbow roll
float rar
right ankle roll
NaoStiffnessConfigDialog(BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &builder)
Constructor.
virtual void on_checkbutton_lock_toggled()
Lock checkbox toggled handler.
float rsp
right shoulder pitch
float lap
left ankle pitch
float rsr
right shoulder roll
virtual void on_combobox_behaviour_changed()
Behaviour combobox changed handler.
virtual void set_load_vals(sigc::slot< void > cb)
Set the callback function for loading values in the plugin.
float lsp
left shoulder pitch
float lsr
left shoulder roll
Config editor plugin for the Nao joint stiffness values.
virtual void get_stiffnesses(nao_stiffnesses &vals)
Get joint stiffness values from the dialog.
Base class for plugins for the Fawkes config editor.
virtual bool get_save_default()
Return whether default checkbox is checked.
float lhyp
left hip yaw/pitch
float rap
right ankle pitch
virtual void set_stiffnesses(const nao_stiffnesses &vals)
Set joint stiffness values in the dialog.