Home | Tutorials | Wiki | Issues
Ask Your Question

missx's profile - activity

2016-05-09 11:49:49 -0500 received badge  Famous Question (source)
2016-04-26 15:13:22 -0500 commented answer PID controller value exceeds CmdMax/Min value

yea, you're right. with minimum 0 it doesn't work. thanks! and with maximum - my bad - output value has never reached it

2016-04-26 14:53:51 -0500 received badge  Scholar (source)
2016-04-26 14:52:49 -0500 received badge  Supporter (source)
2016-04-26 14:52:13 -0500 received badge  Notable Question (source)
2016-04-26 02:22:53 -0500 received badge  Popular Question (source)
2016-04-23 16:41:53 -0500 asked a question PID controller value exceeds CmdMax/Min value

I initialize my PID controller with specific max and min values:

common::PID posPID;

posPID.Init(0.01, 0.1, 1.0, 1.0, 0.0, 200.0, 0.0);

and when I do

posPID.Update(desiredVel - _spindle.angVel, _stepTime);

the value it returns can be negative or bigger than 200

Any hints what might be the problem?

2016-02-03 08:28:58 -0500 received badge  Enthusiast
2016-01-30 13:35:22 -0500 received badge  Editor (source)
2016-01-30 13:34:51 -0500 asked a question Can't register plugin, error when compiling

I wrote my own plugin, but when I try to compile it, I get following errors:

/my_plugin_folder/MyPlugin.cc error: expected type-specifier before 'MyPlugin'
    GZ_REGISTER_MODEL_PLUGIN(MyPlugin);

/my_plugin_folder/MyPlugin.cc error: expected ';' before 'MyPlugin'
    GZ_REGISTER_MODEL_PLUGIN(MyPlugin);

/gazebo/common/Plugin.hh error: 'MyPlugin' was not declared in this scope
    return new classname();

Any suggestions, what could be my mistake?

2016-01-28 23:10:42 -0500 received badge  Famous Question (source)
2016-01-26 12:50:28 -0500 received badge  Student (source)
2016-01-26 12:45:30 -0500 received badge  Notable Question (source)
2016-01-26 09:08:02 -0500 received badge  Popular Question (source)
2016-01-25 15:05:48 -0500 asked a question How to add a DC motor to my model?

Help the beginner:

Is it possible to add a DC motor to my sdf model? Do I have to write a plugin for that?