mirror of
https://github.com/micro-ROS/micro-ROS-Agent.git
synced 2026-09-06 18:05:17 +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
ee955ed01e
commit
a8caaa1b72
@@ -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