Dexi node red ip problems

Hey I’m having trouble getting my dexi to inject the new code in my dexi it says there is an error with the ros2 service call I don’t know what’s wrong I have the write up in it as well

Can you double click the ros2 subscribe node and show us the websocket connection IP? Also, is your DEXI powered on and you’re connected to its network?


Yes the dexi wifi is connected and the drone is on

Has it ever worked for you? I’m wondering if there’s a network error or if it’s something on the software side. Are you able to access the DEXI dashboard by opening http://192.168.4.1 in your browser?

We are working on a new release that will include Node-RED on Pi, which may simplify things but need to test to make sure we don’t overload the system.

We are having the same problem. We are unable to open the DEXI Dashboard at 192.168.4.1 in the browser. This is our first time to try so it has never worked. This is what we are getting on the Docker logs.

It has not worked for us before as this is our first time I will see about the dashboard tomorrow

Thanks for the screenshot. If you cannot access the dashboard, and judging by your docker logs the necessary services are not running for Node-RED to work properly. I’m not sure if you have flashed your DEXI-OS image since you received it but you will need this image:

and here is a video explaining the process:

After you flash and boot the necessary services should come up. You should be able to see the dashboard at http://192.168.4.1 after connecting to the DEXI network and Node-RED should work. Let us know!

Hello,
I reflashed the SD card and went through the steps. I was able to to see the dashboard at 192.168.4.1 but node red still does not run. I looked under the service browser on the dashboard and I do not see any of the gpio files. What step did I miss?

Sorry for the hassle here. That should have worked. Next steps are to check if rosbridge (how we connect to Node-RED) and GPIO are enabled. A simple thing to do is ssh into your DEXI Pi and run the following to check for the rosbridge process:

ps wwaux | grep rosbridge

and

ps wwaux | grep gpio

To check for the gpio service. You can see my output here which shows the processes are running:

If you want to see where these are started we have them configured in the launch file:

That is located at:

~/dexi_ws/src/dexi/launch/dexi.launch.xml

You could also look inside that file to see if those nodes are set to true.

We put the new dexi os on our dexi and then it started taking 2+ minutes for the flight controller to boot up, we know it powered up because it gives the initial ESC beeps but not the flight controller part of it. After a while it does finally boot up. The flight controller also has a green light that flashes on occasion till it boots

Hi Dennis,

So last night, I decided to use my daughter’s Mac ( a non-district computer) to try to connect Node Red to the DEXI. It worked the first try. I had IT look at my computer to see what was blocking my connection. Now, I am finally able to connect to the DEXI to run my code. I am not sure what the problem was.

Thanks for your help.

Leslie

No problem, Leslie. Thanks for reporting back to us. If you are able to reproduce and pinpoint the issue please let us know.