Skip to content

Commit

Permalink
chore: fix syntax errors (#15474)
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc authored Jul 26, 2024
1 parent 6edbb1f commit bf25834
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cyber/examples/service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) {
while (apollo::cyber::OK()) {
auto res = client->SendRequest(driver_msg);
if (res != nullptr) {
AINFO << "client: responese: " << res->ShortDebugString();
AINFO << "client: response: " << res->ShortDebugString();
} else {
AINFO << "client: service may not ready.";
}
Expand Down
2 changes: 1 addition & 1 deletion cyber/mainboard/module_argument.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void ModuleArgument::DisplayUsage() {
<< " --plugin=plugin_description_file_path: the description file of "
"plugin\n"
<< " --disable_plugin_autoload : default enable autoload "
"mode of plugins, use disable_plugin_autoload to ingore autoload\n"
"mode of plugins, use disable_plugin_autoload to ignore autoload\n"
<< "Example:\n"
<< " " << binary_name_ << " -h\n"
<< " " << binary_name_ << " -d dag_conf_file1 -d dag_conf_file2 "
Expand Down
2 changes: 1 addition & 1 deletion cyber/node/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TimerComponent;
* A module can have different types of communication by defining
* read/write and/or service/client in a node.
* @warning Duplicate name is not allowed in topo objects, such as node,
* reader/writer, service/clinet in the topo.
* reader/writer, service/client in the topo.
*/
class Node {
public:
Expand Down
2 changes: 1 addition & 1 deletion cyber/node/reader_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class ReaderBase {
/**
* @brief One Channel is related to one Receiver.
* ReceiverManager is in charge of attaching one Receiver to its responding
* Channel. We pass a DataDispatche's callback func to this Receiver so when a
* Channel. We pass a DataDispatcher's callback func to this Receiver so when a
* message is received, it will be push to the `ChannelBuffer`, and
* `DataVisitor` will `Fetch` data and pass to `Reader`'s callback func
*
Expand Down
2 changes: 1 addition & 1 deletion cyber/parameter/parameter_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ParameterClient {
* @brief Set the Parameter object
*
* @param parameter parameter to be set
* @return true set parameter succues
* @return true set parameter success
* @return false 1. call service timeout
* 2. parameter not exists
* The corresponding log will be recorded at the same time
Expand Down

0 comments on commit bf25834

Please sign in to comment.