Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/panels/AntennaControlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ const AntennaControlPanel: React.FC = () => {
// Publish immediately, then every 100ms
const publishNow = () => {
const value = computeValue();
const status = enabled;
const manual_mode = !enabled;
antValTopicRef.current?.publish(new ROSLIB.Message({ data: value }));
antStatusTopicRef.current?.publish(new ROSLIB.Message({ data: status }));
antStatusTopicRef.current?.publish(new ROSLIB.Message({ data: manual_mode }));
};

publishNow();
Expand Down
Loading