Here 2 GPS UAVCAN Setup Info For Cube Autopilot ProfiCNC HEX Aero & Pixhawk
HTML-код
- Опубликовано: 20 авг 2024
- Showing you how to setup the Here 2 GPS on UAVCAN on the Cube Autopilot.
You can order this from www.3dxr.co.uk/
Settings you need to change is
CAN_P1_DRIVER to 1
GPS_TYPE to 9
NTF_LED_TYPES enable UAVCAN.
I would like to thank www.3dxr.co.uk for very Kindly sending this over to us to take a look at, if your looking to order the Herelink or Pixhawk or party for your drone plate do check them out.
Finally I have been asked for other ways for users to support and they are listed below too.
Support us on Patreon / madrc
Paypal Donate mad_rc@icloud.com
Above are some affiliate links to the products seen in this video and some trusted vendors. If you have found the video useful I would be grateful for your support by purchasing via these links, this ads no additional cost to you and it help us to keep making videos like this one. While we have now started to use RUclips advertising it’s you purchasing via these links that allows me to keep buying new products to talk to you about.
Having advertising income via RUclips and these links is the only way we fund the channel and like many of the other smaller RUclips creators we do not make a profit and all proceeds go back into making content to share with you.
Thank you for your support and again please do Subscribe, Like and Share.
#Herelink
#Hexaero
#TheCube
#Ardupilot
#Pixhawk
Thanks for another beaut. took a moment to realise it can't be connected via Mavlink if you want to use SLCan to upgrade. Same deal as RFD modules but once I realised that it was plane and simple. great vid and still relevant for Here3
Great! It works. It didn't work after doing the configurations but it did after the firmware updates. Cool
Always informative...thanks 🙏
Thank you for sharing this, your videos are very helpful!
thank you that was very helpful,keep the videos coming
Thanks :)
@@MadRC 8:07 You wouldn't have any tips for when clicking the SLCan Mode CAN1 button doesn't bring up the GPS information?
I also had my GPS brick and go to green LEDs after updating the bootloader and rebooting. If you disconnect the GPS from the cube, boot the cube normally, then start SLCan for the appropriate channel (1 or 2, depending which you plug your GPS in), and then plug the GPS in, it comes back up in the UAVCAN screen and you can update the firmware again. At least, that was my work around for a bricked GPS
Could you update this being that the firmware has changes significantly? Additionally, could you get into using multiple GPS's on the same aircraft?
Does this also apply to the HERE3 GPS unit ? Just picked one up for my Pixhawk Cube . Also , how are people mounting these to there fixed wings ? I see no mounts available.
Yes it does. I also have a video on the here 3 setting up ad well check that one out. It’s in the playlist.
Great video, I desperately needed to free up a serial port. Thank you. Do you have the pinouts for converting the six pin serial connector in the here 2 to the 4 pin CAN plug? It would be easiest for me just to change the 6 pin plug going into my GPS port on my PixHawk Cube to a four pin CAN plug. Thank you again.
You have to change the whole cable on the Here 2. It’s a separate one.
Hi Mad, congratulations on your videos, you put a lot of light on many interesting topics that are turned around in some confusing blogs.
In this video, you talk about taking into account the bad HDOP result with Canbus, does that mean we forget the gpshdop index? Should we sibir GPS_HDOP_GOOG to more than 140 so that the armed check does not detect it?
In my case, everything ok. configured and updated with your video, but I have the error of the prearm, High GPS HDOP, gives a measurement of 1.2 to 1.8 normally.
Thanks greetings
Really an awesome video ... Which can save an UART .. i have a small doubt ... With the conversion of GPS from UART to CAN .. is there any thing like the protocol speed is increased since the CAN bus is way faster than UART
It can be upto 10x faster than UART at 1000kbs
@@MadRC wow it's really cool and thank you boss for such good videos ... Even few months back i observed that switch but couldn't get any documentation.
So what's the advantage of using CAN over the regular method? Less wiring is nice but is that it?
The major benefit is moving away from the I2C on the compass line. It’s far from the ideal communication in a RF noisy environment like a drone. Secondly it frees up serial ports and CAN is more stable overall. It also means other hardware in the module can now be used all on the same data bus
Great video thank you. I’m getting PDOP 1.0 & HDOP 0.7 with my current settings via U-Centre. Do you think it can be improved with any other settings I may have overlooked?
Also I have x2 here2 GNSS modules. Is it worth using both with the same settings and blending them for better accuracy?
Many thanks
I tried to update the firmware on the Here 2 and seemed to have bricked it. I updated the bootloader, no issues, waited for sold green lights, rebooted, reconnected. But now when I try to go to SLCan Mode CAN 1 on Mission Planner nothing happens, no errors, I can't finish updating the firmware. Sold green lights still but is now totally useless. Any ideas?
Same with mine. What did you figure out? I believe mine is bricked. Bootloader process ran fine but I can't get into SLCcan mode again to run the firmware update.
try to go with SLCan Mode CAN 2
Your videos help out tremendously butvim confused still with arming...I have the pixhawk 2.1 cube black with the here2, I also have the safety switch installed on the fuselage. I was able to arm with safety switch but could not disarm by switch...I went in MP and changed parameters to arm with min throttle, rudder right...and min throttle, rudder left to disarm...but it still would not disarm
What am I not doing right?
By the way, my here2 works fine, 3d lock pretty quick
That’s odd, are you holding the button down to disarm ?
It should just work. Strange let me look at some of the prams
@@MadRC ...it works for arming if I set the parameters, but it will not disarm...I tried the rudder stick inputs, so arming works that way but will not disarm with rudder/yaw input...then I also reset the preflight check list with different parameters, but still could not disarm...this is actually the final piece to the puzzle for maiden...so im apprehensive about the maiden, too much invested now, and you look to be the best chance of figuring this out....I asked others that said to read the wiki, which I refer to for all my parameters settings....and thank you for your response sit!!
I was wondering, because as I said, you're the most knowledgeable about pixhawk and here2/3 ive seen on RUclips, and obviously a wizard with MP IMO...is it possible to send you screen shots or video of my dilemma for your review?
Hi, Where can I buy the CAN port cable? I am in the US. Also, how do you setup two GPS for redundancy? I am unable to find any documentation on that. Any help will be highly appreciated.
thanks for the video, I got a situation because I follow your steps until the bootloader firmware update, then with the solid green lights I rebooted the pixhawk and connect again but this time I have the solid green lights as you said but the Slcan mode don't recognize the GPS to update the other part of the firmware.
Could you help me to resolve this situation?
Thanks in advance
I have the same problem. did you solve it?
Thank you for the video! I have issues as to when performing the update and rebooting, entering back into UAVCAN through optional hardware doesn't seem to recognise the GPS again? thus I cannot upload the firmware after the bootloader nor can i enable the barometer. Is anyone else experiencing this? Thanks!
Thats odd, have you tried on the 4.0 Beta there is now or Master for Plane
@@MadRC Thank you for your response! I currently have Arduplane 4.0 uploaded onto the board. I am relatively new to mission planner but would i find these within custom firmware?
which can bus i must use on cube orange? Are they also confused and incorrectly labeled?
No cube Orange is correct. You can use either.
Other than freeing up the I2C port, are there any other benefits from changing to UAVCAN? Does this applies to GPS unit shipped with original Pixhawk 2.1?
Really it’s down to modern tech over older when your not concerned about freeing up ports. Right now both serial and CAN will do the same thing overall. If your GPS is capable of both id just use what is simpler for you. As we note forward CAN will become the standard as it has in automotive applications.
Mine was labeled gps. Is that just plug and play? Or would it benefit me to use can bus instead?
It’s down to you to choose. Canbus frees up an UART that can be used for other things. But you can still use UART and I2c if you wish.
Hi! Thanks a lot for this great video. Thanks to it, I managed to configure my cube to work with 2 GPS: one on I2C on GPS1 port, and the other one on CAN bus (I had to update my Cube Black to Copter 3.7 though, as the SL CAN mode to set manually the node ID never worked).
I have a couple of questions though: now with 2 Here2 GPS, I think I have 4 compasses (with 1 Here2, Mission Planner shows 3 compasses: 1 external and 2 internals). Is there a way to use the 4 compasses (and all the other sensors that come with the 2 Here2 GPS)?
If not, would you recommend to use 1 external and 2 internals, or the 2 external and only 1 internal ?
Thanks !
I would stick to a single external compass or two external ones, using the internal ones in frame are not ideal and can cause more issues that it’s worth. Best case use duel external mag, Iv not setup this my self and will look at doing a video on it actually as it’s a really interesting subject.
@@MadRC Thanks for your answer. I indeed wondered how I could make the best use of all the sensors I have having a Cube Black and 2 Here2 GPS.
@@MadRC Hey, as you might have seen in the Ardupilot forum, they told me that the max number of sensors is 3, and it makes no sense to use more. Also that the best configuration with 2 Here2 GPs is to use the 2 external compasses and 1 internal.
Can we inerface rangefinder and GPS and mutiple peripherals via CAN port using -ardupilot.org/copter/docs/common-avanon-laserint.html.As we know that GPS Compass Barometer
Rangefinder ADSB Receiver Power Module
LED Buzzer Airspeed
Safety Switch/LED are covered to be interface via CAN bus,could you suggest how do we only use CAN as our communication protocol and not use I2C at all.