ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
2 | No.2 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
3 | No.3 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
4 | No.4 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
on line 6, as I pointed out. The message /home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory
means that it's looking for a directory //std_msgs
which would make sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
5 | No.5 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp:
//std_msgs
which would make makes
sense if it thinks that it's part of theinclude
statement on line 6. Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
6 | No.6 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
"
on line 6, as I pointed out. The
`/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory` means that it's looking for a directory `//std_msgs`
makes sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
7 | No.7 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
on line 6, as I pointed out. The message
`/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory` directory`
means that it's looking for a directory makes `//std_msgs`
//std_msgs
which would make sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
8 | No.8 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
on line 6, as I pointed out. The message
`/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory`
means that it's looking for a directory //std_msgs
which would make sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
9 | No.9 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
on line 6, as I pointed out. The message
`/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory`
means that it's looking for a directory //std_msgs
which would make sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
Edit 3:
You're mixing up data types. Your calback function encoderCallback
is expecting a data type of surp::Int32Stamped
while your subscriber is expecting surp::Int32
.
The error in your comment gives this away. The error in your question is unrelated. You should update your question with the full terminal output. That's the best way to get help from everyone.
10 | No.10 Revision |
Line 6 is missing a closing quotation mark:
#include "surp/Int32Stamped.h
should be
#include "surp/Int32Stamped.h"
Edit:
You're asking a lot of questions in one question. Perhaps asking new, separate questions will get more responses. A couple of Google searches turned up these links for issues regarding "best practices":
The question "how do I write my own controllers?" is very general and difficult to answer. Try to narrow it down a bit and ask a new question.
Edit 2:
Are you sure that you've updated your code and re-compiled it? Your repo still shows the same code missing the closing "
on line 6, as I pointed out. The message
`/home/rmb/gopigo_ws/src/pd_controller/src/pd_controller.cpp: line 9: //std_msgs: No such file or directory`
means that it's looking for a directory //std_msgs
which would make sense if it thinks that it's part of the include
statement on line 6.
Either you haven't updated and re-compiled your code or you're not copying and pasting the entire contents of the output of the terminal.
Edit 3:
You're mixing up data types. Your publisher has the surp::Int32Stamped
data type, your calback function encoderCallback
is expecting a data type of surp::Int32Stamped
in its argument while your subscriber is expecting saying that the data type will be surp::Int32
. .
The error in your comment gives this away. The error in your question is unrelated. You should update your question with the full terminal output. That's the best way to get help from everyone.