mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 06:34:44 -05:00
fix: remove invalid battery subscription causing ROS Bridge error
The naoqi_bridge_msgs/BatteryState message type doesn't exist in the NAO6 ROS2 package, causing subscription errors. Removed the battery topic subscription for now. Battery info can be obtained through diagnostics or other means if needed in the future.
This commit is contained in:
@@ -246,10 +246,8 @@ export class WizardRosService extends EventEmitter {
|
||||
private subscribeToRobotTopics(): void {
|
||||
const topics = [
|
||||
{ topic: "/joint_states", type: "sensor_msgs/JointState" },
|
||||
{
|
||||
topic: "/naoqi_driver/battery",
|
||||
type: "naoqi_bridge_msgs/BatteryState",
|
||||
},
|
||||
// Battery topic removed - BatteryState message type doesn't exist in naoqi_bridge_msgs
|
||||
// Battery info can be obtained through diagnostics or other means if needed
|
||||
{ topic: "/naoqi_driver/bumper", type: "naoqi_bridge_msgs/Bumper" },
|
||||
{
|
||||
topic: "/naoqi_driver/hand_touch",
|
||||
|
||||
Reference in New Issue
Block a user