Skip to content

Commit

Permalink
Correct node ids
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermedemouraa committed Jun 17, 2024
1 parent 8a0421c commit 0aeb7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/farm_ng/canbus/packet.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def __str__(self):


class BugDispenserRpdo1(Packet):
cob_id = 0x210
cob_id = 0x200

def __init__(self, rate1=0, direction1=0, rate2=0, direction2=0, rate3=0, direction3=0):
self.rate1 = rate1 & 0xFF
Expand Down Expand Up @@ -530,7 +530,7 @@ def __str__(self):


class BugDispenserTpdo1(Packet):
cob_id = 0x290
cob_id = 0x180

def __init__(
self, rate1=0, counter1=0, direction1=0, rate2=0, counter2=0, direction2=0, rate3=0, counter3=0, direction3=0
Expand Down

0 comments on commit 0aeb7fd

Please sign in to comment.