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
- allow small positive initial penalties in ROS/ROS2
- ROS/ROS2 messages: using uint64 to avoid overflow
- update ROS2 test helpers to work reliably in micromamba/conda
- update the related docs and MATLAB examples
Copy file name to clipboardExpand all lines: docs/content/python-ros2.mdx
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,10 @@ OpEn can generate ready-to-use ROS2 packages directly from a parametric optimize
24
24
25
25
The input message matches the [ROS1 package documentation](./python-ros#messages). The ROS2 output message additionally includes `error_code` and `error_message` fields so that invalid requests and solver failures can be reported with more detail.
26
26
27
+
For scalar warm-starting, `initial_penalty` is used whenever it is strictly
28
+
greater than a small positive epsilon. If it is omitted, zero, or too close to
29
+
zero, the generated default initial penalty is used instead.
30
+
27
31
## Configuration Parameters
28
32
29
33
The configuration parameters are the same as in the [ROS1 package documentation](./python-ros#configuration-parameters): you can configure the node rate, the input topic name, and the output topic name.
@@ -203,10 +207,10 @@ solve_time_ms: 0.2175
203
207
uint8 STATUS_INVALID_REQUEST=5
204
208
205
209
float64[] solution # solution
206
-
uint8 inner_iterations # number of inner iterations
207
-
uint16 outer_iterations # number of outer iterations
210
+
uint64 inner_iterations # number of inner iterations
211
+
uint64 outer_iterations # number of outer iterations
208
212
uint8 status # coarse status code
209
-
int32 error_code # detailed error code (0 on success)
213
+
uint16 error_code # detailed error code (0 on success)
210
214
string error_message # detailed error message (empty on success)
211
215
float64 cost # cost value at solution
212
216
float64 norm_fpr # norm of FPR of last inner problem
0 commit comments