-
Notifications
You must be signed in to change notification settings - Fork 1
get_config_msg_for_sc_v1 #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: ros2
Are you sure you want to change the base?
Conversation
|
|
||
| std::vector<uint8_t> output_vector = toDriverMessage.formVector(); | ||
| switch (gui_vector.front()) { | ||
| case //from gui: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
чувствую, ты не билдил))
| */ | ||
| enum DevNames { DEV_LIGHT = 0, DEV_TILT, DEV_GRAB, DEV_GRAB_ROTATE, DEV_ADDITIONAL_1, DEV_ADDITIONAL_2 }; | ||
|
|
||
| struct FromConfigMessage { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RequestConfigMessage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это будет то что приходит с пульта и уходит на стм
|
|
||
| bool parseVector(std::vector<uint8_t> &input); | ||
| }; | ||
| struct ToConfigMessage { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
это дублирование структуры выше?
| for (auto copy : msg->data) { | ||
| inputMessage.data.push_back(copy); | ||
| } | ||
| for (int i = 0; i < ToDriverMessage::length; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вот тут ты два раза наполняешь вектор
…ig, direct. fix some code. success build
No description provided.