You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
auto WebGUI_node = std::make_shared<WebGUINode>();
463
+
executor.add_node(WebGUI_node);
464
+
465
+
#ifdef USER_NODE
466
+
auto user_node = std::make_shared<UserNode>();
467
+
executor.add_node(user_node);
468
+
#else
469
+
std::thread user(exercise);
470
+
#endif
471
+
std::thread ros([&executor]{executor.spin();});
472
+
WebGUI();
473
+
474
+
#ifndef USER_NODE
475
+
user.join();
476
+
#endif
477
+
ros.join();
478
+
479
+
rclcpp::shutdown();
480
+
return 0;
481
+
}
482
+
```
483
+
484
+
- **package.xml**: Package description of the ROS package.
485
+
- **CMakeLists.txt**: needed for compilation of the ROS package.
486
+
- **libs/**: needed for storing the libraries for user access.
487
+
488
+
#### Source code: inside `cpp_lib`
489
+
406
490
**WORK IN PROGRESS**
407
491
492
+
This directory contains the source code for the C++ libraries WebGUI, HAL, Frequency and others.
493
+
494
+
It must contain:
495
+
496
+
- **src/**: contains the source code for at least HAL, WebGUI and Frequency.
497
+
- **include/**: contains the headers for the source code.
498
+
- **CMakeLists.txt**: needed for compilation of the libraries.
499
+
500
+
This directory will not be accesible to the user and will only be used to compile the libraries.
501
+
502
+
To do that compilation you must launch the **RADI** using Robotics Academy as a **volume** (it is recommende to use the developer script) using the next command (in Linux):
0 commit comments