File tree 2 files changed +3
-3
lines changed
src/Pages/Home/MealStates
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The overall user flow for this robot can be seen below.
14
14
- [ Node.js] ( https://nodejs.org/en/download/package-manager )
15
15
- [ ROS2 Humble] ( https://docs.ros.org/en/humble/Installation.html )
16
16
- [ PRL fork of rosbridge_suite] ( https://github.com/personalrobotics/rosbridge_suite ) . This fork enables rosbridge_suite to communicate with ROS2 actions.
17
- - [ ada_feeding (branch: amaln/add_ada_feeding_msgs )] ( https://github.com/personalrobotics/ada_feeding/tree/amaln/add_ada_feeding_msgs ) .
17
+ - [ ada_feeding (branch: ros2-devel )] ( https://github.com/personalrobotics/ada_feeding/tree/ros2-devel ) .
18
18
19
19
## Getting Started in Computer
20
20
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const MovingAbovePlate = (props) => {
53
53
let moveAbovePlateAction = useState ( createROSActionClient ( ros , actionName , messageType ) ) [ 0 ]
54
54
55
55
/**
56
- * Callback function for when the action setns feedback. It updates the
56
+ * Callback function for when the action sends feedback. It updates the
57
57
* actionStatus local state variable.
58
58
*
59
59
* @param {object } feedbackMsg - the feedback message sent by the action
@@ -177,8 +177,8 @@ const MovingAbovePlate = (props) => {
177
177
switch ( actionStatus . actionStatus ) {
178
178
case ROS_ACTION_STATUS_EXECUTE :
179
179
if ( actionStatus . feedback ) {
180
- let progress = 1 - actionStatus . feedback . motion_curr_distance / actionStatus . feedback . motion_initial_distance
181
180
if ( ! actionStatus . feedback . is_planning ) {
181
+ let progress = 1 - actionStatus . feedback . motion_curr_distance / actionStatus . feedback . motion_initial_distance
182
182
return (
183
183
< >
184
184
< h3 > Robot is moving...</ h3 >
You can’t perform that action at this time.
0 commit comments