mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 09:55:15 +02:00
Co-authored-by: Your Name <you@example.com>
(cherry picked from commit 69f17c28a8)
Co-authored-by: Pablo Garrido <pablogs9@gmail.com>
This commit is contained in:
co-authored by
Pablo Garrido
parent
6047f7135d
commit
d1e851ba4e
@@ -27,6 +27,11 @@ int main(int argc, char** argv)
|
||||
std::vector<std::string> params;
|
||||
for (int i = 0; i < argc; ++i)
|
||||
{
|
||||
if(strcmp("--ros-args", argv[i]) == 0)
|
||||
{
|
||||
argc = i;
|
||||
break;
|
||||
}
|
||||
params.emplace_back(std::string(argv[i]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user