Skip to content
Snippets Groups Projects
Commit 6802a04a authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[genutils] Added topic name to event name

parent 74425b02
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,7 @@ def parse_scxml(file): ...@@ -68,6 +68,7 @@ def parse_scxml(file):
(topic, event) = camel_case_to_underscores( (topic, event) = camel_case_to_underscores(
transition.attrib['event']).split('.') transition.attrib['event']).split('.')
topics.append(topic) topics.append(topic)
event = topic + "_" + event
else: else:
event = camel_case_to_underscores( event = camel_case_to_underscores(
transition.attrib['event']) transition.attrib['event'])
......
...@@ -57,9 +57,9 @@ public: ...@@ -57,9 +57,9 @@ public:
/** /**
* @brief Prepare the timer and sets the PWM output to the minimum. * @brief Prepare the timer and sets the PWM output to the minimum.
* *
* More specifically, the PWM output is prepared to be equal to minPulse bu * More specifically, the PWM output is prepared to be equal to minPulse but
* it is not enabled! After creating the object the PWM signal is not * it is not enabled! After creating the object the PWM signal is not
* active. This is to ensure * active. This is to ensure the servo motor doesn't move unexpectedly.
* *
* Note that the timer peripheral's clock is enabled automatically when the * Note that the timer peripheral's clock is enabled automatically when the
* PWM object is created. * PWM object is created.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment