Skip to content

Added motor current panel - #82

Open
AhnafTK wants to merge 1 commit into
mainfrom
motor-current-panel
Open

AhnafTK wants to merge 1 commit into
mainfrom
motor-current-panel

Conversation

@AhnafTK

@AhnafTK AhnafTK commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@codeflight1 codeflight1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, we can test on-rover this Saturday

ros,
name: CURRENT_MOTORS[key].topic,
messageType: 'ros_phoenix/msg/MotorStatus',
throttle_rate: 100,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets remove this, the messages are already published at 10 hz and we don't want to introduce unnecessary delay

<button onClick={downloadPNG}>PNG</button>
</div>
</div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a couple extra blank lines in here that can be removed. The line above and the one below should also be indented by 2 more spaces.

Comment thread src/components/panels/MotorCurrentGraphPanel.tsx
return () => unsubscribers.forEach((unsub) => unsub());
}, [ros]);

const formatTime = (time: number) =>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The graph will be easier to read if this shows relative time (eg 30 sec) instead of absolute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants