Pendant connection issue 08

  • What package and version are you using ?
    Dashboard firmware v0.1.9

  • Please, describe the issues you are seeing ?
    The pendant is having a connection issue “Pendant 08” and the Amiga cannot be controlled. The lights on the pendant blink on and off. Sometimes the Amiga boots up fine and can be controlled, then after around a minute the pendant issue appears. Other times the pendant issue appears immediately at start up. This issue appeared out the blue and I am unsure what initiated the problem.

Troubleshooting I have tried so far:

  • Disconnecting and reconnecting pendant (Amiga powered off)
  • Changing port the pendant is plugged into.
  • Disconnecting the brain and POE switch.

The intermittent time it takes for the issue to occur makes me think it may be a wiring problem?

Is there a temporary workaround so that the we can activate the auto control functionality on the dashboard and steer the Amiga with our RF remote control?

Thanks in advance!

Wesley


Hi @Wes , Thank you for your post. I have submitted a ticket for you regarding your issue. Our team will update you soon.

Farm-ng Support

Hi @Wes ,

Sorry to hear about the pendant issues. Someone from the hardware team (likely @Agustin or @TravisT ) will be reaching out soon to see whats going on and get that fixed or replaced.

In the meantime, a workaround to activate the auto control functionality should be fairly straightforward.

We have an example of this in a branch on the virtual joystick app.

Here we:

  1. Add a toggle button for turning the pendant override on / off
  2. Send 2 empty messages to the canbus in auto control message generator when the button is pressed. One message is for the pendant state and other for the pendant heartbeat.
for id in [0x18F, 0x70F]:
    yield canbus_pb2.SendCanbusMessageRequest(
        message=canbus_pb2.RawCanbusMessage(id=id, data=bytes(8))
    )

These will trick the dashboard into thinking the pendant is connected and allow your other auto control messages to take control of the dashboard.

Let me know if you have any issues integrating this into your auto control application.

– Kyle

Thanks for the quick response @kylecoble! I will give that a try and let you know if there are any issues.

Thanks Kyle. I implemented that code in the Virtual Joystick app and it works to successfully spoof the pendant status and allow the auto control to be activated.
Is it possible to send that can bus message through the feather microcontroller? We plan on conducting field image collection with a custom app on the Brain and so need to be able to navigate outside of the virtual joystick app while still being to stay in auto control mode and steer with our RF control. I know we can add that can bus message from our custom brain app, but ideally we would be able to send the can bus message from the feather so we can drive independent of the Brain.
Hopefully the pendant will be fixed before we need this workaround, but wanted to check with you so we are prepared for our image collection window.
The code we are running on the feather connected to the Amiga is from the FPV example in the Farm-ng SDK.

Hey @wes, absolutely that is possible.

You can add similar lines to the bottom of the send_command method:

Right after you send the rpdo1 command you can add something like:

for id in [0x18F, 0x70F]:
    self.can.send(canio.Message(id=id, data=bytes(8)))

I haven’t tested this yet, so please let me know if this gives you any trouble.

– Kyle

That works, thank you!

UPDATE. Pendant now does not light up at all and says message “Pendant 03” instead of the previous “Pendant 08”.

After it stopped working completely, I opened up the the pendant and it looks like the power/can wires from the Amiga could have touched and shorted. As pictured below there is exposed wire that could have touched when using the pendant. Particularly the pink and black wires (+ and - power?) look like they could have touched
When connected to the Amiga power, the component circled below gets very hot.

If I plug the pendant feather into computer USB-C power, it lights up and connects to the computer. However, the component circled below on the feather also starts to get very hot.
Feather