
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
mambo-angular-service
Advanced tools
Angular Service to control Parrot Mambo drone
First import MamboService
in your ngModule
then inject it in the component where you need to use it.
You can MamboService
to search for nearby drones. The search will pop up a search modal in the browser, allowing the user to select a device to connect to.
When that happens the search returns the connected drone.
this.mamboService.search().then(drone => this.drone = drone)
Then use drone's connect$
Observable to get notified when the connection has been fully established. Also the connect$
completion indicates that the connection has been terminated.
this.drone.connection$
.subscribe(
() => this.ready,
err => console.error('Something went wrong: ' + JSON.stringify(err)),
() => {
alert('Drone is no longer connected');
this.drone = null;
this.ready = false;
}
);
Once the drone is ready you can make the drone take off and land with the follownig calls:
this.drone.takeOff();
this.drone.land();
By default every 100ms the Drone object
sends flight parameters to the Mambo drone
. You can provide the flight params by using the following functions:
Please note that the values that are expected should be in a range from -1 to 1.
Just remember, if you set any of the flight params, the Drone object
will send this value to the Mambo drone
every 100ms, until you set it 0.
If you intend for the drone to fly forward for some time you can call it like this:
this.drone.setPitch(0.5);
setInterval(() => this.drone.setPitch(0), 500 );
search(): Promise
search
returns a promise with the selected Drone object.takeOff()
land()
updateFlightParams(roll: number, pitch: number, yaw: number, altitude: number)
setRoll(roll)
setPitch(pitch)
setYaw(yaw: number)
setAltitude(altitude)
setMaxAltitude(maxAltitude: number): Promise<any>
setMaxTilt(maxTilt: number): Promise<any>
setMaxVerticalSpeed(maxVerticalSpeed: number): Promise<any>
setMaxRotationSpeed(maxRotationSpeed: number): Promise<any>
fire()
FAQs
Angular Service to control Parrot Mambo drone
The npm package mambo-angular-service receives a total of 0 weekly downloads. As such, mambo-angular-service popularity was classified as not popular.
We found that mambo-angular-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.